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

#301 in Rust patterns

Download history 8915/week @ 2024-10-28 7898/week @ 2024-11-04 6966/week @ 2024-11-11 7318/week @ 2024-11-18 7077/week @ 2024-11-25 8447/week @ 2024-12-02 8157/week @ 2024-12-09 7880/week @ 2024-12-16 5932/week @ 2024-12-23 8605/week @ 2024-12-30 9104/week @ 2025-01-06 10288/week @ 2025-01-13 9631/week @ 2025-01-20 11112/week @ 2025-01-27 9464/week @ 2025-02-03 11182/week @ 2025-02-10

42,932 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