[fpc-pascal] FPC Object Pascal parser?
Michael Van Canneyt
michael at freepascal.org
Thu Apr 15 13:36:12 CEST 2010
On Thu, 15 Apr 2010, Graeme Geldenhuys wrote:
> On 15 April 2010 12:58, Marco van de Voort <marcov at stack.nl> wrote:
>>> projects? I know fpdoc needs to parse source code as well, but I don't
>>> know if it uses the same parser as the FPC compiler.
>>
>> No, it uses fcl-passrc.
>
> Perfect, thanks. Now my next question is, how up-to-date is the parser
> [compared to the FPC parser]? Looking at the repository history for
> the fcl-passrc directory, it looks like things are being updated.
> February had a large update from Mattias.
Yes. It now parses the whole of the packages directory.
That was the contract for Mattias.
>> A third, more limited parser exists inside ptop and other highlighting and
>> source beautifying tools.
>
> I would prefer to use something included with FPC - that at least
> promotes the idea that it will stay updated as new language features
> get added to FPC.
This is the idea for passrc.
Michael.
More information about the fpc-pascal
mailing list