Hello everybody, I ran across a nice feature the Firefox and Webkit developers are currently working on: the possibility of mapping the javascript source code executed by the VM and another file of source code, for example written in clojurescript or coffeescript. This feature is already implemented as a Firefox extension (closure inspector) that reads a mapping file generated by the google closure library.
Given the closure library can already create the mapping file between the javascript it compiles from and its result, how hard do you think it would be to generate the first part of the mapping: between the .cljs input file and the javascript generated by the ClojureScript compiler ? If you want to read more about this feature, here are some links: The implementation plan of the Firefox team: https://wiki.mozilla.org/DevTools/Features/SourceMap The corresponding ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=618650 A description of the mapping format: https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit?pli=1 The ticket open on the Webkit bugtracker: https://bugs.webkit.org/show_bug.cgi?id=63940 Sincerely. -- Thomas CORDIVAL +33 6 64 30 76 93 -- 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