C compiler...

@surfer222 (1714)
Indonesia
March 15, 2012 3:19pm CST
i'm not really a programmer... the only thing i ever compile was hello-world.c ... I've been thinking, what if somehow i end up in alternate universe where i got an x86 computer and a source code of c compiler like gcc, but i don't have a c compiler binary... is there a way to make the source code into c compiler binary? Is there a site that teach you how to make a basic compiler from scratch? I'm not really gonna make a c compiler, i just want to read and understand the process of creating a compiler...
1 response
@varier (5685)
• Indonesia
17 Mar 12
Try to look at here: http://www.compilers.iecc.com/crenshaw/ I haven't read all of the part :p. But in a quick look, I think it is great enough..
1 person likes this
@surfer222 (1714)
• Indonesia
17 Mar 12
Thank's for the link varier... it's interesting to read...
@varier (5685)
• Indonesia
17 Mar 12
You are very welcome, and thanks for BR anyway.. Btw, while you don't want to create any compiler, why do you eager to know about it? Just my curiosity, hehe
@surfer222 (1714)
• Indonesia
1 Apr 12
I won't write any useful program in near future because i still learning them in my free time, but if someday in the future i have all the knowledge to build a compiler, i certainly will built them... since i use computer a lot these days, i'm curious about how the computer work, but i don't have any formal education, so i learn them slowly through reading websites and watching youtube. I don't know weather my knowledge will be useful for me in the future or not but now i'm addicted to computer... that's why i wanted to know many stuff about computer, including compiler.