emscripten-core / emscripten

Emscripten: An LLVM-to-WebAssembly Compiler
Other
25.37k stars 3.25k forks source link

Lets work together on source maps standardization #22060

Open nicolo-ribaudo opened 4 weeks ago

nicolo-ribaudo commented 4 weeks ago

Hi :)

We recently started an effort with authors of multiple source-map related tools (e.g. JavaScript transpilers, browser devtools, error logging products). This is happening in https://github.com/tc39/source-map, under the TC39 umbrella. Our goal is to make sure that every tool agrees on how source maps work to ensure maximal compatibility, and to develop new features to improve the debugging experience.

While source maps are also used for compile-to-webassembly programming languages, we don't have a lot of representation from this type of tools in our group. I know that emscripten supports generating source maps: would any maintainer be interested in working with us?

(You can also contact me hello[at]nicr.dev)

kripken commented 4 weeks ago

Thanks for the heads up @nicolo-ribaudo ! I've done some of the work on source maps in Emscripten and Binaryen, and I'd be interested in future developments in that spec. I'll try to keep updated on that repo, and feel free to cc me if there are specific conversations you'd like wasm (and to some extent JS) toolchain feedback on.