Re:The Definitive Guide to Syntax Highlighting
by seanmcdirmid on Sunday September 28, 2014 @05:23AM
(#8379303)
Parsing is easy to do incrementally, but you could get there just by matching braces. I think Python-like offside rules are better for highlight purposes, however; e.g. see:
http://research.microsoft.com/en-us/projects/liveprogramming...