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

#434 in Rust patterns

Download history 1566/week @ 2023-06-06 1594/week @ 2023-06-13 1832/week @ 2023-06-20 1685/week @ 2023-06-27 1841/week @ 2023-07-04 1816/week @ 2023-07-11 1567/week @ 2023-07-18 1641/week @ 2023-07-25 1598/week @ 2023-08-01 1389/week @ 2023-08-08 1723/week @ 2023-08-15 1887/week @ 2023-08-22 2059/week @ 2023-08-29 2423/week @ 2023-09-05 2192/week @ 2023-09-12 2330/week @ 2023-09-19

9,408 downloads per month
Used in ungrammar2json

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