Create new java compiler
Hi to all :)
I am a college student.
My professors gave me a title in my thesis and one of the feature of this project is to make my own java compiler inside the system (my thesis).
Actually I don't have any idea how to do that or how to start.
Is anyone can help me? Please I really need to know how.
Generating the lexical analyzer, parser and code generator isn't too difficult. Things may become complex if you have to compile several source files if there isn't a compiled version available yet, i.e. you also have to read .class files. Generating correct optimized code can be a challenge too.