[−][src]Crate dpr
For an introduction and context view, read...
A very basic example...
extern crate dpr; fn main() -> Result<(), dpr::Error> { let result = dpr::Peg::new( " main = char+ char = 'a' -> A / 'b' -> B / . ", ) .gen_rules()? .parse("aaacbbabdef")? .replace()? // ... ; println!("{:#?}", result); Ok(()) }
Please, read README.md for more context information
Structs
Peg | Peg type for fluent API |
Enums
Error | Errors for fluent API |
Functions
print_rules2parse_peg2 | A parser for the parser. |