hhu-stups / pyB

pyB
6 stars 0 forks source link

Write more ParallelSubstitution test with functions #25

Open JonnyWalker opened 10 years ago

JonnyWalker commented 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.

JonnyWalker commented 10 years ago

helper.py and interpreter.py is affected. Both assume that the first child node is the function name

JonnyWalker commented 10 years ago

also fix pretty printer (func expr)