If you searched google and found nothing, then your google-fu needs serious practice...
A very quick search -
write compiler c - Google Search[
^] - found 24 million hits.
Start with some of them, and see what you can learn.
But...if your google-fu is that poor, then actually writing a compiler for any "real-world" programming language is going to be a difficult task - it's a lot of work.
Good luck - you are going to need it! :laugh: