[fpc-devel] language extensions

Florian Klaempfl florian at freepascal.org
Thu Jun 14 08:42:49 CEST 2007


Neil Graham schrieb:
> Daniƫl Mantione wrote:
>> Andreas uses a preprocessor to convert the language extensions into
>> Delphi compatible code. This is a remarkable achievement, but I don't
>> see much value for this approach for Free Pascal; since we have the
>> source code, we could implement the features directly.
>>   
> I think it's good to do things like this as a preprocessor(when
> possible) initially.  It means ideas can be
> tried out more easily and given a test run before attacking the compiler.
> 
> I guess it could be done in the compiler if someone made a plugin
> mechanism for fpc.

Why do you need a plug in mechanism? You've the sources? When you have
the sources, 90 per cent of the use of a plugin are gone.



More information about the fpc-devel mailing list