| Xtext and left recursive [message #981724] |
Mon, 12 November 2012 11:46  |
|
Goodevening all,
today is my first day working with Xtext. I'm trying to write a small grammar and I've got a problem with Left Recursive in one of my Rule.
I have to define ArithmeticExpression, and I use this statement:
ArithmeticExpression:
term1=ArithmeticExpression ArithmeticOperator term2=ArithmeticExpression | Term | '(' ArithmeticExpression ')'
;
Where is final (Varible or Constant).
How can I resolve it?
Very thank you for help.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01822 seconds