Expand description
§Usage
mo come in two flavors: binary or crate (library)
For a basic/medium/advanced usage of the binary/library, please see the Readme.
§Frequently Asked Questions? (FAQ)
See the Readme.
§I just want to see how this code works
Please see first the Readme. Well if you really want to see the code, go ahead
Re-exports§
Modules§
Functions§
- compile_
grammar - Compile a grammar string and creates a
HashMapwith rules found as keys and their components (AST) as entries - parallel_
generate_ examples - Generate a number of examples with the grammar,start rule and config provided
- parallel_
generate_ save_ examples - Generate and save a number of examples with the grammar,start rule and config provided
- parse_
input - Parse input with the provided grammar and start rule returns
Okif the parse is sucessfull,Errotherwise