Skip to content

maiku1008/monkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Monkey programming language

An interpreter for the Monkey programming language.

Run

$ go run main.go
Hello michael.cuffaro! This is the Monkey programming language!
Feel free to type in commands
>> let a = 5;
>> a
5
>> let add = fn(x, y) { x + y }
>> add(a, 3)
8
>> 5 > 1
true
>> let hello = "Hello, world!"
>> hello
Hello, world!
>> len(hello)
13

TODO

  • Documentation
  • Read and execute *.monkey files
  • More builtin functions

Credit:

https://interpreterbook.com/

About

An interpreter for the monkey language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages