Skip to main content

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

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