Show HN: Building compiler from scratch without the help of LLMs [video]
Category: devtools
Tags: compiler, educational, arm64, c-language, from-scratch
Score: 5.3/10 (Innovation: 4, Technical: 7, Documentation: 7, Utility: 3)
A hand-written compiler for a custom C-like language called max--, targeting ARM64 macOS, implemented from scratch in C/C++ with its own frontend, intermediate representation, and backend including linear scan register allocation. It's interesting as a detailed educational project that demonstrates the complexity of compiler construction without relying on LLVM or similar frameworks.
Target audience: backend devs, compiler enthusiasts, systems programmers
Repository: https://www.youtube.com/watch?v=THIkjQnqsbw · C · MIT · 2 stars
View on Hacker News