An open API service indexing awesome lists of open source software.

https://github.com/littledivy/monkeylang

WIP A Monkey Interpreter written in Deno
https://github.com/littledivy/monkeylang

deno interpreter monkey-programming-language typescript

Last synced: 13 days ago
JSON representation

WIP A Monkey Interpreter written in Deno

Awesome Lists containing this project

README

          

Monkeylang interpreter in Deno.

Features:
- Variable declarations: `let a = 1;`
- Builtin types: string, number, boolean, functions, hash & arrays.
- Arithmentic operators: + - / *
- Indexing arrays & hash
- Builtin functions: `len()`, `puts()`, etc.
- If statement
- Closures

- String
let a = "Hello, World";
- Number
let b = 100;
- Boolean
let c = true;
- Hash
let d = {
"key": "value"
}
- Array
let e = [a, b, c, d]

- Indexing
e[1]
myHash["some_value"]