Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Sign Up
Dashboard
Clojure Design
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
Colour
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Undo
Redo
Keyboard Shortcuts Help
<h1>Problem</h1><p>The Clojure and ClojureScript readers do not currently track the column number when reading forms, only line numbers.</p><pre>((juxt :line :column) (meta #'identity)) => [1351 nil]</pre><p>Several components could be improved by tracking column information:</p><ul><li>Compiler error messages</li><li>Tooling, such as SLIME or IDEs (consider jump-to-definition)</li></ul><p>However, the key motivator is <a href="http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/">Source Maps</a> for ClojureScript. The development tools in modern browsers have growing support for graphical debugging of machine generated code. This is relevant for minified JavaScript, but it's also intended for use with multi-stage transformations, such as CoffeeScript/GWT/ClojureScript -> Unoptimized Javascript -> Google Closure Compiler -> Final JavaScript</p><h1>Solution</h1><p>Patches Clojure's LispReader and other components of the compiler: <a href="http://dev.clojure.org/jira/browse/CLJ-960">http://dev.clojure.org/jira/browse/CLJ-960</a></p><p>ClojureScript's reader will need a similar patch, but that's not required to enable SourceMaps.</p>
Attachments
Labels
Location
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced