1 unstable release

0.1.0 Feb 16, 2023

#303 in Parser tooling

MIT license

300KB
6.5K SLoC

Peg Pack 📦

Versatile parser generator for PEG grammars

Peg Pack banner

Home | Guide | Reference

Features 💡

  • Grammars are defined with a Javascript DSL.
  • Parse binary files, use your own tokenizer, or skip tokenization entirely.
  • Customizable error handling and recovery.

Guide and examples 📖

Click here for detailed instructions.


lib.rs:

Peg Pack doesn't currently have a stable Rust API. Click here for instructions on using the CLI.

Dependencies

~4–14MB
~149K SLoC