Crate ripeg

source · []
Expand description

ripeg. Incremental packrat Parsing Expression Grammar in Rust.

ripeg is a general purpose parser written in Rust, with a focus on accessibility, correctness, and performance. It uses parsing expression grammar (or PEG) as input, which are similar in spirit to regular expressions, but which offers the enhanced expressivity needed to parse complex languages. Its incremental packrat parsing (optionnal) feature makes it very suitable for IDEs. Regular expressions support is not planned.

Getting started

The recommanded way to start parsing with ripeg is to read the official book

Other helpful resources:

Modules

charset module provides data types and methods for managing sets of characters.

isa provides types for all instructions of ripeg VM. aka Instruction Set Architecture.