Taddeus Kroes
|
fdca04eac6
Added token with highest precedence for functions wih parentheses.
|
14 лет назад |
Sander Mathijs van Veen
|
6503a97a61
Solved preprocessor inserting multiplication signs in keywords.
|
14 лет назад |
Taddeus Kroes
|
60155fdc94
Moved division negation to nominator.
|
14 лет назад |
Sander Mathijs van Veen
|
1d21942339
Successfully rewriting of assignment 1 of leiden oefenopgaven.
|
14 лет назад |
Taddeus Kroes
|
1c68fcb3c6
Merged conflicts.
|
14 лет назад |
Sander Mathijs van Veen
|
1709f87203
Avoid an empty line when there are no possibilities to print.
|
14 лет назад |
Sander Mathijs van Veen
|
16a11f0f1b
Clear list of last possibilities when current expression has no possibilities.
|
14 лет назад |
Sander Mathijs van Veen
|
effcdda459
Fixed bug that printed the output twice after a rewrite operation.
|
14 лет назад |
Sander Mathijs van Veen
|
7ecb7c78c1
Print modifications done by hook_read_after() only once.
|
14 лет назад |
Sander Mathijs van Veen
|
80657ead6d
Only show possibilities when verbose mode is active.
|
14 лет назад |
Taddeus Kroes
|
04ecc8b946
Made 'words' variable static.
|
14 лет назад |
Taddeus Kroes
|
1e753b0b1f
Added PI to parser and Node stringification.
|
14 лет назад |
Taddeus Kroes
|
f319783e77
Removed prototype function grammar.
|
14 лет назад |
Taddeus Kroes
|
b9aea94e47
Merge branch 'function' of kompiler.org:trs into function
|
14 лет назад |
Taddeus Kroes
|
8c9a6c6ed8
Introduces FUNCTION token instead of seperate tokens for each function.
|
14 лет назад |
Taddeus Kroes
|
cc5d8f577e
Applied pep8.
|
14 лет назад |
Taddeus Kroes
|
95b0fc11f9
Switched precedence of power and functions, and added some unit tests for it (corresponding to WolframAlpha's output).
|
14 лет назад |
Sander Mathijs van Veen
|
62e32ad51f
Added support for function calls in parser.
|
14 лет назад |
Sander Mathijs van Veen
|
54eb9c5b8c
Merge branch 'negated'
|
14 лет назад |
Sander Mathijs van Veen
|
ff77c565f8
Filter all tokens dynamically instead of a predefined list.
|
14 лет назад |
Taddeus Kroes
|
a193b4c28d
Removed COMMA token from explicit lexing script (was elready in operator list).
|
14 лет назад |
Taddeus Kroes
|
1752a601a1
Started implementing function parsing.
|
14 лет назад |
Taddeus Kroes
|
84753e446b
Some syntaxis fixes (applied pep8).
|
14 лет назад |
Taddeus Kroes
|
540678134d
Moved token definitions to operator defs in node.py.
|
14 лет назад |
Sander Mathijs van Veen
|
e115283e5a
Avoid duplicated matches by calling only OP_NEG handlers.
|
14 лет назад |
Sander Mathijs van Veen
|
6303fe2982
Removed disabled subtree_map implementation.
|
14 лет назад |
Sander Mathijs van Veen
|
564c751bbe
Removed subtree_map and fixed almost all unit tests.
|
14 лет назад |
Sander Mathijs van Veen
|
53f649a7ab
Parser will add negation to left-most child of scope.
|
14 лет назад |
Sander Mathijs van Veen
|
037b682172
Fixed negation assertion bug.
|
14 лет назад |
Sander Mathijs van Veen
|
76b7149de4
Trying to fix the negation AssertionError (work in progress).
|
14 лет назад |