This project has moved and is read-only. For the latest updates, please go here.

Default Operator Mappings

Feb 9, 2012 at 10:01 PM

by default a '=' is considered an assignment operator ExpressionType.Assign, my language is purely an expression evaluation language and i need '=' to be an ExpressionType.Equal. 

Is this possible without changing the interpreter assembly? (i.e. to be defined in the grammar)


Feb 9, 2012 at 11:03 PM

there is a method in grammar CreateRuntime - try playing with it. When default runtime is returned, try changing operator mappings