{"id":26068400,"url":"https://github.com/itsrainingmani/lox","last_synced_at":"2026-05-18T06:05:55.941Z","repository":{"id":39756219,"uuid":"485918384","full_name":"itsrainingmani/lox","owner":"itsrainingmani","description":"Lox programming language","archived":false,"fork":false,"pushed_at":"2024-12-11T08:16:34.000Z","size":315,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T06:44:24.485Z","etag":null,"topics":["c","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/itsrainingmani.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":"2022-04-26T19:18:46.000Z","updated_at":"2024-12-11T08:16:38.000Z","dependencies_parsed_at":"2024-12-09T03:20:47.047Z","dependency_job_id":"0c43c311-7007-4dcf-acf3-dc0690197625","html_url":"https://github.com/itsrainingmani/lox","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/itsrainingmani%2Flox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsrainingmani%2Flox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsrainingmani%2Flox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsrainingmani%2Flox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsrainingmani","download_url":"https://codeload.github.com/itsrainingmani/lox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242617172,"owners_count":20158752,"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":["c","interpreter","java","programming-language"],"created_at":"2025-03-08T22:25:32.316Z","updated_at":"2026-05-18T06:05:50.910Z","avatar_url":"https://github.com/itsrainingmani.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting Started\n\nWelcome to the Lox programming language. I am following the *Crafting Interpreters* [book](http://craftinginterpreters.com/)\n\n## Folder Structure\n\n- `lox` : the root folder that contains the source code for the lox language\n- `lox\\tool`: the folder that contains other tooling to help with building the language. For ex., `GenerateAst.java` allows us to programmatically build a java file that implements Expressions.\n- `lox\\java`: the folder that contains the source code for the Java interpreter, `jlox`\n- `lox\\c`: the folder that contains the source code for the C Bytecode VM, `clox`\n\nMeanwhile, the compiled output files will be generated in the `bin` folder by default\n\n## Building Clox\n\nThere are two ways to build the `clox`, the Bytecode VM implementation of Lox -\n\n- Using the conventional make commands that the author built\n- Using the `build.zig` file that I wrote. This should be a little faster at compiling c files on average due to the power of zig's c compiler\n\nTo use `build.zig`, run the following command in your shell -\n\n```shell\n~ zig build\n```\n\nTo build and open the clox REPL directly, run -\n\n```shell\n~ zig build repl\n```\n\n## Progress Report\n\n* May 26\u003csup\u003eth\u003c/sup\u003e, 2022 at 10:43 AM ET, the entire jlox interpreter is complete and is passing all tests!\n* March 25\u003csup\u003eth\u003c/sup\u003e, 2023 at 5:17 AM ET - Completed Chapter 20: Hash Tables","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsrainingmani%2Flox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsrainingmani%2Flox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsrainingmani%2Flox/lists"}