| Features | - parser combinators composed as plain functions, without macros
- compiles parsers into binary-matching function clauses
- no runtime dependency on NimbleParsec in the generated code
- defparsec and defparsecp to emit public or private parsers
- primitives for building higher-level combinators
| - Parser combinators as functions, macros and traits
- Binary and text format parsing
- Streaming parsers for network formats and huge files
- Programming language parsers
- Zero-copy: returns slices of the input
- no_std builds, with or without an allocator
| - Generates Go parsers from .peg grammar files
- Packrat parsing with backtracking and negative look-ahead
- Go code actions inside the grammar
- Runs as a go tool from go generate
- Inline and switch code generation options
|