Hi all ive been thinking of a writing a compiler in java for my final year project. I have started to browse the net for help but to be honest its confused rather than helping me to get a clear image of what I would like to do.
E.g. I have read that a compiler is something which transforms source code (Java) into another computer language. To my knowledge that is a cross compiler? I always thought a compiler is what translates a source code (Java) into machine code. So many website say different things. Also I haven’t really had a module on compiler design so im a blank slate at the moment.
So I was just wondering anyone has written there own compiler in Java what the necessary steps and maby where should I start. I would be very grateful if you could recommend some good reading material
Thanks in advance.