Question , is there a plugin for any text editor like ACE to generate autocomplete based on jison rules?
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. :)
[0] http://ternjs.net/doc/demo.html [1] https://www.npmjs.com/package/acorn
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.