hi
I need some help in the subject of compiler.Please suggest me some links to develop a compiler using lex and yacc.The input should be a simple C or C++ program and the output should be all the 7 stages of the complier(lexical analysis,synatx analysis,sementic analysis,intermediate code generation,machine independent code optimization,code generator and machine dependent code optimisation).
Please suggest some links where codes are available and its easy for me to understand and write the program.. Thanx in advance. :)