Not aware of one based on jison. There is Tern [0], which is based on acorn [1] by the same author. (Sorry if you knew about this already, but others may be interested).
That would be my #1 desired feature to add to this app - syntax highlighting for the Jison grammar.
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. :)
I'm currently maintaining a custom PEGjs grammar along with a custom CodeMirror mode for syntax highlighting and autocomplete.
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.
5 comments
[ 2.6 ms ] story [ 24.6 ms ] thread[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.