https://github.com/maxmindlin/rsmonkey
Rust implementation of the Monkey programming language
https://github.com/maxmindlin/rsmonkey
monkey programming-language rust
Last synced: 6 months ago
JSON representation
Rust implementation of the Monkey programming language
- Host: GitHub
- URL: https://github.com/maxmindlin/rsmonkey
- Owner: maxmindlin
- License: mit
- Created: 2021-03-17T02:03:17.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-17T02:06:20.000Z (almost 5 years ago)
- Last Synced: 2025-03-27T09:46:41.344Z (10 months ago)
- Topics: monkey, programming-language, rust
- Language: Rust
- Homepage:
- Size: 3.52 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
RSMonkey is a rust implementation of the monkey language, as outlined in the [interpreter book, by Thornsten Ball](https://interpreterbook.com/).
Example Monkey snippet:
```
let fnTable = {
"addOne": fn (x) { x + 1 }
};
let y = fnTable["addOne"](5);
puts(y) // => 6
```