I have been looking into compiler design lately out of curiosity and am looking for a good source to turn to for creating a C++ compiler. Does anyone have any suggestions?
Writing Compiler
Page 1 of 14 Replies - 1315 Views - Last Post: 27 April 2010 - 06:10 PM
Replies To: Writing Compiler
#2
Re: Writing Compiler
Posted 27 April 2010 - 07:15 AM
A C++ compiler? Surely you jest. That would be a complex project, that you would not finish. I suggest setting your goals a bit lower and starting to write a syntactical analyser component of a compiler for a simple language and than build from that (I said this because you said that you read smth about compilers so I assumed you have a basic knowledge). You may find this link useful.
edit: a good source of info is web pages of tutors who teach uni compilers courses. Often you will find a lot of stuff accessible from outside of their network.
edit: a good source of info is web pages of tutors who teach uni compilers courses. Often you will find a lot of stuff accessible from outside of their network.
This post has been edited by muballitmitte: 27 April 2010 - 07:22 AM
#3
Re: Writing Compiler
Posted 27 April 2010 - 08:12 AM
Martyn.Rae has a number of tutorials in our C++ Tutorials about writing an interpreter, which may be helpful.
#4
Re: Writing Compiler
Posted 27 April 2010 - 05:25 PM
I know that I am biting off a lot more than I can chew. That's how I've learned most of what I know though. I'm really interested in any sort of compiler design in general. I'll probably create my own simple language for it like most beginners do. Both links provided extremely helpful.
This post has been edited by jkNuke: 27 April 2010 - 05:26 PM
#5
Re: Writing Compiler
Posted 27 April 2010 - 06:10 PM
So you think you can handle this? Start by reading and understanding the dragon book. Come back when done.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote






|