{"id":21028860,"url":"https://github.com/chamons/rusty-lox","last_synced_at":"2026-04-21T08:37:00.177Z","repository":{"id":87165434,"uuid":"416457099","full_name":"chamons/rusty-lox","owner":"chamons","description":"Working through https://craftinginterpreters.com in rust","archived":false,"fork":false,"pushed_at":"2024-10-19T20:24:15.000Z","size":168,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T14:55:18.087Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/chamons.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":"2021-10-12T18:42:44.000Z","updated_at":"2024-10-19T20:24:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"4359c6fb-a30e-482d-b76f-0aafcbbe14c3","html_url":"https://github.com/chamons/rusty-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/chamons%2Frusty-lox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chamons%2Frusty-lox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chamons%2Frusty-lox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chamons%2Frusty-lox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chamons","download_url":"https://codeload.github.com/chamons/rusty-lox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243467024,"owners_count":20295309,"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":[],"created_at":"2024-11-19T11:59:24.947Z","updated_at":"2025-12-27T11:16:02.297Z","avatar_url":"https://github.com/chamons.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rusty-lox\n\nThis is an implementation of lox in rust through chapter 24 of [the book](https://craftinginterpreters.com/functions.html).\n\nIt contains:\n- User declared functions, with recursion\n- Built in timing function\n- Basic addition and order of operation\n\nwith a bytecode compiler from the book ported from C to Rust.\n\n## Show Me\n\n```\n% cat data/fib.lox                   \nfun fib(n) {\n  if (n \u003c 2) return n;\n  return fib(n - 2) + fib(n - 1);\n}\n\nvar start = clock();\nprint fib(35);\nprint clock() - start;\n\n% cargo run -q --release -- data/fib.lox\n9227465\n3.6996841430664063\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchamons%2Frusty-lox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchamons%2Frusty-lox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchamons%2Frusty-lox/lists"}