tyaslab / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Add Clojure support #598

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Clojure users would like to have it !

LotREPLs works with other languages that SL4A supports now.

http://lotrepls.appspot.com/

http://clojure.org/

Original issue reported on code.google.com by tomcatalbino on 12 Feb 2012 at 4:15

GoogleCodeExporter commented 9 years ago
This information would help a little.
The JVM jar REPL command in "clojure 1.3.0" was like this.
>java -cp clojure-1.3.0-slim.jar clojure.main hello.clj

I tried to convert the jar to the dalvik(dx) jar but I didn't success.
I think It has to be recompiled or needs more changes.

Original comment by tomcatalbino on 12 Feb 2012 at 4:26

GoogleCodeExporter commented 9 years ago
The hello.clj would be like this.

(println "Hello, Clojure!")

Original comment by tomcatalbino on 12 Feb 2012 at 4:31

GoogleCodeExporter commented 9 years ago
This information might be a hint.

To Install Clojure for Android.

~$ cd ~/opt

~$ git clone git://github.com/remvee/clojure.git clojure-android

~$ cd clojure-android

~$ ant

Original comment by tomcatalbino on 14 Feb 2012 at 4:32