3 ms·
Jison
- yan 16y agoFYI: This is what CoffeeScript uses.
- shawndumas 16y agoAnd Orderly[1] too... [1]http://github.com/zaach/orderly.js http://github.com/zaach/orderly.js
- jashkenas 16y agoHere's a link to CoffeeScript's Jison grammar. It's written in a small inline DSL (the "o" business at the top of the file) that makes it a little bit cleaner to add rules. http://jashkenas.github.com/coffee-script/documentation/docs/grammar.html http://jashkenas.github.com/coffee-script/documentation/docs...
- alttab 16y agoI may want to write a more BASIC scripting language that falls back into Javascript APIs so that IT professionals can write plugins without having to know Javascript to do it. This looks like it was the key I was looking for. How similar is this to ANTLR - which is my only implementation experience with context-free grammars (although I've studied formal languages in uni)?
- wooby 16y agoA friend and I have a WIP lisp compiler targeting JS that uses this http://github.com/alandipert/pantless http://github.com/alandipert/pantless