Expression Evaluator

Apr 29, 2010 at 4:14 PM

Hi,
what's the reason for that ExpressionEvaluator evaluates
x = 1 + 2 * 3 * 5
as 35 instead of 31?

I'm not adept in compilers (LALR grammars).

Thanks
Mike

Coordinator
Apr 29, 2010 at 5:22 PM

Ooopsssss!!!! This is certainly a bug, I guess operator precedence rules are not applied correctly. I'm wondering how nobody noticed it before. Will be fixing it asap

Roman

Coordinator
May 2, 2010 at 12:44 AM
Edited May 2, 2010 at 5:20 AM

Fixed. 

- thanks again

May 2, 2010 at 11:27 AM

Thanks go to you. For quick fix. I make use of Irony in my masters thesis and I'm pressed for time. :-)