Measures Concepts
GitHub icon

Grammar

Grammar - Grammar language

< >

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

Source code:
git clone https://github.com/breck7/jtree
#651on PLDB 7Years 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
Enums ✓
boolCell
 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 · Day 605 · feedback@pldb.io · Logout