pegtastic 0.1.0

A simple Parsing Expression Grammar (PEG) parser generator.
Documentation
1
2
3
4
5
6
7
extern crate pegtastic;

pegtastic::parser!(grammar foo() for str {
    fn asdf() {} //~ ERROR expected one of "#", "crate", "pub", "rule", "use", "}"
});

fn main() {}