[fpc-devel] Allow record helper inheritance in Delphi mode
Michael Van Canneyt
michael at freepascal.org
Tue Aug 29 22:06:55 CEST 2017
On Tue, 29 Aug 2017, Maciej Izak wrote:
> 2017-08-29 17:51 GMT+02:00 Ondrej Pokorny <lazarus at kluug.net>:
>
>> On 29.08.2017 17:47, Anthony Walter wrote:
>>
>> Out of curiosity, is there any strategy that is or can be employed to
>> ensure new language features and mode switches automatically work with
>> codetools and by extension the Lazarus IDE?
>>
>> Or is duplication of effort the only way to get codetools properly parsing
>> new language features?
>>
>>
>> "duplication of effort" is the correct answer :)
>>
>
> for codetools synchronized with compiler we should have:
>
> * new frontend for compiler (dual licensing GPL/LGPL with static linking
> exception would be cool for 3rd tools)
> * or smart plugins system for compiler
> * or some other hardcore solution :)
I advise against it.
The codetools need a lot more than just a working compiler.
The compiler was never designed to be used in an IDE.
And actually, duplication of effort has a good side:
in a way, the IDE independently 'checks' the working of the compiler.
Michael.
More information about the fpc-devel
mailing list