[antlr-interest] Evaluation boolean expressions
John B. Brodie
jbb at acm.org
Wed Jul 27 06:37:39 PDT 2005
>thanks anyway (your answer explains me why it doesn't work).
you are welcome.
>But I'm a little bit confused : does it worth using ANTL if such a simple
>algorithm is so hard to develop?
where is it written that (correct, complete) expression evaulation is easy?
>Or can't ANTLR evaluates such simple expression as (4 + (5*2) > 15) OR (4>1)
erm, did you try my suggested atom rule?
I guess I wasn't really much help to you after all, sorry.
More information about the antlr-interest