Browsable baby Grammar
Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: toy/metrics/baby/extracted
Source used for this grammar: Vadim Zaytsev, “Baby” grammar generator, baby.py
, 200?
Summary
- Total 1 production rules with 1 top alternatives and 3 symbols.
- Vocabulary: 2 = 1 nonterminals + 1 terminals + 0 labels + 0 markers.
- Total 1 nonterminal symbols: 1 defined (
foo
), 1 root (foo
), 0 top (—), 0 bottom (—). - Total 1 terminal symbols: 1 keywords ("bar"), 0 letters (—), 0 numerics (—), 0 signs (—).
Syntax
foo ::=
"bar"