|
|
1.1 root 1: procedure fix(exp)
2: while exp ?:= 2(="(",tab(bal(')')),pos(-1))
3: return lassoc(exp,'+-' | '*/') | rassoc(exp,'^') |
4: func(exp) | exp
5: end
6:
7: procedure func(exp)
8: return exp ? tab(upto('(') + 1) || fix(tab(-1)) || tab(0)
9: end
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.