https://github.com/y2k/language
Embedded LISP with Interop
https://github.com/y2k/language
angstrom clojure compiler interpreter ocaml
Last synced: 5 months ago
JSON representation
Embedded LISP with Interop
- Host: GitHub
- URL: https://github.com/y2k/language
- Owner: y2k
- License: lgpl-3.0
- Created: 2020-06-07T17:30:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-05-06T16:52:50.000Z (8 months ago)
- Last Synced: 2025-05-06T17:49:37.624Z (8 months ago)
- Topics: angstrom, clojure, compiler, interpreter, ocaml
- Language: OCaml
- Homepage:
- Size: 758 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Embedded LISP with Interop
### Usage Examples
- https://github.com/y2k/compose_news
- https://github.com/y2k/declarative_ban_bot
- https://github.com/y2k/declarative_notify
- https://github.com/y2k/minesweeper
- https://github.com/y2k/relax_cats_bot
- https://github.com/y2k/charge_timer (compiled to Java for Android)
- https://github.com/y2k/finance_tracker/ (compiled to Java for Android)
### Compilation Platforms
- JS
- Java
- Interpreter
- "Bytecode" for JVM Interpreter
### Code Example
```clojure
(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")))
```