{"id":16111181,"url":"https://github.com/heckj/slox","last_synced_at":"2025-10-24T12:35:40.679Z","repository":{"id":137339744,"uuid":"343950471","full_name":"heckj/Slox","owner":"heckj","description":"A swift variation of the content from Bob Nystrom's book: Crafting Interpreters","archived":false,"fork":false,"pushed_at":"2021-06-08T00:11:47.000Z","size":402,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-14T18:51:38.116Z","etag":null,"topics":["crafting-interpreters","interpreter","parser","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"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/heckj.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}},"created_at":"2021-03-03T00:18:12.000Z","updated_at":"2024-05-13T13:43:38.000Z","dependencies_parsed_at":"2024-02-16T03:43:29.336Z","dependency_job_id":null,"html_url":"https://github.com/heckj/Slox","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/heckj%2FSlox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heckj%2FSlox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heckj%2FSlox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heckj%2FSlox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heckj","download_url":"https://codeload.github.com/heckj/Slox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243911182,"owners_count":20367642,"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":["crafting-interpreters","interpreter","parser","swift"],"created_at":"2024-10-09T19:40:35.752Z","updated_at":"2025-10-24T12:35:40.570Z","avatar_url":"https://github.com/heckj.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slox\n\nA swift port/variation following on the content from Bob Nystrom's\n[Crafting Interpreters](https://craftinginterpreters.com/contents.html)\n\nThis is a hobby project to go through the book and do some learning, so don't _count_ on anything here.\n\n## Compile, Test, and Code Coverage\n\nYou can open Package.swift in Xcode and run tests there and inspect code coverage.\nIf you want to run do this all from the command line (or a CI pipeline), then I've made a script to make this easier.\n\n    ./codecov-report.sh \n\nRuns the tests with `--enable-code-coverage`, and using `xcrun` to determine a location (macOS only currently) for the binary and uses `llvm-cov` and `lcov` to generate an HTML report in the directory `coverage`.\n\nTo set up CLI tooling (`lcov`) for the report generation:\n\n    brew install lcov\n\n## Run the tests on Linux\n\n    docker run -it --rm --platform linux/amd64 -v \"$PWD:$PWD\" -w \"$PWD\" -e QEMU_CPU=max swift:5.3 swift test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheckj%2Fslox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheckj%2Fslox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheckj%2Fslox/lists"}