Operator-precedence parser: Difference between revisions

Content deleted Content added
Alternatives to Dijkstra's Algorithm: single-quoted the shell argument string since the backslash was confusing
Alternatives to Dijkstra's Algorithm: oops, reverted previous change, which prevents shell from doing the tokenization
Line 102:
Invoke it as: <pre>
$ cc -o parenthesise parenthesise.c
$ ./parenthesise 'a \* b + c ^ d / e'
((((a))*((b)))+(((c)^(d))/((e))))
</pre>