Learning Compilers using C++

S

Shakti

Hi,
I wish to improve on my skills of writing a compiler. So I would like
to study the compilers that are there and first try to fix simple bugs
in them. Can any one sugges on what compilers I can start? I dont want
to start something complicated..
 
I

Ian Collins

Shakti said:
Hi,
I wish to improve on my skills of writing a compiler. So I would like
to study the compilers that are there and first try to fix simple bugs
in them. Can any one sugges on what compilers I can start? I dont want
to start something complicated..
The obvious answer would be gcc, but compilers are very complex beasts,
so don't expect an easy ride.
 
C

Christof Meerwald

I wish to improve on my skills of writing a compiler. So I would like
to study the compilers that are there and first try to fix simple bugs
in them. Can any one sugges on what compilers I can start? I dont want
to start something complicated..

OpenWatcom (http://www.openwatcom.org) might be worth a look (and of course,
there is gcc)


Christof
 
B

benben

Ian said:
The obvious answer would be gcc, but compilers are very complex beasts,
so don't expect an easy ride.

GCC is way too big to tackle for the first time. C++ is a complex
language and a C++ compiler is very also very complex. I suggest you to
start with something simpler, like a pascal compiler.

Ben
 
S

Shakti

Hi,
thanks for the suggestion. Can you send me some link on the PASCLE
compiler...I will try in google but still if you know some thing
specefic?
'Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top