{"id":20332790,"url":"https://github.com/bp7968h/jlox","last_synced_at":"2025-07-28T22:37:11.099Z","repository":{"id":257671141,"uuid":"858986398","full_name":"bp7968h/jlox","owner":"bp7968h","description":"Jlox interpreter from the book Crafting Interpreters","archived":false,"fork":false,"pushed_at":"2024-10-06T20:54:13.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T12:45:59.542Z","etag":null,"topics":["interpreter","java","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/bp7968h.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-09-17T21:58:07.000Z","updated_at":"2024-10-06T20:54:17.000Z","dependencies_parsed_at":"2025-03-04T12:43:38.235Z","dependency_job_id":"9c8ddb2d-d7d9-48b7-86d7-cffe20f9acdb","html_url":"https://github.com/bp7968h/jlox","commit_stats":null,"previous_names":["bp7968h/jlox"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bp7968h/jlox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bp7968h%2Fjlox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bp7968h%2Fjlox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bp7968h%2Fjlox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bp7968h%2Fjlox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bp7968h","download_url":"https://codeload.github.com/bp7968h/jlox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bp7968h%2Fjlox/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267598456,"owners_count":24113636,"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-28T02:00:09.689Z","response_time":68,"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","programming-language"],"created_at":"2024-11-14T20:28:21.127Z","updated_at":"2025-07-28T22:37:11.082Z","avatar_url":"https://github.com/bp7968h.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jlox Interpreter\nThis project is an implementation of the jlox interpreter from the book Crafting Interpreters by Robert Nystrom. jlox is a tree-walk interpreter for the Lox programming language, which is dynamically typed and supports object-oriented and functional programming.\n\n## Features\n- Supports expressions, statements, and control flow.\n- Dynamically typed variables.\n- First-class functions and closures.\n- Object-oriented programming with classes, inheritance, and methods.\n- Error handling for both runtime and syntax errors.\n\n## Prerequisites\n- Java 8 or higher installed on your machine.\n\n## Running jlox\n1. Clone this repository:\n```bash\ngit clone https://github.com/bp7968h/jlox.git\ncd jlox\n```\n\n2. Compile the interpreter:\n```\njavac -d out src/lox/*.java\n```\n\n3. Run the interpreter:\n```\njava -cp out lox.Lox\n```\n\n4. To run a Lox script, provide the script file as an argument:\n```\njava -cp out lox.Lox script.lox\n```\n\n## Usage\nYou can use jlox interactively or run .lox files. In interactive mode, type Lox code directly into the terminal:\n```bash\n\u003e print \"Hello, World!\";\nHello, World!\n\u003e var x = 10;\n\u003e print x + 2;\n12\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbp7968h%2Fjlox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbp7968h%2Fjlox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbp7968h%2Fjlox/lists"}