Cool, nice work Nicola and Alex! Ambrose
On Thu, Nov 21, 2013 at 2:16 PM, Nicola Mometto <brobro...@gmail.com> wrote: > > https://github.com/clojure/tools.reader > > Changelog: > https://github.com/clojure/tools.reader/blob/master/CHANGELOG.md > > Leiningen dependency information: [org.clojure/tools.reader "0.8.0"] > > While the releases I made on the last months contained mainly small > bugfixes and enhancements needed specifically for better integration in > clojurescript, this one contains a more interesting enhancement. > > Thanks to the awesome work by Alex Redington, tools.reader now provides > richer informations regarding the forms it is reading in the form of > attached metadata; specifically it now adds end-line/end-column metadata > information as opposed to only line/column info and can optionally > keep source information. > > To see it in action: > clojure.tools.reader> (meta (read (source-logging-push-back-reader "[^:foo > bar]"))) > {:end-column 12, :end-line 1, :column 1, :line 1, :source "[^:foo bar]"} > clojure.tools.reader> (meta (first (read (source-logging-push-back-reader > "[^:foo bar]")))) > {:foo true, :end-column 11, :end-line 1, :column 8, :line 1, :source > "^:foo bar"} > > Nicola > > -- > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.