• Stars
    star
    321
  • Rank 130,752 (Top 3 %)
  • Language
    Rust
  • License
    BSD 3-Clause "New...
  • Created over 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An interpreter for the Monkey programming language written in Rust

monkey-rust

An interpreter 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.

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.

Instruction

Build and test

$ cargo build
$ cargo test

Running the REPL

$ cargo run --release --bin monkey_repl

Running the Interpreter

$ cargo run --release --bin monkey_exe -- --src examples/hash.mk

License

BSD3

More Repositories

1

Fake-images-please

Fakeimg.pl is a little tool that generates images with an URL. Choose the size, the colors, even the text. Oh… and it’s free.
Python
815
star
2

flappy-haskell

Flappy Bird Haskell Implementation
Haskell
34
star
3

Clojure-Instagram-API

Clojure Instagram API Wrapper
Clojure
17
star
4

phollow

My blog
CSS
12
star
5

archlinux

My Archlinux Config
Vim Script
10
star
6

Personal-Website

Jérôme Mahuet
CSS
9
star
7

scalagram

Instagram API wrapper for Scala
Scala
8
star
8

chip8

A (classic) chip8 emulator
C++
6
star
9

rustis

(Small) Redis clone in Rust
Rust
5
star
10

Vokuselu

Voxel engine with OpenGL
C++
5
star
11

Brainfokt

Brainfuck interpreter
Haskell
4
star
12

trace-url

Trace-url is a toy url expander/tracer written with Haskell.
Haskell
3
star
13

haskell-conway

Conway's Game of Life in Haskell (SDL2)
Haskell
3
star
14

Sinatra-Skeleton

Sinatra skeleton, using pgsql, memcache and stuffs.
Ruby
3
star
15

Phollow3-Theme

Phollow3 Wordpress Theme
PHP
3
star
16

Shorty

Play Framework (Scala) URL Shortener web app
Scala
2
star
17

raycasting

C++
2
star
18

Personal-Website-Ruby-Version

I was bored.
Ruby
2
star
19

VoxelEngine

HTML
2
star
20

brainfree

brainfuck + Free Monads
Haskell
2
star
21

Scala-Yo

Scala Yo API Client
Scala
2
star
22

haskell-homework-cis194

CIS 194: Introduction to Haskell (Spring 2015)
Haskell
1
star
23

advent-of-code-2016

Haskell
1
star
24

sirens-parsing-haskell

Haskell
1
star
25

haskell-geo

Haskell
1
star
26

discord-haskell

WIP don't use
Haskell
1
star
27

advent-of-code

Haskell
1
star
28

purenes

A NES emulator written in Haskell.
Haskell
1
star
29

kotlin-lwjgl-template

Kotlin
1
star
30

rust-rogue

Simple Rogue-like game made with Rust and Piston
Rust
1
star
31

AoC2020

Rust
1
star
32

haskell-lispy

Lisp interpreter in Haskell
Haskell
1
star
33

snakeskell

Shitty CLI Snake Game
Haskell
1
star