Use the [tatsu] tag for all questions related to the TatSu or Grako parser generators.
TatSu (the successor to Grako) is a tool that takes grammars in a variation of EBNF as input, and outputs memoizing (Packrat) PEG parsers in Python.
TatSu can also compile a grammar stored in a string into a
tatsu.grammars.Grammar
object that can be used to parse any given
input, much like the re
module does with regular expressions.