if (reverse):
# Recursive right to left, bottom up. Simulate LR reductions.
for n in reversed(node):
subresults.append(inner_call_actions(n))
subresults.reverse()
else:
for n in (node):
subresults.append(inner_call_actions(n))
in this case, definig the attributes (like "domain") in the same line and using them in the "plot" is only possible in a non-reversed execution. also, coincidentially, then the "draw" directive will be called last allowing for actually executing the completely assembled plot-code.
Description
for some uses, a non-reversing actions execution can be of good use. i propose to extend the definition:
...
Usecase
text to be parsed (here a tikz example)
in this case, definig the attributes (like "domain") in the same line and using them in the "plot" is only possible in a non-reversed execution. also, coincidentially, then the "draw" directive will be called last allowing for actually executing the completely assembled plot-code.