I’ve started writing a compiler.
People doing this are also doing these things:
Entries
I have this book that I found laying around the office. I plan to work through it once I’m done with “Understanding the Linux Kernel”. I never had a compiler class in college and I feel it’s something important that I missed.
I wish I study in a good university where courses like this where taught. I hope I can find the time, I want to make a compiler before my last breath.
I started learning how to use ANTLR (v3) for parsing—it’s awesome. http://www.antlr.org
dandv is reading
“C compiler with optimized code generator for arithmetic expressions”; implemented in Pascal as a BS CompSci graduation project.

i want to write a simple compiler and learn more things about compile principle through the course.I just want to update myself every date.The time i plan to spend in it is about two months,from now on.
Ultimately I’d like my compiler to be able to compile itself! Now that’d be cool! There’s gcc but it’s too big. I’ll make a smaller, more compact version.
Found an excellent guide here: http://compilers.iecc.com/crenshaw/ except that its written in Pascal (which isn’t bad in itself) and it targets the 68000 processor. I’ll re-write it in C/C++ and make sure it targets the x86 line.
→ See all 18 entries
Ask for advice: Get help from people who've accomplished this goal
|
Las Piñas
|
Haw Nan Zhuan asks,
“In making a C/C++ compiler, can I just take the standard header files (stdio.h, stdlib.h, etc) off an existing C/C++ compiler and just plug it in mine?”
— 3 years ago |
|
|
|
src asks,
“I want to develop a compiler in C++ but don't know where to begin can any one help?”
— 4 years ago |
|




