Interesting comment on this very issue and some of the benefits of 2 phase .
http://compilers.iecc.com/comparch/article/94-10-101 it boils down to how have languages who have a single phase done rather than how badly some languages who have 2 phases have done. Ben On Sat, Sep 6, 2014 at 1:56 PM, Gabriel Dos Reis < [email protected]> wrote: > > I think it is a good question to ask: after more than half century of > formal grammar theory and practice and parser generator experience, how > important is it really *in practice* to have the token stream vs. parse > tree/AST distinction? Note that I appreciate the intellectual appeal -- I > am just asking from the _practice_ point of view. > I don't want my syntax colorizer to colorize keywords; I want it to > colorize based on meaning, e.g. semantics of program fragments. > >
_______________________________________________ bitc-dev mailing list [email protected] http://www.coyotos.org/mailman/listinfo/bitc-dev
