https://github.com/benzap/djinn
Subset of clojure in clojure for portable and sandboxed execution
https://github.com/benzap/djinn
clojure clojurescript scripting
Last synced: 3 months ago
JSON representation
Subset of clojure in clojure for portable and sandboxed execution
- Host: GitHub
- URL: https://github.com/benzap/djinn
- Owner: benzap
- License: epl-1.0
- Created: 2018-12-13T03:27:27.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-03-25T00:32:14.000Z (over 6 years ago)
- Last Synced: 2025-03-15T03:42:08.281Z (3 months ago)
- Topics: clojure, clojurescript, scripting
- Language: Clojure
- Homepage:
- Size: 35.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# djinn - Subset of clojure as a scripting language
The answer to using a subset of clojure within a natively compiled
clojure application.*djinn is early alpha, and is not fully functional*
## Example
```clojure
(require '[djinn.core :as djinn])
(djinn/eval
(def x 10)
(defn hello [x] (println "Hello " x "!") :done)
(hello "djinn")) ;; => :done
;; : Hello djinn!\n
```