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

no-std gramma

Generate a scannerless parser by declaring types

25 releases

0.2.24 May 28, 2024
0.2.23 May 21, 2024
0.2.21 Apr 29, 2024
0.2.13 Mar 28, 2024
0.1.1 Feb 10, 2021

#49 in Parser tooling

Download history 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 52/week @ 2024-04-19 261/week @ 2024-04-26 22/week @ 2024-05-03 340/week @ 2024-05-17 166/week @ 2024-05-24 25/week @ 2024-05-31 14/week @ 2024-06-07 5/week @ 2024-06-14

56 downloads per month
Used in 2 crates (via mintyml)

MIT license

185KB
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