Skip to content

d-forbes/go-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Interpreter

Overview

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.

Features

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

Getting Started

Prerequisites

  • Go 1.13 or later

Installation

Clone the repository:

git clone https://github.com/d-forbes/go-interpreter.git
cd go-interpreter

Building the Interpreter

Compile the interpreter using:

go build

Running the Interpreter

Execute your interpreter with:

./go-interpreter {script file}

Contributing

Contributions make the open-source community thrive. If you wish to contribute:

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE file for more information.

Contact

David Forbes - @DavidWForbes

Acknowledgements

  • Massive praise to @thorstenball and the amazing work he's done with his books

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages