Announcing a new version of zprint, the Clojure source and data formatting 
tool (pretty-printer) which will format code and data for maximum visual 
clarity.   

You can get it here:

https://github.com/kkinnear/zprint

New features:

   1.  A native-image version of the zprint-filter, which takes Clojure 
   source on stdin and produces formatted Clojure source on stdout.  *It 
   starts in <55ms on an old MacBook Air* (faster than node.js), and runs 
   much faster than the JVM.  See 
   https://github.com/kkinnear/zprint/blob/master/doc/graalvm.md for 
   details.  
   2. :max-length and :max-depth are now fully supported, and :max-length 
   will also accept a vector of lengths, where the position in the vector 
   indicates max-length for that depth. For example {:max-length [100 5 2 0]} 
   would show you 100 of the top level things, 5 of each of those, 2 of each 
   of those, and nothing below that.  Useful for getting an overview of a 
   complex data structure.
   3. For repl use and lein-zprint, multithreaded operation is now on by 
   default, yielding up to a 20% real-time performance improvement.
   4. End-of-line (inline) comments are now kept as inline comments.  
   Optionally, of course, but on by default.
   5. There is a style just for spec files {:style :spec}, which does a 
   fine job on specs.  Though it does a pretty nice job without any guidance 
   at all.

But the big deal is the startup speed with a native image.  Really quite 
amazing.


-- 
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/d/optout.

Reply via email to