[fpc-pascal] Compiler API specification

Florian Klaempfl florian at freepascal.org
Thu Feb 14 11:53:15 CET 2008


Marco van de Voort schrieb:
>> On 14 Feb 2008, at 07:15, Skybuck Flying wrote:
>>
>>> Here is my idea for a compiler application programming interface  
>>> (api) / specification:
>> The comphook unit in combination with the compiler unit already  
>> provides such an api. It is used by the text more IDE.
> 
> The comphook unit uses ansistrings, textfile record and exceptions in the
> interface. This is not suitable for interfacing a FPC compiler dll from
> Delphi as Skybuck (or e.g. CrossFPC) wants.

Yes, but one can build easily a wrapper around it which exports
everything in a dll compatible way.



More information about the fpc-pascal mailing list