Crate pest_generator

source ·
Expand description

pest generator

This crate generates code from ASTs (which is used in the pest_derive crate).

Functions

Processes the derive/proc macro input and generates the corresponding parser based on the parsed grammar. If include_grammar is set to true, it’ll generate an explicit “include_str” statement (done in pest_derive, but turned off in the local bootstrap).