Yet Another REPL

I uploaded a GUI repl to the group files earlier this year, and I've
been updating it as Clojure has evolved. A new version has been
uploaded (tested with SVN 1162) http://clojure.googlegroups.com/web/repl.clj
,
and I've also uploaded a couple of pictures,
http://clojure.googlegroups.com/web/gui-repl-demo-1.PNG ,
http://clojure.googlegroups.com/web/gui-repl-demo-2.PNG. The second
picture shows a recent improvement to the way multimethods are
presented in the namespace tree.

The repl can be run as a script (using clojure.lang.Script). It
expects to find the clojure source (core.clj, set.clj, etc) on the
classpath, and starts by loading these into a Swing JTree. The source
is currently still in clojure.jar as generated by ant, so the
following should work (assuming you have a classes directory where
repl.clj resides):
  java -cp clojure.jar;./classes clojure.lang.Script ./classes/
repl.clj

Basic paren, bracket and brace highlighting is provided. I find the
namespace tree very helpful for browsing source, and I think the new
handling of multimethods will be helpful also.






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