Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (15 sloc) 462 Bytes
# EBNF of LLL grammar format in LLL notation
specification : rule+;
rule : ident ":" disjunction ";";
disjunction : {conjunction "|"};
conjunction : term+;
term : basis repetition?;
basis : ident
| literal
| "%epsilon"
| alternation
| group
;
repetition : "+" | "*" | "?";
alternation : "{" basis basis "}" repetition;
group : "(" disjunction ")" ;