go-interpreter

command module
v0.0.0-...-6ccabf3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2024 License: MIT Imports: 4 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL