Let's stop parser Hell
Jacob Carlborg
doob at me.com
Wed Aug 1 01:35:34 PDT 2012
On 2012-08-01 07:44, Philippe Sigaud wrote:
> Does syntax highlighting need more that a token stream? Without having
> thought a lot about it, it seems to me IDE tend to highlight based
> just on the token type, not on a parse tree. So that means your lexer
> can be used directly by interested people, that's nice.
Some IDE's do a more advanced syntax highlighting based on the semantic
analysis. For example, Eclipse highlights instance variables differently.
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list