pest is a grammar language created in 2018 by DragoÈ™ Tiselice.
#1167on PLDB | 7Years Old |
git clone https://github.com/pest-parser/pest
pest is a general purpose parser written in Rust with a focus on accessibility, correctness, and performance.
alpha = { 'a'..'z' | 'A'..'Z' }
digit = { '0'..'9' }
ident = { (alpha | digit)+ }
ident_list = _{ !digit ~ ident ~ (" " ~ ident)+ }
// ^
// ident_list rule is silent (produces no tokens or error reports)
Feature | Supported | Example | Token |
---|---|---|---|
Comments | ✓ | // A comment |