{"id":14990736,"url":"https://github.com/vexu/arocc","last_synced_at":"2026-10-19T11:09:15.170Z","repository":{"id":36963127,"uuid":"342206351","full_name":"Vexu/arocc","owner":"Vexu","description":"A modern fully featured C compiler.","archived":false,"fork":false,"pushed_at":"2026-10-15T09:35:28.000Z","size":6713,"stargazers_count":1849,"open_issues_count":51,"forks_count":113,"subscribers_count":19,"default_branch":"master","last_synced_at":"2026-10-17T09:10:26.337Z","etag":null,"topics":["c","compiler","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/Vexu.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-02-25T10:26:10.000Z","updated_at":"2026-10-15T09:35:35.000Z","dependencies_parsed_at":"2023-02-19T07:01:09.991Z","dependency_job_id":"8aec32b8-de6f-4724-b3fc-e92402eef618","html_url":"https://github.com/Vexu/arocc","commit_stats":{"total_commits":1416,"total_committers":29,"mean_commits":"48.827586206896555","dds":"0.40960451977401124","last_synced_commit":"886921df90ce838819e2f96cc2e37eaedbbaff4f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vexu/arocc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vexu%2Farocc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vexu%2Farocc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vexu%2Farocc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vexu%2Farocc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vexu","download_url":"https://codeload.github.com/Vexu/arocc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vexu%2Farocc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38333853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-17T02:00:06.547Z","response_time":57,"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":["c","compiler","zig"],"created_at":"2024-09-24T14:20:41.612Z","updated_at":"2026-10-19T11:09:15.165Z","avatar_url":"https://github.com/Vexu.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://aro.vexu.eu/aro-logo.svg\" alt=\"Aro\" width=\"120px\"/\u003e \u003c!-- Graphic design is my passion --\u003e\n\n# Aro\n\nA C compiler with the goal of providing fast compilation and low memory usage with good diagnostics.\n\nThe project intends to support standard C and all common extensions:\n\n| Version          | status                                                                                                     |\n| ---------------- | ---------------------------------------------------------------------------------------------------------- |\n| C23              | Complete excluding [Add IEEE 754 interchange and extended types](https://github.com/Vexu/arocc/issues/552) |\n| C17              | Complete excluding warnings [Ensure C17 compatibility](https://github.com/Vexu/arocc/issues/820)           |\n| C11              | Complete excluding warnings [Ensure C11 compatibility](https://github.com/Vexu/arocc/issues/821)           |\n| C99              | Complete excluding warnings [Ensure C99 compatibility](https://github.com/Vexu/arocc/issues/822)           |\n| C95              | Complete                                                                                                   |\n| C89              | Complete                                                                                                   |\n| GNU extensions   | [Ensure GNU C extension compatibility](https://github.com/Vexu/arocc/issues/824)                           |\n| Clang extensions | [Ensure Clang C extension compatibility](https://github.com/Vexu/arocc/issues/825)                         |\n\nAro will be used as the C frontend for [C to Zig translation](https://github.com/ziglang/translate-c/) in the Zig toolchain.\n\n## Codegen\n\nEarlier there was a proof of concept backend capable of producing a valid hello world binary\nbut it was removed to make way for a new more capable backend which is still under construction.\nThe new backend will reuse parts of the self-hosted Zig compiler.\n\n[#542](https://github.com/Vexu/arocc/issues/542)\n\n## Using aro as a module\n\nThe following assumes that your package has a `build.zig.zon` file.\n\n```sh-session\nzig fetch --save git+https://github.com/Vexu/arocc.git\n```\n\nAdd the following to your `build.zig`:\n\n```zig\nconst aro = b.dependency(\"aro\", .{\n    .target = target,\n    .optimize = optimize,\n});\n\nexe.root_module.addImport(\"aro\", aro.module(\"aro\"));\n\n// Optional; this will make aro's builtin includes (the `include` directory of this repo) available to `Toolchain`\nb.installDirectory(.{\n    .source_dir = aro.path(\"include\"),\n    .install_dir = .prefix,\n    .install_subdir = \"include\",\n});\n\n```\n\nNow you can do\n\n```zig\nconst aro = @import(\"aro\");\n```\n\nin your Zig code.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvexu%2Farocc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvexu%2Farocc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvexu%2Farocc/lists"}