Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

monkey-rust

> 编程语言
Open source

An interpreter for the Monkey programming language written in Rust

383 stars0 likes0 views
WebsiteGitHub

About

An interpreter for the Monkey programming language written in Rust

monkey-rust

An interpreter for the Monkey programming language written in Rust

What’s Monkey?

Monkey has a C-like syntax, supports variable bindings, prefix and infix operators, has first-class and higher-order functions, can handle closures with ease and has integers, booleans, arrays and hashes built-in.

There is a book about learning how to make an interpreter: Writing An Interpreter In Go. This is where the Monkey programming language come from.

Instruction

Build and test

bash
$ cargo build
$ cargo test

Running the REPL

bash
$ cargo run --release --bin monkey_repl

Running the Interpreter

bash
$ cargo run --release --bin monkey_exe -- --src examples/hash.mk

License

BSD3

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustinterpreterlexermonkeynom

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言