This project is read-only.
Simple expression evaluator

The simple expression evaluator project is the implementation of an simple expression evaluator written in c# that is used to evaluate defined rules against objects. For further description please see the two post in my blog http://netmatze.wordpress.com/2013/03/04/implementing-expression-evaluator-in-c/ and http://netmatze.wordpress.com/2013/03/04/building-a-rule-engine-in-c-part-4-extending-the-rule-engine-to-evaluate-defined-expressions/. simpe expression evaluator supports the following operations:
  • open bracket '(' and close bracket ')'
  • addition '+'
  • subtraction '-'
  • multiblication '*'
  • division '/'
  • modulo '%'
  • equality '='
  • unequality '!='
  • bigger than '>'
  • bigger than or equal '>='
  • smaller than '<'
  • smaller than or equal '<='
  • logical and '&&'
  • logical or '||'

and the following data types:
  • integer '10'
  • double '10.2'
  • string '"test"'
  • boolean 'true' or 'false'

Last edited Mar 5, 2013 at 8:35 PM by netmatze, version 6