peg 0.8.6

A simple Parsing Expression Grammar (PEG) parser generator.
Documentation
1
2
3
4
5
6
// We allow macro expansion to handle incomplete rules so rust-analyzer can complete a return type, but it should not compile
peg::parser!(grammar test() for str {
    rule test()
});

fn main() {}