antcap96 / my-monkey-lang

Implementing monkey lang from https://interpreterbook.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust Interpreter for Monkey Language

This project is a Rust implementation of an interpreter for the Monkey programming language, following the concepts and principles described in the book Writing an Interpreter in Go + Writing A Compiler In Go. The Monkey language is a simple, educational programming language designed to demonstrate the process of building an interpreter from scratch.

Getting Started

To get started with the Monkey interpreter, follow these steps:

Prerequisites

  • Rust: Make sure you have Rust installed on your system. You can download and install it from the official Rust website: https://www.rust-lang.org/.

Installation

  1. Clone the repository:
git clone https://github.com/antcap96/my-monkey-lang.git
  1. Navigate to the project directory:
cd my-monkey-lang
  1. Build the project:
cargo build
  1. Run the interpreter:
cargo run

To check options available options, run:

cargo run -- --help

About

Implementing monkey lang from https://interpreterbook.com/


Languages

Language:Rust 100.0%