On Nov 16, 2012, at 7:44 PM, Marcus Denker <[email protected]> wrote:
> > On Nov 16, 2012, at 7:30 PM, Stéphane Ducasse <[email protected]> > wrote: > >> I really like the idea of the errorNode. >> > > This is needed to replace the ad-hoc parser that is in the syntax > highlighting. > With the error nodes, we can just use the same parser and implement syntax > highlighting as a normal visitor on the standard AST. > > See > > http://code.google.com/p/pharo/issues/detail?id=6893 > With the error node, it would even be possible to generate code for faulty methods, raising the syntax error again at runtime ;-) Marcus -- Marcus Denker -- http://marcusdenker.de
