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

#560 in Programming languages

Download history 13/week @ 2024-06-20 4/week @ 2024-06-27 15/week @ 2024-07-04 5/week @ 2024-07-11 9/week @ 2024-07-18 13/week @ 2024-07-25 9/week @ 2024-08-01 3/week @ 2024-08-08 3/week @ 2024-08-22 9/week @ 2024-08-29 32/week @ 2024-09-19 47/week @ 2024-09-26 3/week @ 2024-10-03

82 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

~1–1.8MB
~40K SLoC