Article

From:
To:
Rudy Velthuis (TeamB)
Subject:
Re: Delphi Project X Cross GUI
Newsgroup:
embarcadero.public.delphi.non-technical

Re: Delphi Project X Cross GUI

Rudy Velthuis (TeamB) wrote:
> Mattias Andersson wrote:
>
>> Rudy Velthuis (TeamB) wrote:
>>
>>> I don't follow, sorry. They do write compilers, don't they? That
>>> makes me think they are not dependent on existing compiler
>>> generators.
>>
>> Well, a lot of compilers are dependent on existing compiler
>> generators
>
> So what? They already have a compiler. Converting that to Delphi
> should not require the generation of a new one by a compiler
> generator.

I was not making any claims about "converting to Delphi". I was simply
responding to your assertion that there is no dependency between the 
compiler and the compiler generator.

> Which compilers are actually dependent on existing compiler
> generators?

If you want to change the grammar of the language then this requires you to 
recreate the shift/reduce tables of the parser. The compiler generator will 
also give you skeleton code that you will have to integrate in the existing 
parser. This process may be more demanding depending on what compiler 
generator you're using. It's obviously a different work methodology than 
writing a compiler "by hand".

Mattias
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Mon, 25 Nov 2024 11:45:54 UTC
Copyright © 2009-2024
HREF Tools Corp.