Questions Concepts
GitHub icon


Grammar - Grammar language

< >

Grammar is an open source grammar language created in 2017 by Breck Yunits.

Source code:
git clone
#650on PLDB 6Years Old

Try now: Web

Grammar is a Tree Language for creating new Tree Languages. By creating a grammar file you get a parser, a type checker, syntax highlighting, autocomplete, a compiler, and interpreter for executing your new language. Grammar uses both postfix and prefix language features.

Example from the web:
latinNode root catchAllParser anyNode anyNode baseParser blobNode

Language features

Feature Supported Token Example
 enum true false
Variable Substitution Syntax X

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Traffic · Traffic Today · Day 305 · · Logout