Open JonnyWalker opened 10 years ago
functionexpressions can be f(x), f~(x), {(x->y)}(x) proj1(S,T)(x) ect. If testing reveals that the first AST node must not be an id in all cases, this is also a bug.
helper.py and interpreter.py is affected. Both assume that the first child node is the function name
also fix pretty printer (func expr)
functionexpressions can be f(x), f~(x), {(x->y)}(x) proj1(S,T)(x) ect. If testing reveals that the first AST node must not be an id in all cases, this is also a bug.