Source Map Standard

Mark S. Miller erights at google.com
Wed Apr 11 16:30:13 PDT 2012


Hi Joey,

I'm very glad to see this and I think it should be standardized by TC39.
However, it should not be standardized as "part of the language", and so
would result in a document distinct from Ecma 262. A good model is the way
the internationalization track is proceeding.

Rather than create an entire new track just for source maps, I think this
goes hand in hand with the need to standardize a debugging API. I suggest
both be bundled into one new track.


On Wed, Apr 11, 2012 at 11:11 AM, Joey Schorr <jschorr at gmail.com> wrote:

> Greetings ES Discuss!
>
> We (Joey Schorr and John Lenz, CCed) are some of the authors of the source
> map specification that is now implemented by WebKit and Firefox, as well as
> a number of compilers (Closure Compiler, GWT and soon CoffeeScript). Given
> that the specification is becoming a de-facto standard for mapping of code
> which is compiled to JS, we were curious if there was any interest in
> making it an actual standard under TC39. The current specification can be
> found here:
> https://docs.google.com/a/google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit,
> with a number of contributions from all the various parties involved.
>
> Thanks!
> Joey Schorr
>
> Additional information:
>
> Firefox implementation: https://github.com/mozilla/source-map
> WebKit implementation:
> http://code.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/inspector/front-end/CompilerSourceMapping.js
> Tutorial for Chrome:
> http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>


-- 
    Cheers,
    --MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120411/d4baad38/attachment.html>


More information about the es-discuss mailing list