I had a draft proposal somewhat based on DWARF for extending the existing 
source map format to encode scopes and bindings[0]. I also had an initial 
reference implementation[1]. To make source maps actually usable for large 
compilations (such as those generated by emscripten), there will need to be 
a new compact, binary encoding rather than the existing text encoding.

I don't plan on running with this any further in the foreseeable future, 
but hopefully it is helpful for others.

Cheers,

Nick

[0] Draft proposal: 
https://github.com/fitzgen/source-map-rfc/blob/scopes-and-bindings/proposals/env.md

[1] The branch of my fork of mozilla/source-map with the initial 
implementation: https://github.com/fitzgen/source-map/tree/scopes

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to