Skip to content

littledivy/monkeylang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"]

Releases

No releases published

Packages

No packages published