#parser-generator #grammar #declaring #declarative #define #generate #type

no-std gramma

Generate a scannerless parser by declaring types

20 releases

0.2.19 Apr 12, 2024
0.2.18 Apr 4, 2024
0.2.13 Mar 28, 2024
0.2.10 Feb 23, 2024
0.1.1 Feb 10, 2021

#46 in Parser tooling

Download history 18/week @ 2024-02-09 370/week @ 2024-02-16 363/week @ 2024-02-23 31/week @ 2024-03-01 14/week @ 2024-03-08 24/week @ 2024-03-15 235/week @ 2024-03-22 479/week @ 2024-03-29 191/week @ 2024-04-05 132/week @ 2024-04-12 47/week @ 2024-04-19

1,009 downloads per month
Used in 2 crates (via mintyml)

MIT license

180KB
5.5K SLoC

gramma is a declarative parser generator for Rust that allows you to define context-free grammars by declaring the types they parse into.

Documentation is incomplete but can be found at docs.rs.

Dependencies

~2.3–3.5MB
~59K SLoC