This project is an interpreter written in Go, based on the book Writing An Interpreter in Go by Thorsten Ball. I've chosen this project to further refine understanding of Go as a language and learn more about interpreters/parsing along the way.
The interpreter is implemented for the "Monkey Programming Language", a language that has been made up specifically for the purposes of this project. More info on the language here.
- Fast Execution: Leverages Go's efficiency for quick interpretation.
- Cross-Platform Support: Runs on any platform that supports Go.
- Extensible Architecture: Easily add new features or expand language capabilities.
- Go 1.13 or later
Clone the repository:
git clone https://github.com/d-forbes/go-interpreter.git
cd go-interpreterCompile the interpreter using:
go buildExecute your interpreter with:
./go-interpreter {script file}Contributions make the open-source community thrive. If you wish to contribute:
- Fork the Project
- Create your Feature Branch (git checkout -b feature/AmazingFeature)
- Commit your Changes (git commit -m 'Add some AmazingFeature')
- Push to the Branch (git push origin feature/AmazingFeature)
- Open a Pull Request
Distributed under the MIT License. See LICENSE file for more information.
David Forbes - @DavidWForbes
- Massive praise to @thorstenball and the amazing work he's done with his books