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

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

License

Notifications You must be signed in to change notification settings

wvanlit/rust-monkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages