Vexu/arocc
View on GitHub ↗ ★ 1,859 Zig
A modern fully featured C compiler.
10 mentions on Hacker News by 7 people: 2 stories, 8 comments · first 2021-05-10 · latest 2026-04-23
20082026
-
…compiler written in Zig, Aro[1], which Zig started using since 0.16 for its TranslateC module. [1]: https://github.com/Vexu/arocc
comment by spiffyk · 2026-04-23 · in Writing a C Compiler, in Zig (2025) -
…its TranslateC functionality (for translating C headers into Zig, not whole programs) in 0.16. [1]: https://github.com/Vexu/arocc
comment by spiffyk · 2026-04-23 · in Writing a C Compiler, in Zig (2025) -
just forked https://github.com/Vexu/arocc and it took me 5 seconds to complete it.
comment by falloutx · 2026-02-05 · in We tasked Opus 4.6 using agent teams to build a C Compiler -
…will also be delegated to the new Clang package along with C++ and ObjC compilation). [1] https://github.com/Vexu/arocc
comment by flohofwoe · 2024-12-07 · in 21 Algol 60 Compilers in 1962 -
▲ 221
Aro – Zig's new C compilerstory by whatever3 · 2024-07-20 · 123 comments
-
…to not depend on LLVM anymore, there might be a reason to use a C compiler written in Zig (possibly https://github.com/Vexu/arocc )
comment by ptato · 2023-04-14 · in Zig build system -
▲ 150
Aro: A C compiler written in Zigstory by frankjr · 2022-02-04 · 27 comments
-
…By the way, check out this project by Zig core team member, Vexu: https://github.com/Vexu/arocc
comment by AndyKelley · 2021-09-08 · in Maintain It with Zig -
…started from the other side as you, with the preprocessor mostly done, but the backend left to-do: https://github.com/Vexu/arocc One thing that might make libclang worth the cost, however, is its ability to compile C++ code as well. On…
comment by AndyKelley · 2021-05-10 · in Adding ANSI C11 C compiler to D so it can import and compile C files directly