![]() I’ve been working on my own C compiler, nqcc for the past several weeks, using Abdulaziz Ghuloum’s An Incremental Approach to Compiler Construction as a roadmap. It seems like an impossibly hard project (but isn’t!), so writing one will make you feel like a badass.You’ll learn about assembly, calling conventions, and all the gritty, low-level details of how computers, like, do stuff.Handy for working with linters, static analyzers, and metaprogramming of all sorts. You’ll learn about abstract syntax trees (ASTs) and how programs can represent and manipulate other programs.Here are some reasons to write a compiler: This is the first post in a series on writing your own C compiler.
0 Comments
Leave a Reply. |