Source maps (was: Multiline Strings)

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


On Wed, Mar 12, 2014 at 2:00 PM, Nick Fitzgerald <fitzgen at gmail.com> 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:
>  http://fitzgeraldnick.com/weblog/55/
>
> _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?

Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140312/d65151ab/attachment.html>


More information about the es-discuss mailing list