Nov. 16, 2012
10:46 p.m.
On Nov 16, 2012, at 7:44 PM, Marcus Denker <marcus.denker@inria.fr> wrote:
On Nov 16, 2012, at 7:30 PM, Stéphane Ducasse <stephane.ducasse@inria.fr> 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
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