Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

Latest commit

 

History

History
29 lines (22 loc) · 724 Bytes

README.md

File metadata and controls

29 lines (22 loc) · 724 Bytes

rust-monkey

Monkey

A rust version of the Monkey Interpreter from "Writing an Interpreter in Go"

Written without any external libraries, lexers or parsers.

Inspired by this repo.

REPL

The REPL is started when running the repo:

cargo run

Tests

All tests from "Writing an Interpreter in Go" have been copied.

Implemented Features

Rust-Monkey supports:

  • Variable bindings,
  • Prefix and Infix operators
  • First-class and Higher-order Functions
  • Closures
  • Integers, Booleans, Strings
  • Immutable Arrays
  • Hashes

Planned Features

  • While Loops
  • For Loops