Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rbaltrusch/simple_interpreters
Contains implementations of simple REPL interpreters
https://github.com/rbaltrusch/simple_interpreters
ast c-interpreter interpreter interpreter-language interpreter-python java-interpreter python-interpreter repl simple-interpreter
Last synced: about 2 months ago
JSON representation
Contains implementations of simple REPL interpreters
- Host: GitHub
- URL: https://github.com/rbaltrusch/simple_interpreters
- Owner: rbaltrusch
- License: mit
- Created: 2024-08-11T21:38:59.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-08-11T21:39:37.000Z (5 months ago)
- Last Synced: 2024-08-11T22:39:37.946Z (5 months ago)
- Topics: ast, c-interpreter, interpreter, interpreter-language, interpreter-python, java-interpreter, python-interpreter, repl, simple-interpreter
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple interpreters
This repository contains several simple interpreter implementations:
- [Python](src/python/README.md)
- [Java](src/java/README.md)
- [C](src/c/README.md)These interpreters feature a REPL shell allowing for interactive evaluation, and support the following operations:
- operators `+, -, *, /, %`.
- variable assignments, e.g. `x = 1` or `x = 1 + 1`
- variable value retrieval, e.g. `x`
- arbitrarily deeply nested operations, e.g. `((1+1-3)*5)/2`For compilation and running commands, see the individual READMEs listed above.
## License
The repository is licensed under the [MIT license](LICENSE).