{"id":13838407,"url":"https://github.com/lffg/rs-lox","last_synced_at":"2025-07-10T21:32:50.706Z","repository":{"id":44524006,"uuid":"436408509","full_name":"lffg/rs-lox","owner":"lffg","description":"A tree-walk interpreter and a bytecode virtual machine interpreter written in the Rust Programming Language.","archived":false,"fork":false,"pushed_at":"2022-06-16T00:36:25.000Z","size":161,"stargazers_count":12,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-08-05T15:07:37.209Z","etag":null,"topics":["interpreter","parser","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/lffg.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}},"created_at":"2021-12-08T22:19:31.000Z","updated_at":"2024-02-10T08:07:09.000Z","dependencies_parsed_at":"2022-08-23T16:50:20.473Z","dependency_job_id":null,"html_url":"https://github.com/lffg/rs-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/lffg%2Frs-lox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lffg%2Frs-lox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lffg%2Frs-lox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lffg%2Frs-lox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lffg","download_url":"https://codeload.github.com/lffg/rs-lox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225657456,"owners_count":17503556,"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":["interpreter","parser","rust"],"created_at":"2024-08-04T15:01:55.715Z","updated_at":"2024-11-21T01:31:01.869Z","avatar_url":"https://github.com/lffg.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# Crafting Interpreters in Rust – `rs-lox`\n\nMy implementation of the first interpreter presented in \"[Crafting Interpreters](https://craftinginterpreters.com/)\", by Robert Nystrom.\n\nThis repository holds two implementations for the same language. The first one, `tree-lox` implements a tree-based interpreter and the other, `vm-lox` uses a bytecode virtual machine to interpret the code.\n\n### Quick start\n\nThis project can by compiled using Cargo. Use the `--project` flag to choose the implementation.\n\nRun an existing file:\n\n```terminal\n$ cargo r -p tree-lox -- script-name.lox\n```\n\nOpen the REPL:\n\n```\n$ cargo r -p tree-lox\n```\n\n### Project overview\n\ntodo\n\n### License\n\nCode licensed under the MIT license.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flffg%2Frs-lox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flffg%2Frs-lox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flffg%2Frs-lox/lists"}