PLDB
Languages Features Calendar CSV Lists Blog About Donate Add Language
GitHub icon

Grammar

< >

Grammar is a grammar language created in 2017 by Breck Yunits.

#881on PLDB 6Years Old 388Users
0Books 0Papers

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 catchAllNodeType anyNode anyNode baseNodeType blobNode

Language features

Feature Supported Token Example
Enums
boolCell
 enum true false
Variable Substitution Syntax X
hyperscript-lang.html · grammar.html · wasp-lang.html

View source

PLDB - Build the next great programming language · v2023 · Day 153 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com