Show HN: Jison Debugger – A visual editor for JavaScript parsers and lexers
nolanlawson.github.io
nolanlawson.github.io
[0] http://ternjs.net/doc/demo.html [1] https://www.npmjs.com/package/acorn
Since CoffeeScript and Handlebars are written in Jison, you'd think someone would have done this already, but I couldn't wrap my head around the Ace highlighter implementation for those languages. It didn't seem to be as simple as "plug in this Jison grammar and get a highlighter." If that were the case, it would be easy, because Jison itself is written in Jison. :)
This would be a dream if happened (with PEGjs and CodeMirror instead of Jison and ACE), but it is probably too difficult. I think it is easier to write a new Javascript text editor which bases itself on PEGjs.