1,105,197 Community Members

Required help in Lex/yacc programs

Member Avatar
Newbie Poster
12 posts since Oct 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]

I need some help in the subject of compiler.Please suggest me some links to develop a compiler using lex and yacc(as i have no idea about lex/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..
Any help would be appreciated... :)
Thank you.

Member Avatar
Senior Poster
3,821 posts since Aug 2010
Reputation Points: 1,323 [?]
Q&As Helped to Solve: 661 [?]
Skill Endorsements: 19 [?]
Member Avatar
Posting Maven
2,632 posts since Apr 2010
Reputation Points: 134 [?]
Q&As Helped to Solve: 378 [?]
Skill Endorsements: 17 [?]

Ah good ol' dragon book. :) That's what I used when I took compiler class.

This article has been dead for over three months: Start a new discussion instead
Start New Discussion
Tags Related to this Article