-
- Downloads
Significantly improved the parser.
- Thought over and reconfigured precedences. These are now also synchronized with precedences in the line printer. - The subscript operator ("_") has been added to the grammar similarly to exponentiation ("^"). This resolved some issues with the use of operators in integral bounds. - Unary negation now has a higher precedence, but the parser moves negations up in the tree as far as possible (within the bounds of correctness and without causing cycles during reduction). - All unit tests have been updated using the new syntax. - graph_drawing has been updated to include the new syntax of the line printer.
Showing
- external/graph_drawing 1 addition, 1 deletionexternal/graph_drawing
- src/node.py 104 additions, 67 deletionssrc/node.py
- src/parser.py 139 additions, 98 deletionssrc/parser.py
- src/possibilities.py 18 additions, 3 deletionssrc/possibilities.py
- src/rules/__init__.py 2 additions, 1 deletionsrc/rules/__init__.py
- src/rules/derivatives.py 1 addition, 3 deletionssrc/rules/derivatives.py
- src/rules/factors.py 2 additions, 2 deletionssrc/rules/factors.py
- src/rules/logarithmic.py 1 addition, 1 deletionsrc/rules/logarithmic.py
- src/rules/numerics.py 2 additions, 10 deletionssrc/rules/numerics.py
- src/rules/precedences.py 13 additions, 3 deletionssrc/rules/precedences.py
- tests/parser.py 1 addition, 2 deletionstests/parser.py
- tests/test_b1_ch10.py 1 addition, 1 deletiontests/test_b1_ch10.py
- tests/test_leiden_oefenopgave.py 68 additions, 65 deletionstests/test_leiden_oefenopgave.py
- tests/test_leiden_oefenopgave_v12.py 33 additions, 46 deletionstests/test_leiden_oefenopgave_v12.py
- tests/test_node.py 10 additions, 16 deletionstests/test_node.py
- tests/test_parser.py 9 additions, 11 deletionstests/test_parser.py
- tests/test_possibilities.py 4 additions, 21 deletionstests/test_possibilities.py
- tests/test_rules_derivatives.py 58 additions, 58 deletionstests/test_rules_derivatives.py
- tests/test_rules_fractions.py 7 additions, 7 deletionstests/test_rules_fractions.py
- tests/test_rules_goniometry.py 7 additions, 7 deletionstests/test_rules_goniometry.py
Loading
Please register or sign in to comment