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

no-std gramma

Generate a scannerless parser by declaring types

22 releases

new 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

#48 in Parser tooling

Download history 16/week @ 2024-02-08 170/week @ 2024-02-15 558/week @ 2024-02-22 36/week @ 2024-02-29 15/week @ 2024-03-07 25/week @ 2024-03-14 75/week @ 2024-03-21 541/week @ 2024-03-28 284/week @ 2024-04-04 136/week @ 2024-04-11 48/week @ 2024-04-18 234/week @ 2024-04-25

788 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