Module peg

Module peg 

Source
Expand description

Module with functions to generate rules from PEG grammar

Modules§

gcode
Generate source code from a set of rules
peg2code
Here it’s the peg grammar to parse the peg input ;-P

Enums§

Error
Most of peg functions will return a result with this type on Error side

Functions§

rules_from_peg
Given a peg set of rules on an string, it will generate the set of rules to use in the parser

Type Aliases§

Result
Most of functions on peg module, will return a set of rules or an error