The student adviser we were working with is suddenly on leave.
The plan was to design a compiler for a program which is similar to C (the basic structure of C still exists but keywords have been changed for example : for(i=0;i<10;i++) would now look like : loop i from 0 to 9 up 1 . And things such as #include have been omitted entirely. We thought of many such little changes to make the language simple and unique). We want to make a compiler for our language (still in production), but want to write the programs to implement our language and compiler using C.
Please suggest a book that would help us. I bought the new version of the dragon book, but it contains few examples ,and even those are in java (I dunno). Plus the theory is daunting, and its taken me a week just to get to chapter 4, and I have too many questions already.
Is it possible to write a compiler within a 5 weeks? Should I be spending 2 more weeks just trying really hard to understand the theory? What should we do?
thanks for reading.