today I started to "play" with Xtext 2.
Seems to be very very good.
My first try is to extend xBase by adding own literals and functions.
But I absolutely have no idea cause I immediately get
"Cannot add supertype 'xxx' to sealed type 'XExpression'."
whenever I try to override something.
Can somebody please give me a hint how to start.
I tried something like:
XDecimalLiteral returns XExpression :
and I want to integrate that:
but got "Cannot add supertype 'XLiteral' to sealed type 'XExpression'."
[Updated on: Wed, 06 April 2011 07:40]
Report message to a moderator