Just a quick post to announce that my Clojure REPL is now officially in ‘beta’. This new release includes some key usability enhancements:
- It is now possible to click on historical input and have it be inserted into the entry field.
- If an exception occurs while processing input, the entry field text is retained.
- Focus automatically shifts back to the entry field after evaluation.
This does not make entering new input any easier, but should nonetheless help make things more pleasant.
Of course, this release also includes the minor enhancements from the silent ‘alpha2’ release from yesterday:
- Shorten the time from the end of the load animation to the display of the REPL
- Removal of some dead or unusable code, including the
- Add Clojure sources so the
sourcemacro now works
I will be presenting the Clojure REPL at the Clojure Houston User Group (CHUG) meeting this coming Thursday, the 24th of February. I will post more details about this later. Join the mailing list for the latest information.
This weekend, I plan to publish the next post in the ‘Creating Android applications with Clojure’ series, which will focus on using ProGuard.
I am also planning to release all of the Clojure REPL source code in the next week or so.
No trackbacks, yet.
http://www.deepbluelambda.org/programming/clojure/clojure-repl-for-android-now-in-beta.trackback. Note that trackbacks are subject to moderation.
On Saturday, 19 Feb 2011 21:21, dang wrote the following:
Really really really excited about the Clojure REPL. If it's not part of your Creating series, it would be wonderful if you could cover some beginner basics about the REPL. Specifically I'd like to know how to save the environment (if possible) and how to get Vimclojure working.
On Sunday, 20 Feb 2011 08:14, Daniel Solano Gómez wrote the following:
I am glad to hear you are excited about the REPL. Naturally, so am I.
I do plan on adding some help to the REPL. In the meantime, it's not possible to save the environment. You can connect to VimClojure server in one of two ways:
1. Directly over wi-fi by telling your client to connect to your device's IP address and the default port (2113).
2. If you have the SDK installed and have your device connected via USB, you can run 'adb forward tcp:2113 tcp:2113', which will forward your client's connections from localhost to your device.
On Wednesday, 23 Feb 2011 11:43, Nick Bauman wrote the following:
LOVE the idea of a Clojure repl on my Nexus One. Downloaded it but I get a StackOverflowError when I try a simple for macro call:
(for [x (range 5) y (range 5)] [x y])
Interestingly it seems like shrinking the range down to 1 works. Is the REPL just running in too tight a vm do do any real work?
Thanks for making this possible. It's awesome. VERY COOL!
On Wednesday, 23 Feb 2011 15:02, Daniel Solano Gómez wrote the following:
Yes, I tried that and got the same error. I am thinking that the expansion of the macro is a bit too complex for the compiler given the limitations of the platform. I haven't run into it otherwise.
I am guessing the code would just run just fine if AOT-compiled.