{"id":22326555,"url":"https://github.com/jsfpdn/yatlc","last_synced_at":"2025-10-14T14:31:46.204Z","repository":{"id":181600697,"uuid":"612717946","full_name":"jsfpdn/yatlc","owner":"jsfpdn","description":"yet-another-toy-language compiler","archived":false,"fork":false,"pushed_at":"2023-09-19T05:36:55.000Z","size":638,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T07:16:35.092Z","etag":null,"topics":["compiler","llvm","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/jsfpdn.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":"2023-03-11T19:14:12.000Z","updated_at":"2024-09-27T10:57:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"c80f5874-b34c-453f-aad5-352c23ebb863","html_url":"https://github.com/jsfpdn/yatlc","commit_stats":null,"previous_names":["jsfpdn/yatlc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jsfpdn/yatlc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsfpdn%2Fyatlc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsfpdn%2Fyatlc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsfpdn%2Fyatlc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsfpdn%2Fyatlc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jsfpdn","download_url":"https://codeload.github.com/jsfpdn/yatlc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jsfpdn%2Fyatlc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019123,"owners_count":26086680,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["compiler","llvm","zig"],"created_at":"2024-12-04T02:18:12.798Z","updated_at":"2025-10-14T14:31:46.199Z","avatar_url":"https://github.com/jsfpdn.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yatlc: yet-another-toy-language compiler\n\n\u003e This is a repository for the yatl compiler, a project for a compiler course.\n\u003e yatlc is written in [Zig 0.11.0](https://ziglang.org) and uses LLVM.\n\n**yatl is an imperative, statically typed, lexically scoped and memory-unsafe language.**\nSample code can be found in the [`/examples`](/examples) directory. \nSee [DOCS](./DOCS.md) for more information.\n\n**yatlc is a single-pass compiler**. The recursive descent parser does not explicitely\nbuild the abstract syntax tree but directly emits the LLVM IR.\n\n## Building yatlc\n\nTo build the compiler, run `zig build`, emitting `./zig-out/bin/yatlc` binary.\n\n## Running yatlc\n\nTo see help, run `./zig-out/bin/yatlc --help`.\n\nTo compile a yatl program, run `./zig-out/bin/yatlc path/to/file.ytl -o binary_name`.\n\n## Testing `yatlc`\n\nTo run tests, run `zig test src/tests.zig`.\n\nWhen testing an unexpected compiler error, it is helpful to build yatlc with `zig build -Doptimize=debug`\nto emit more information during runtime when something happens.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsfpdn%2Fyatlc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjsfpdn%2Fyatlc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjsfpdn%2Fyatlc/lists"}