{"id":18162736,"url":"https://github.com/sco1/monkey","last_synced_at":"2025-10-09T23:35:24.593Z","repository":{"id":161736009,"uuid":"633430065","full_name":"sco1/monkey","owner":"sco1","description":"A Go interpreter and compiler for the Monkey esolang","archived":false,"fork":false,"pushed_at":"2023-05-16T23:27:05.000Z","size":131,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T09:38:02.974Z","etag":null,"topics":["go","golang","monkey-language"],"latest_commit_sha":null,"homepage":"https://thorstenball.com/books/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sco1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-27T13:32:50.000Z","updated_at":"2023-05-04T17:49:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"b629a9e4-1285-4119-843c-c5ad9f71cc70","html_url":"https://github.com/sco1/monkey","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sco1%2Fmonkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sco1%2Fmonkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sco1%2Fmonkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sco1%2Fmonkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sco1","download_url":"https://codeload.github.com/sco1/monkey/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247595933,"owners_count":20964029,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","golang","monkey-language"],"created_at":"2024-11-02T10:05:05.618Z","updated_at":"2025-10-09T23:35:19.559Z","avatar_url":"https://github.com/sco1.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monkey\nA Go interpreter and compiler for the Monkey esolang.\n\nMonkey 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. The language was created for Thorsten Ball's [*Writing An Interpreter In Go*](https://interpreterbook.com) and [*Writing A Compiler In Go*](https://compilerbook.com/) texts.\n\n## Implementation Notes\n### Source Files vs. REPL\nSupport is provided for executing source files as well as launching the REPL:\n  * `go run main.go` will open the REPL\n  * `go run main.go ./hello_world.mnk` will execute the specified source file\n\nBy default, execution is done using the VM created from the compiler book. The `--no-vm` flag can be used to instead execute using the interpreter created from the interpreter book.\n\n### *Writing an Interpreter In Go*\n* Macro support from [*The Lost Chapter: A Macro System For Monkey*](https://interpreterbook.com/lost) is implemented\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsco1%2Fmonkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsco1%2Fmonkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsco1%2Fmonkey/lists"}