36 stable releases

1.16.1 Mar 5, 2022
1.15.0 Jan 31, 2022
1.14.9 Oct 19, 2021
1.14.2 Jul 17, 2021
0.1.0 Jul 29, 2020

#454 in Rust patterns

Download history 4795/week @ 2023-12-14 3709/week @ 2023-12-21 3002/week @ 2023-12-28 4109/week @ 2024-01-04 3771/week @ 2024-01-11 3947/week @ 2024-01-18 3695/week @ 2024-01-25 3703/week @ 2024-02-01 4779/week @ 2024-02-08 4360/week @ 2024-02-15 4066/week @ 2024-02-22 4282/week @ 2024-02-29 4258/week @ 2024-03-07 4568/week @ 2024-03-14 5319/week @ 2024-03-21 4933/week @ 2024-03-28

19,749 downloads per month
Used in 3 crates

MIT/Apache

16KB
444 lines

ungrammar

A DSL for specifying concrete syntax trees.

See the blog post for an introduction.

See ./rust.ungram for an example.

Editor support


lib.rs:

Ungrammar -- a DSL for specifying concrete syntax tree grammar.

Producing a parser is an explicit non-goal -- it's ok for this grammar to be ambiguous, non LL, non LR, etc.

See this introductory post for details.

No runtime deps