Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

pest

< >

pest is a grammar language created in 2018 by DragoÈ™ Tiselice.

#1167on PLDB 7Years Old
Download source code:
git clone https://github.com/pest-parser/pest
Homepage · REPL · Source Code · Docs

pest is a general purpose parser written in Rust with a focus on accessibility, correctness, and performance.


Example from the web:
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)

Language features

Feature Supported Example Token
Comments ✓ // A comment

- Build the next great programming language · Add · Add Prompt · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v175.2.1