Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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).