Skip to content

y2k/language

Repository files navigation

Embedded LISP with Interop

Usage Examples

Compilation Platforms

  • JS
  • Java
  • Interpreter
  • "Bytecode" for JVM Interpreter

Code Example

(ns app
 (:import [android.widget Toast]
 	        [android.content Context])

(defn- show [^Context context ^String text]
  (.show
    (Toast/makeText context text Toast.LENGTH_LONG)))

(defn main [^Context context]
  (show context "Hello World")))