Skip to content

chai-rs/go-interpreter

Repository files navigation

Go Interpreter

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.

Features

  • Lexer that tokenizes the input code.
  • REPL (Read-Eval-Print Loop) for interactive execution.
  • Parser and evaluator (to be implemented).

Getting Started

Prerequisites

Ensure you have Go installed on your system. You can download it from the official Go website.

Installation

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

Running Tests

Execute the unit tests for the project with:

go test ./...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published