The cl-format library now implements the full* Common Lisp spec for
format (* = with the exception of a couple of things used by the
internals of the CL pretty printer).

So if you prefer the Lisp style of formatting to the Java style, you
should be good to go.

cl-format is hosted on github at http://github.com/tomfaulhaber/cl-format.
There's a nice long README on the home page there that will tell you
more about what it is and what it does. Being github, the source is
also there for everybody's enjoyment.

The easiest way to install cl-format is just to grab the the jar from
github: http://github.com/tomfaulhaber/cl-format/raw/master/cl-format.jar.
Just add that to your classpath and you'll be formatting away in no
time.

There are a few short examples at
http://github.com/tomfaulhaber/cl-format/tree/master/com/infolace/format/examples
which you can peruse.

This is a "Clojure-friendly" implementation: written from scratch and
published under the EPL. So it can go anywhere Clojure can go. But,
because it's from scratch, it's likely to have some bugs. If you find
one, let me know.

Next, I'll take a swing at pretty printing.

Enjoy!

Tom
--~--~---------~--~----~------------~-------~--~----~
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
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