Here is my syntax:
syntax Binary(expression, operator)
= e:expression => e
| e1:expression o:operator e:Binary(expression, operator)
=> BinaryExpression[Left[e1], Operator[o], Right[e]];
When calling it you might have something like this:
syntax BinaryLogicalExpression
= b:Binary(BinaryEqualityOperatorsExpression, BooleanLogicalOperators)
=> b;
But b is resulting in the node named:
Binary(MetaSharp.CodeDom.BinaryEqualityOperatorsExpression,MetaSharp.CodeDom.BooleanLogicalOperators)[
BinaryExpression[
Left[...],
Operator[...],
Right[...]
]
]
When what I really want is just:
BinaryExpression[
Left[...],
Operator[...],
Right[...]
]
This was working in CTP1 but is suddenly now not working in CTP2... how can I strip of the name of the function and just get what it is returning?