On Sat Apr 14 16:39 2012, Jim - FooBar(); wrote: > good stuff...can i ask something completely irrelevant? is there any > chance the clojure repl for android will ever get support for loading > external libraries?
Yes, there is. I have not forgotten about the REPL, and there are many updates that I would like to apply to it. For example, in addition to loading scripts, there is converting the core of the REPL to an Android service (so it won't get killed off), and perhaps saving the output of the REPL session. The main problem for me, unfortunately, is a lack of time. I have way too many projects going on at the moment. In the meantime, I have written about a way to load arbitrary scripts into the REPL, but that's not quite the same thng as being able to support libraries. If you haven't seen it, it's available at <http://www.deepbluelambda.org/programs/clojure-repl/clojure-repl-tip--loading-scripts>. > also i run a tiny genetic algorithm on it only showed all the output > at the end of the simulation rather than going one step at a time. is > this expected? I think so. The processing all occurs in a background thread and the output from the REPL is dumped into a string. It's a lot trickier to show output as it is generated, as that would require not just getting the result of the input, but also coordinating what output has been produced and what has been consumed. Sincerely, Daniel
signature.asc
Description: Digital signature