5 releases (breaking)

0.10.1 Oct 24, 2025
0.9.1 Jul 18, 2023
0.8.0 Sep 18, 2021
0.7.0 Jul 25, 2021
0.6.0 Jul 25, 2021

#617 in Programming languages


Used in 3 crates (2 directly)

MIT license

48KB
1K SLoC

monkey-rust

Rust Gitpod ready-to-code

This is a object for the Monkey programming language written in Rust

The Monkey Programming Language

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.

Official site is: https://monkeylang.org/. It's has various implementation languages :).

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.

Dependencies

~0.6–1.5MB
~33K SLoC