Source maps (was: Multiline Strings)

joe joeedh at
Wed Mar 12 17:58:02 PDT 2014

On Wed, Mar 12, 2014 at 2:00 PM, Nick Fitzgerald <fitzgen at> wrote:

> If a debug format for targeting JavaScript were to be standardized, it
> should do more than simply file/line/column translation. My thoughts
> on this subject outgrew an email reply, so I have collected them here:
> _Nick_

Your AST annotation idea is interesting.  How would it work?  Would the
sourcemaps contain the full AST themselves, or just paths?  I assume the
AST tree would be based on ECMAScript's grammar, but that begs the question
of how do you deal with language extensions.

Or would the sourcemaps contain their own AST definitions?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list