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

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