All Projects → Rydgel → Monkey Rust

Rydgel / Monkey Rust

Licence: other
An interpreter for the Monkey programming language written in Rust

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Monkey Rust

Rs Monkey Lang
Monkey Programming Language written in Rust.
Stars: ✭ 80 (-54.02%)
Mutual labels:  lexer, parser, interpreter
Mico
Mico ("Monkey" in catalan). Monkey language implementation done with C++. https://interpreterbook.com/
Stars: ✭ 19 (-89.08%)
Mutual labels:  lexer, parser, interpreter
Cub
The Cub Programming Language
Stars: ✭ 198 (+13.79%)
Mutual labels:  lexer, parser, interpreter
Lioness
The Lioness Programming Language
Stars: ✭ 155 (-10.92%)
Mutual labels:  lexer, parser, interpreter
Charly Vm
Fibers, Closures, C-Module System | NaN-boxing, bytecode-VM written in C++
Stars: ✭ 66 (-62.07%)
Mutual labels:  lexer, parser
Csstree
A tool set for CSS including fast detailed parser, walker, generator and lexer based on W3C specs and browser implementations
Stars: ✭ 1,121 (+544.25%)
Mutual labels:  lexer, parser
Internettools
XPath/XQuery 3.1 interpreter for Pascal with compatibility modes for XPath 2.0/XQuery 1.0/3.0, custom and JSONiq extensions, XML/HTML parsers and classes for HTTP/S requests
Stars: ✭ 82 (-52.87%)
Mutual labels:  parser, interpreter
Endbasic
BASIC environment with a REPL, a web interface, and RPi support written in Rust
Stars: ✭ 106 (-39.08%)
Mutual labels:  parser, interpreter
Graphql Go Tools
Tools to write high performance GraphQL applications using Go/Golang.
Stars: ✭ 96 (-44.83%)
Mutual labels:  lexer, parser
Plyara
Parse YARA rules and operate over them more easily.
Stars: ✭ 108 (-37.93%)
Mutual labels:  lexer, parser
Fslexyacc
Lexer and parser generators for F#
Stars: ✭ 148 (-14.94%)
Mutual labels:  lexer, parser
Littlelang
A little language interpreter written in Go
Stars: ✭ 56 (-67.82%)
Mutual labels:  parser, interpreter
Logos
Create ridiculously fast Lexers
Stars: ✭ 1,001 (+475.29%)
Mutual labels:  lexer, parser
Works For Me
Collection of developer toolkits
Stars: ✭ 131 (-24.71%)
Mutual labels:  lexer, parser
Gelatin
Transform text files to XML, JSON, or YAML
Stars: ✭ 150 (-13.79%)
Mutual labels:  lexer, parser
Goawk
A POSIX-compliant AWK interpreter written in Go
Stars: ✭ 995 (+471.84%)
Mutual labels:  parser, interpreter
Nodable
a node-able bidirectionnal expression editor.
Stars: ✭ 103 (-40.8%)
Mutual labels:  lexer, parser
Minigo
minigo🐥is a small Go compiler made from scratch. It can compile itself.
Stars: ✭ 456 (+162.07%)
Mutual labels:  lexer, parser
Webassemblyjs
Toolchain for WebAssembly
Stars: ✭ 566 (+225.29%)
Mutual labels:  parser, interpreter
Csly
a C# embeddable lexer and parser generator (.Net core)
Stars: ✭ 129 (-25.86%)
Mutual labels:  lexer, parser

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].