https://github.com/guxingke/truffle-demo
graal truffle demo, simple calc impl.
https://github.com/guxingke/truffle-demo
graalvm lisp programming-language truffle
Last synced: 2 months ago
JSON representation
graal truffle demo, simple calc impl.
- Host: GitHub
- URL: https://github.com/guxingke/truffle-demo
- Owner: guxingke
- Created: 2018-11-16T08:25:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-16T08:26:00.000Z (over 6 years ago)
- Last Synced: 2025-01-22T19:47:57.833Z (4 months ago)
- Topics: graalvm, lisp, programming-language, truffle
- Language: Java
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Truffle demo
demo for graal truffle api, simple calc impl use lisp syntax.```clojure
(+ 1 2 3) => 6
(+ 1 (+ 2) (/ 2 1)) => 4
```## Dir simple
pure java impl## Dir Lang
truffle impl## PRE
- graalvm
- maven 3.3+## Build
```bash
mvn clean package
```## Note
just demo.## REF
- [Graal](https://github.com/oracle/graal)
- [SimpleLanguage](https://github.com/graalvm/simplelanguage)
- [Mumbler](https://github.com/cesquivias/mumbler)## License
MIT