abdulniyaspm / monkey-rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

monkey-rs

Another interpreter for the monkey programming language in Rust. Writing An Interpreter In Go is a phenomenal book to learn on how to write an interpreter for a programming language in Go. However instead of using Go I decided to implement the interpreter in Rust. One big advantage of using Rust versus using other garbage collected languages such as Go, Python, Java etc is that the garbage collection of the monkey objects is completely handled by the Rust runtime hence theortically the performance of the Monkey programs is expected to be much better on Rust.

Demo

cargo build

asciicast

About


Languages

Language:Rust 100.0%