Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [xtext-dev] Xtext does not parse all LL(*) grammars, does it?

sorry, "rule rulerules_s" instead of "rule ruleassignment_expression"

On 2 June 2012 16:04, Oleg Bolshakov <viona31@xxxxxxxxx> wrote:
There is a LL(*) grammar from here: www.antlr.org/wiki/display/~admin/LL%28*%29+grammar+analysis

Model:
(elem=rules_s);

rules_s :
rule_e 'X'
| rule_e 'Y'
;

rule_e : 'L' rule_e 'R'
| 'I'
;

Xtext posts this error message when generating workflow:
"rule ruleassignment_expression has non-LL(*) decision due to recursive rule invocations reachable from alts 1,2"

What is the reason? Xtext does not parse all LL(*) grammars, does it?


Back to the top