[fpc-pascal] Compiler API specification

2008-02-14 Thread Skybuck Flying
Hello, Here is my idea for a compiler application programming interface (api) / specification: type // informs which file was tried by compiler, if successfull error text should be nil, else it should contain some kind of error messages TcompilerFileTriedCallback = procedure( FullFilename : P

Re: [fpc-pascal] Compiler API specification

2008-02-14 Thread Marco van de Voort
> Is it doable ? If you don't want to set any parameters ( in other words no compiler options dialogue) > I might try and implement a little dll myself in Delphi by simply using the > fpc.exe and parsing it's output. > > Somebody with advanced knowledge of the compiler sources, might be able

Re: [fpc-pascal] Compiler API specification

2008-02-14 Thread Jonas Maebe
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. Jonas __

Re: [fpc-pascal] Compiler API specification

2008-02-14 Thread Marco van de Voort
> 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 u

Re: [fpc-pascal] Compiler API specification

2008-02-14 Thread Florian Klaempfl
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 mo

Re: [fpc-pascal] Compiler API specification

2008-02-15 Thread Skybuck Flying
How would you implement the specification ? Would it be possible to "simply" embed the complete compiler into a DLL ? Or would that make little sense ? Bye, Skybuck. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.