{"id":20460751,"url":"https://github.com/spydr06/monkey","last_synced_at":"2026-05-27T20:32:15.733Z","repository":{"id":132219587,"uuid":"357542275","full_name":"Spydr06/Monkey","owner":"Spydr06","description":"The Monkey Programming language written in Go following Thorsten Ball's Book \"Writing an Interpreter in Go\"","archived":false,"fork":false,"pushed_at":"2022-04-18T22:19:11.000Z","size":6163,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T11:30:18.049Z","etag":null,"topics":["go","golang","interpreter","monkey-programming-language","programming-language","writing-an-interpreter-in-go"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Spydr06.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-04-13T12:19:41.000Z","updated_at":"2022-07-09T15:32:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d810097-a68d-497d-acc7-8f3763ee96a2","html_url":"https://github.com/Spydr06/Monkey","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Spydr06/Monkey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spydr06%2FMonkey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spydr06%2FMonkey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spydr06%2FMonkey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spydr06%2FMonkey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Spydr06","download_url":"https://codeload.github.com/Spydr06/Monkey/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Spydr06%2FMonkey/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33583394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","interpreter","monkey-programming-language","programming-language","writing-an-interpreter-in-go"],"created_at":"2024-11-15T12:21:32.542Z","updated_at":"2026-05-27T20:32:15.716Z","avatar_url":"https://github.com/Spydr06.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Monkey\nThe Monkey Programming language, written in Go, following Thorsten Ball's Books \"Writing an Interpreter in Go\" and \"Writing a Compiler in Go\"\n\nMonkey is a small, interpreted or compiled toy programming language with high-level simplicity and easy to write C-like syntax.\n\u003cbr/\u003e\n*The language features:*\n\n* Two backends: an evaluator or a stack-based virtual-machine with bytecode compiler\n* Turing-completeness\n* expressions like `+` `-` `*` `/` `-`(prefix) `!`(prefix) `==` `!=` `\u003e` `\u003c`\n* local and global variables\n* macros and quotes (only with the evaluator backend)\n* functions/closures as first-class objects\n* everything is an expression\n* arrays `[1, 2, 3]`\n* hash tables `{a: 1, b: 2, c: 3}`\n* strings `\"Hello\"`\n* full unit test coverage\n* written in 100% pure Go without external dependencies\n* Examples in the `examples` directory\n\n## Installation\n\n- Clone this repository or download a precompiled package\n\n```bash\ngit clone github.com/spydr06/monkey.git\ncd monkey\n```\n\nBuild the executable:\n\n```bash\ngo build .\n```\n\n## Usage\n\nBy default, monkey starts it's interactive REPL, just by typing\n\n```bash\n./monkey\n```\n\nTo run a specific file, use the `-file` flag\n\n```bash\n./monkey -file examples/helloworld.monkey\n```\n\nTo use the evaluator backend, use `-engine eval`\n\n```bash\n./monkey -engine eval\n```\n\nTo get help, use `-help`\n\n```bash\n./monkey -help\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspydr06%2Fmonkey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspydr06%2Fmonkey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspydr06%2Fmonkey/lists"}