vihaco-parser 0.1.1

Derive macro (#[derive(Parse)]) that generates chumsky parsers for vihaco syntax types.
Documentation
1
2
3
4
5
6
7
use vihaco_parser::Parse;
#[derive(Parse)]
enum Bad {
    Foo(f64),     // token "foo"
    Foobar(f64),  // token "foobar" — "foo" is prefix of "foobar", "foo" declared first — error
}
fn main() {}