This project is a simple interpreter for a programming language implemented in Go. It serves as an example of how to write an interpreter using Go's powerful features.
- Lexer that tokenizes the input code.
- REPL (Read-Eval-Print Loop) for interactive execution.
- Parser and evaluator (to be implemented).
Ensure you have Go installed on your system. You can download it from the official Go website.
Clone the repository to your local machine:
git clone https://github.com/chai-rs/go-interpreter.git
Navigate to the project directory:
cd go-interpreter
Build the project:
go build
Run the interpreter:
./go-interpreter
Execute the unit tests for the project with:
go test ./...