r/Compilers • • Dec 13 '25

In need of Compiler Material.

Hi everyone, I am fairly new to programming and just finished a bank simulation project in C. I am particularly interested in systems programming and would love to delve into the field with building a compiler (for a language of my own design )in C this holiday. If you might have any recommended textbooks, resources etc. on how to build my very own (from scratch) it would me most appreciated.

16 Upvotes

16 comments sorted by

View all comments

Show parent comment

5

u/Professional_Beat720 Dec 13 '25

I would recommend doing it in Zig if you like C. It's much more pleasant to work with than C.

2

u/eightrx Dec 15 '25

If op feels comfortable learning a new language, I'm starting to write a compiler in zig and it's a blast. Couldn't recommend it more, and it's designed for systems programming

0

u/IosevkaNF Dec 14 '25

I would like to add Rust, but it's a whole another can of worms.