8 breaking releases

0.9.1 Jul 18, 2023
0.8.0 Sep 18, 2021
0.7.0 Jul 25, 2021
0.5.0 Jan 25, 2021
0.3.0 Dec 15, 2020

#396 in Programming languages

Download history 3/week @ 2024-02-07 60/week @ 2024-02-14 17/week @ 2024-02-21 21/week @ 2024-02-28 9/week @ 2024-03-06 13/week @ 2024-03-13 9/week @ 2024-03-20

59 downloads per month
Used in 6 crates (via monkey-parser)

MIT license

14KB
377 lines

monkey-rust

Rust Gitpod ready-to-code

This is lexer 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.4MB
~32K SLoC