https://github.com/marioariasc/langur
A Scala implementation of the Monkey Language
https://github.com/marioariasc/langur
monkey monkey-language scala3
Last synced: 5 months ago
JSON representation
A Scala implementation of the Monkey Language
- Host: GitHub
- URL: https://github.com/marioariasc/langur
- Owner: MarioAriasC
- License: apache-2.0
- Created: 2022-01-30T14:28:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-04T08:10:11.000Z (about 3 years ago)
- Last Synced: 2024-12-01T10:42:53.542Z (5 months ago)
- Topics: monkey, monkey-language, scala3
- Language: Scala
- Homepage:
- Size: 89.8 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Langur
A Scala 3 implementation of the [Monkey Language](https://monkeylang.org/)
Langur has 3 sibling implementations:
* [Kotlin](https://github.com/MarioAriasC/monkey.kt)
* [Go](https://github.com/MarioAriasC/monkey)
* [Crystal](https://github.com/MarioAriasC/monyet)## Status
The two books ([Writing An Interpreter In Go](https://interpreterbook.com/)
and [Writing A Compiler in Go](https://compilerbook.com/)) are implemented.## Commands
| Script | Description |
|----------------------------------|--------------------------------------------------------------------------------------------------------------|
| [`tests.sh`](tests.sh) | Run all the tests |
| [`build.sh`](build.sh) | Release build |
| [`benchmarks.sh`](benchmarks.sh) | Run the classic monkey benchmark (`fibonacci(35)`), requires one command (`eval`,`eval-fast`,`vm`,`vm-fast`)) |
| [`repl.sh`](repl.sh) | Run the Langur REPL |