Learning Compilers using C++

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

Advertisements

Shakti wrote:
> 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.

Advertisements

On 5 Nov 2006 23:54:37 -0800, Shakti wrote:
> 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..

Ian Collins wrote:
> Shakti wrote:
>> 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.
>

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.

Shakti wrote:
> 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..

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
benben wrote:
> Ian Collins wrote:
> > Shakti wrote:
> >> 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.
> >
>
> 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

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!