On Jul 6, 2011, at 12:55 PM, Oliver Hunt wrote:

> I have a vague recollection that the SM parser strips out some characters 
> prior to
> parsing (brendan?)

Nothing is stripped other than space (including comments).


> and generates bytecode into the ast (though based on dherman's
> comments maybe that's no longer the case)

Not for many, many years.

Your points are well-taken. A standard AST reflection library is a very dark 
horse at this point. Better to build parsers that suit tools' needs, including 
comment preservation, etc.

/be
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to