https://github.com/borkdude/trickle-playground
A Truffle Clojure Interpreter (playground)
https://github.com/borkdude/trickle-playground
Last synced: 3 months ago
JSON representation
A Truffle Clojure Interpreter (playground)
- Host: GitHub
- URL: https://github.com/borkdude/trickle-playground
- Owner: borkdude
- Created: 2021-05-15T15:45:03.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-15T21:14:12.000Z (over 4 years ago)
- Last Synced: 2025-03-31T08:51:14.025Z (10 months ago)
- Language: Java
- Homepage:
- Size: 10.7 KB
- Stars: 12
- Watchers: 3
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Trickle
A Truffle Clojure Interpreter (playground).
Currently just playing around to learn more about Truffle. It might turn into
something more useful in the future, but no promises!
## Build
Prerequisites:
- [babashka](https://github.com/babashka/babashka#installation)
- [GraalVM](https://www.graalvm.org/)
- Set `GRAALVM_HOME` to the GraalVM home dir, e.g. `/Users/borkdude/Downloads/graalvm-ce-java11-21.1.0/Contents/Home`.
- Set `JAVA_CMD` to `$GRAALVM_HOME/bin/java` to use GraalVM for Java and Clojure compilation.
Then run `bb tasks` to see what you can do in this project:
``` text
The following tasks are available:
compile-java Compiles Java sources
compile-main Compiles trickle.main
run-main Runs main
native-image Builds native image
clean Removes classes and target dir
```
## License
Copyright © 2021 Michiel Borkent
Distributed under the EPL License. See LICENSE.