Browsable LLL Grammar

CC-BY

Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: §wip/metasyntax/lll-kort/extracted
Source used for this grammar: Jan Kort, The LLL grammar format, May 2003, GDK Reference Manual, Chapter 3, page 3

Summary

Syntax

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 ")"

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []