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

#298 in Rust patterns

Download history 6860/week @ 2024-06-03 7183/week @ 2024-06-10 7240/week @ 2024-06-17 7115/week @ 2024-06-24 6319/week @ 2024-07-01 6617/week @ 2024-07-08 7481/week @ 2024-07-15 6788/week @ 2024-07-22 6976/week @ 2024-07-29 6919/week @ 2024-08-05 6732/week @ 2024-08-12 6868/week @ 2024-08-19 6973/week @ 2024-08-26 6961/week @ 2024-09-02 6317/week @ 2024-09-09 6514/week @ 2024-09-16

27,877 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