Parsing/Shunting-yard algorithm: Difference between revisions
m
→{{header|Phix}}: no_empty now defaults to true
Alextretyak (talk | contribs) (Added 11l) |
m (→{{header|Phix}}: no_empty now defaults to true) |
||
Line 3,383:
string res = "", sep = "", top
sequence stack = {}
sequence ops = split(substitute_all(infix,{"(",")"},{" ( "," ) "}),' '
printf(1,"Infix input: %-30s%s", {infix,iff(show_workings?'\n':'\t')})
for i=1 to length(ops) do
|