F
Francis Moreau
Hello,
I would be interested see some piece of C code that parses arithmetic
expressions.
For example, the parser could parse : "(2+3) / 10 - 4" (respecting the
precedence of each operators) and outputs the result.
I know I can simply use yacc/bison to achieve this goal, but I'm not
really interested in it.
Could anybody point out some code ?
Thanks
I would be interested see some piece of C code that parses arithmetic
expressions.
For example, the parser could parse : "(2+3) / 10 - 4" (respecting the
precedence of each operators) and outputs the result.
I know I can simply use yacc/bison to achieve this goal, but I'm not
really interested in it.
Could anybody point out some code ?
Thanks