Loner Demo

Jump to syntax guide

Epsilon: ε

Computation Result
Formatted Output
LL(1)
Scala Representation

Syntax

Item Syntax
Comment # at the beginning of a line
Grammar Rule; Rule; ...
Rule Nonterminal ::= Expression
Nonterminal Any characters in angle brackets: <Characters>
Expression
  • (Expression)
  • Expression Expression
  • Expression | Expression
  • Option
  • Repetition
  • Terminal
Option = (exp|ε) [Expression]
Repetition {Expression}
Terminal Any characters in single-quotes, or the special value ε (empty string)