Default Operator Mappings

Feb 9, 2012 at 9: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 10:03 PM

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