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

no-std gramma

Generate a scannerless parser by declaring types

22 releases

0.2.21 Apr 29, 2024
0.2.20 Apr 28, 2024
0.2.13 Mar 28, 2024
0.2.10 Feb 23, 2024
0.1.1 Feb 10, 2021

#53 in Parser tooling

Download history 13/week @ 2024-02-06 128/week @ 2024-02-13 559/week @ 2024-02-20 79/week @ 2024-02-27 10/week @ 2024-03-05 31/week @ 2024-03-12 289/week @ 2024-03-26 599/week @ 2024-04-02 144/week @ 2024-04-09 25/week @ 2024-04-16 231/week @ 2024-04-23 84/week @ 2024-04-30

498 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.2–3.5MB
~57K SLoC