Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 600 Bytes

README.mkd

File metadata and controls

26 lines (15 loc) · 600 Bytes

cljs-android

This is the necessary tooling to run ClojureScript as an SL4A application on Android devices

Longer term goals include:

  • Better wrapping of the Android RPC layer
  • Fully implemented in ClojureScript

Usage

Compile with script/compile and place the resulting script in SL4A's scripts directory

Example

(defn ^:export greet[]
  (let [droid (Android.)]
    (.makeToast droid "Hello World")))
(greet)   

License

Copyright (C) 2011 Paul deGrandis

Distributed under the Eclipse Public License, the same as Clojure. (Which is compatible with Apache 2)