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.
To get started with the Monkey interpreter, follow these steps:
- 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/.
- Clone the repository:
git clone https://github.com/antcap96/my-monkey-lang.git
- Navigate to the project directory:
cd my-monkey-lang
- Build the project:
cargo build
- Run the interpreter:
cargo run
To check options available options, run:
cargo run -- --help