Possible Duplicate:
Bootstrapping a language
I have read about bootstrapping from Wikipedia . I want to know how C compiler was written in C ? Everyone says that if you are writing a compiler for a new language you have to write it in an existing language ? Then how was the first ever known compiler written ? Is there a way to write a compiler for a new language in the same new language ? If yes how ?