Parce is a parser and lexer generator, where the grammar and the parse tree are the same data structure. It is similar to ANTLR, but the grammar is written in Rust code, not a special DSL.
*
, +
, and ?
{n}
(exactly n), {n,}
(n or more), and {n,m}
(between n and m inclusive) <- ANTLR doesn't have those :)If you find a bug or want a new feature, please create an issue or pull request on GitHub!
License: MIT OR Apache-2.0