Re: Runtime Compilation of Clojure from Android

2009-06-18 Thread George Jahad
On Jun 18, 7:05 am, Marklar wrote: > I tried the second apk and it works perfectly. Nice job! > Cool, thanks. > My phone is a retail G1 with the JesusFreak 1.51 image. The menu I was > referring to was the menu of the terminal application from which I was > using telnet. You mean you are usin

Re: Runtime Compilation of Clojure from Android

2009-06-18 Thread Marklar
I tried the second apk and it works perfectly. Nice job! My phone is a retail G1 with the JesusFreak 1.51 image. The menu I was referring to was the menu of the terminal application from which I was using telnet. Let me know if you'd like to investigate why the first one wasn't working, I'd be ab

Re: Runtime Compilation of Clojure from Android

2009-06-17 Thread George Jahad
Odd, it does work on my rooted G1, (an Android Developer Phone.) Remco, does it work for you, either on the emulator or the G1? What you are seeing indicates that run-time compilation isn't working at all for you. (Self-evalution of numbers and strings from the repl don't require compilation, a

Re: Runtime Compilation of Clojure from Android

2009-06-17 Thread George Jahad
Odd, it does work on my rooted G1, (an Android Developer Phone.) Remco, does it work for you, either on the emulator or the G1? What you are seeing indicates that run-time compilation isn't working at all for you. (Self-evalution of numbers and strings from the repl don't require compilation, a

Re: Runtime Compilation of Clojure from Android

2009-06-17 Thread George Jahad
Odd, it does work on my rooted G1, (an Android Developer Phone.) Remco, does it work for you, either on the emulator or the G1? What you are seeing indicates that run-time compilation isn't working at all for you. (Self-evalution of numbers and strings from the repl don't require compilation, a

Re: Runtime Compilation of Clojure from Android

2009-06-17 Thread Marklar
Very nice, thanks for sharing. I tried the first version you posted on my rooted G1. It could evaluate strings and numbers, but unfortunately when I tried to create a function it didn't do anything. It just stopped, though the activity was still responding (the menu worked, etc). I looked at logc

Re: Runtime Compilation of Clojure from Android

2009-06-16 Thread George Jahad
On Jun 16, 3:15 am, "Remco van 't Veer" wrote: > Cool!  Please share the code on github or whatever. > ok, I've forked your clojure tree and added my patches here: http://github.com/GeorgeJahad/clojure/tree/master The main changes are in Compiler.java, with a few in build.xml and main.clj. N

Re: Runtime Compilation of Clojure from Android

2009-06-16 Thread George Jahad
I'm still cleaning up my changes. But with regards to the repl, I'm just using clojure.contrib.server-socket and invoking it like so from the :create routine: (create-repl-server 8030) (repl) On Jun 16, 12:28 am, rb wrote: > On Jun 16, 5:51 am, George Jahad wrote: > > > > > Remco va

Re: Runtime Compilation of Clojure from Android

2009-06-16 Thread George Jahad
On Jun 16, 3:15 am, "Remco van 't Veer" wrote: > Cool!  Please share the code on github or whatever. > working on it. > I've been looking at reducing the memory footprint so I tend to > consider including dex into your app as a bad thing.  But it would be > really cool to do the slime dance d

Re: Runtime Compilation of Clojure from Android

2009-06-16 Thread Remco van 't Veer
Cool! Please share the code on github or whatever. I've been looking at reducing the memory footprint so I tend to consider including dex into your app as a bad thing. But it would be really cool to do the slime dance during development. I guess a more efficient approach lures in the bsh imple

Re: Runtime Compilation of Clojure from Android

2009-06-16 Thread rb
On Jun 16, 5:51 am, George Jahad wrote: > Remco van't Veer has done a lot of great working porting Clojure to > Android, but one thing remains missing, runtime compilation which > would allow a fully functional Repl.  The problem is that the Android > VM doesn't use standard Java class files bu

Runtime Compilation of Clojure from Android

2009-06-15 Thread George Jahad
Remco van't Veer has done a lot of great working porting Clojure to Android, but one thing remains missing, runtime compilation which would allow a fully functional Repl. The problem is that the Android VM doesn't use standard Java class files but rather Android specific ones. There is a host-si