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. :)

Same answer as the last time you asked this, 5 days ago: Dragon Book

I think that what Momerath is saying is DON'T ASK US TO DO YOUR SCHOOL WORK FOR YOU! :rolleyes:

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.