Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 243 Bytes

File metadata and controls

14 lines (11 loc) · 243 Bytes

monkey-rust

An implementation of a Monkey interpreter in Rust.

Usage

$ cargo run
>> 1 + 2
3
>> let factorial = fn(n) { if (n == 1) { 1 } else { n * factorial(n - 1) }}
>> factorial(10)
3628800