Graeme Geldenhuys wrote:
Hi,
Does FPC include a "general purpose" object pascal parser we can use
in our own projects? Obviously the FPC compiler itself has a parser,
but is that a free-standing unit or class we can use in other
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.
I don't want to create 'yet another object pascal parser', and I can't
use existing Delphi ones, because it needs to support the FPC language
syntax (and support for include files) specifically.
Have a look at fpc/packages/passrc.
Regards,
Adriaan van Os
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal