[Lazarus] Using FPC parser/tokenizer for code formatting
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Sat May 29 16:23:43 CEST 2010
Florian Klaempfl schrieb:
> I doubt this, just one example: ptconst.pas: it parses typed constants.
> Due being tailored for the compiler, it reads the constants and writes
> them without any second pass to the output assembler list. A generic
> parser needs to create first some kind of parse tree and this parse tree
> needs to be outputted in a second pass.
This is what virtual methods are good for.
DoDi
More information about the Lazarus
mailing list