https://github.com/marioariasc/bruno
An implementation of the Monkey language in Python
https://github.com/marioariasc/bruno
monkey monkey-language python
Last synced: 5 months ago
JSON representation
An implementation of the Monkey language in Python
- Host: GitHub
- URL: https://github.com/marioariasc/bruno
- Owner: MarioAriasC
- License: apache-2.0
- Created: 2022-05-02T02:46:54.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T08:44:47.000Z (9 months ago)
- Last Synced: 2024-12-01T10:42:50.723Z (5 months ago)
- Topics: monkey, monkey-language, python
- Language: Python
- Homepage:
- Size: 52.7 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bruno
[Python 3.10](https://www.python.org/) implementation of
the [Monkey Language](https://monkeylang.org/)Bruno has many sibling implementations
* Kotlin: [monkey.kt](https://github.com/MarioAriasC/monkey.kt)
* Crystal: [Monyet](https://github.com/MarioAriasC/monyet)
* Scala 3: [Langur](https://github.com/MarioAriasC/langur)
* Ruby 3: [Pepa](https://github.com/MarioAriasC/pepa)## Status
The book ([Writing An Interpreter In Go](https://interpreterbook.com/)) is fully implemented. Bruno will not have a
compiler implementation## Commands
Run pip install first
```shell
python -m pip install -r requirements.txt
```| Script | Description |
|-----------------------------------------|----------------------------------------------------|
| `pytest` | Run tests |
| [`python benchmarks.py`](benchmarks.py) | Run the classic monkey benchmark (`fibonacci(35)`) |
| [`python repl.py`](repl.py) | Run the Bruno REPL |