{"id":17782734,"url":"https://github.com/braheezy/zig-lox","last_synced_at":"2025-04-01T21:20:12.576Z","repository":{"id":259172715,"uuid":"875912948","full_name":"braheezy/zig-lox","owner":"braheezy","description":"Bytecode VM for Lox","archived":false,"fork":false,"pushed_at":"2024-11-18T02:43:10.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T13:54:10.069Z","etag":null,"topics":["lox","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/braheezy.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-10-21T04:52:36.000Z","updated_at":"2024-11-18T02:43:14.000Z","dependencies_parsed_at":"2024-10-23T08:11:05.335Z","dependency_job_id":"967d447a-dcd3-4789-b644-b65e180ad443","html_url":"https://github.com/braheezy/zig-lox","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"43ec4d4115d18f82af10301fdad222e5f9e441a7"},"previous_names":["braheezy/zig-lox"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braheezy%2Fzig-lox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braheezy%2Fzig-lox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braheezy%2Fzig-lox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/braheezy%2Fzig-lox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/braheezy","download_url":"https://codeload.github.com/braheezy/zig-lox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709929,"owners_count":20821301,"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":["lox","zig"],"created_at":"2024-10-27T06:03:50.318Z","updated_at":"2025-04-01T21:20:12.556Z","avatar_url":"https://github.com/braheezy.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zig-lox\nA Zig implementation of a bytecode VM for the educational Lox programming language as taught in the book [Crafting Interpreters](https://craftinginterpreters.com).\n\nThe first half of the book covers a purely interpreted approach to implementing Lox. I did that in Go [here](https://github.com/braheezy/gravlax).\n\n```console\n\u003e echo 'print 1 + 1;' | zig-lox --eval\n2\n```\n\n## Usage\nYou need Zig. The `.devcontainer` can be used to easily provide that.\n\nHelpful commands:\n\n```bash\n# Build an executable: zig-out/bin/zig-lox\nzig build --summary all\n# Run all tests\nzig build test --summary all\n# Run a file\nzig-out/bin/zig-lox test.lox\n# Or run the repl\nzig-out/bin/zig-lox\n# Or eval an expression over stdin\necho '1 + 1' | zig-out/bin/zig-lox --eval\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbraheezy%2Fzig-lox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbraheezy%2Fzig-lox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbraheezy%2Fzig-lox/lists"}