Open pdaian opened 11 years ago
CodeMirror has an easy way to define custom syntax highlighting and indentation rules, written in JavaScript. Looking to vim kframework syntax file, it looks like K syntax is not very complicated, so I think it wouldn't be that hard to just write a new syntax file for CodeMirror in JavaScript(or CoffeeScript).
I'm not sure if using emacs rules directly without writing an elisp interpreter is possible.
Investigate possible syntax highlighting using emacs rules for K.