mvel/mvel — pull request #26 by mariofusco (2011-10-11 22:12:25+00:00)
Title: checks expression syntax and returns correct type

I found that in many cases expressions syntax is not exhaustively checked. For example expression like:
stringField == 3
or even
intField == 3 || stringField
are analyzed without raising any error. Moreover the returned type of the expression is often not correct, so an expression like:
intField == 3
currently is reported to have a returned type Integer instead of Boolean as expected.
This pull request should fix these problems.