Show HN: Overengineered Calculator: Zig and QBE
Category: devtools
Tags: compiler, zig, qbe, tutorial, code-generation
Score: 5.0/10 (Innovation: 6, Technical: 6, Documentation: 7, Utility: 3)
A pedagogical project that compiles arithmetic expressions to native executables using Zig and the QBE compiler backend. It demonstrates tokenization, parsing, AST interpretation, QBE IL emission, and linking, serving as a hands-on tutorial for compiler construction.
Target audience: compiler enthusiasts, students, backend developers
Repository: https://tomekw.com/overengineered-calculator-zig-qbe/
View on Hacker News