Re: Syntax-based highlighting modes

2013-06-06 Thread Jean-Philippe Bernardy
My opinion is that the parsers should be written using a more robust approach to incrementality, namely that I've developed for this purpose and described here www.cse.chalmers.se/~bernardy/PP.pdf (I developed the current version; the problem with it is that it requires inhumane skill to constr

Syntax-based highlighting modes

2013-06-06 Thread tristan
I love the idea of yi and decided to try to make a syntax-based highlighting mode for it. I started with HTML since that should be easy; my efforts are on github: https://github.com/travitch/yi/blob/html-mode/yi/src/library/Yi/Syntax/HTML.hs I plan on setting up tag matching to highlight bad