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
- Host: GitHub
- URL: https://github.com/littledivy/monkeylang
- Owner: littledivy
- Created: 2020-12-01T08:37:52.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-01T11:34:33.000Z (about 5 years ago)
- Last Synced: 2025-06-09T15:09:16.237Z (8 months ago)
- Topics: deno, interpreter, monkey-programming-language, typescript
- Language: TypeScript
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.txt
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"]