> The first step would be just to get the compiler to emit an optional 
source map.

That's definitely the first step! After that, there's going to need to be 
some way to serve those source maps via HTTP upon request from the browser.

However, there's a first step to the first step: Getting column data. The 
reader currently seems to only produce a :line key in the metadata map.

> Bonus points if we can merge source maps from the ClojureScript compiler 
and Closure advanced compilation.

Could you please clarify? Do you mean for multi-level mapping?

See the "Multi-level Mapping Notes" section in the v3 spec:
https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?hl=en_US&pli=1&pli=1

It seems like once they agree upon a header (as opposed to the javascript 
comment syntax) this would also be useful for providing pre-macro-expansion 
vs post-macro-expansion source maps.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to