Treetop is a Ruby parser generator for PEG grammars.
PEG (Parsing Expression Grammar) is a powerful top-down / recursive descent parsing strategy. That allow simpler more natural grammars than LL(k). Although potentially less efficient that LL(k) parsers, PEG grammar make easier to write the parser than using LL(k) grammars.
Treetop generate packrat Ruby parsers for PEG grammars.
What kind of question should have this tag?
- Question about Treetop grammar construction
- Question about Treetop APIs
- etc.