{"id":22479810,"url":"https://github.com/icepanorama/javamonkeyinterpreter","last_synced_at":"2025-07-29T16:42:14.536Z","repository":{"id":224807579,"uuid":"764302844","full_name":"IcePanorama/JavaMonkeyInterpreter","owner":"IcePanorama","description":"An interpreter for the Monkey programming language, written in Java.","archived":false,"fork":false,"pushed_at":"2024-07-05T18:44:23.000Z","size":140,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T18:32:43.551Z","etag":null,"topics":["interpreter","java","junit","monkey-programming-language"],"latest_commit_sha":null,"homepage":"","language":"Java","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/IcePanorama.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":"2024-02-27T20:49:13.000Z","updated_at":"2024-07-05T18:44:27.000Z","dependencies_parsed_at":"2024-04-18T00:24:00.348Z","dependency_job_id":"f9840800-65f0-48c0-853d-4f80fc3f2a9c","html_url":"https://github.com/IcePanorama/JavaMonkeyInterpreter","commit_stats":null,"previous_names":["icepanorama/javamonkeyinterpreter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IcePanorama/JavaMonkeyInterpreter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IcePanorama%2FJavaMonkeyInterpreter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IcePanorama%2FJavaMonkeyInterpreter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IcePanorama%2FJavaMonkeyInterpreter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IcePanorama%2FJavaMonkeyInterpreter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IcePanorama","download_url":"https://codeload.github.com/IcePanorama/JavaMonkeyInterpreter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IcePanorama%2FJavaMonkeyInterpreter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267718745,"owners_count":24133462,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"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":["interpreter","java","junit","monkey-programming-language"],"created_at":"2024-12-06T15:17:03.087Z","updated_at":"2025-07-29T16:42:14.482Z","avatar_url":"https://github.com/IcePanorama.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Java Monkey Interpreter\n\nA tree-walking interpreter for [the Monkey programming language](https://monkeylang.org/), written in Java.\n\nAs of July 3rd, 2024, the interpreter is fully functional, supporting \"mathematical expressions, variable bindings, functions and the application of those functions, conditionals, [both explicit and implicit] return statements, and advanced concepts like higher-order functions and closures\" (Ball 197) as well as 5 data types: integers, booleans, strings, arrays, and hashes.\n\n## Features\n+ Read-Eval-Print-Loop (REPL) environment for typing in code\n+ Lexer for tokenization\n+ Pratt/Recursive descent parser for syntactic analysis.\n+ Abstract syntax tree (AST) for code representation and evaluation. \n\nAll of the interpreter's features were created from scratch, without the use of any outside libraries or frameworks.\n\n## Installation \u0026 Usage\nFirst, verify that you have both java and maven installed on your machine.\n\n```bash\njava --version\nmvn --version\n```\n\nAfter that, installation can be completed by simply cloning the repository on to your local machine:\n\n```bash\ngit clone https://github.com/IcePanorama/JavaMonkeyInterpreter\n```\n\nYou can then run the interpreter using the following commands:\n\n```bash\ncd JavaMonkeyInterpreter/\nmvn package\njava -cp target/classes com.monkeyinterpreter.Main\n```\n\nTo quit the interpreter, type `.quit`.\n\n## To do\n+ Refactor entire codebase.\n+ Create better documentation for codebase.\n+ Implement float datatype.\n+ Implement quality-of-life improvements for REPL.\n\n## Acknowledgements\n\nThis project was developed using the book, [\"Writing An Interpreter In Go\" by Thorsten Ball](https://interpreterbook.com/). As the name implies, Ball's original project was written entirely in Go and I converted everything to Java.\n\nAs of July 3rd, 2024, I'm finished with the book, although I still plan on cleaning the project up some before I'll truly consider it \"complete\". After that, I'll likely add some more features to the language on my own before moving onto the Thorsten Ball's next book, [\"Writing An Interpreter In Go: The Lost Chapter - A Macro System For Monkey\"](https://interpreterbook.com/lost/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficepanorama%2Fjavamonkeyinterpreter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficepanorama%2Fjavamonkeyinterpreter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficepanorama%2Fjavamonkeyinterpreter/lists"}