Home

Anonymous

Free Pascal Extender

This extension allows to customize the Free Pascal Compiler (FPC), with your own components, languages and whatsoever. The project implements an high-level API for easy access to the low-level compiler internals.

In the first step an alternative OPL parser has been implemented, that demonstrates the separation of semantic code from the syntax parser code. This branch will be extended with more granular semantic procedures.

As a testcase for an independent parser the Oberon/ComponentPascal language will be implemented, as far as possible with the existing compiler infrastructure and code generators. The set of semantic objects and procedures will be extended, according to the needs of this parser.

Further branches currently address the FPC preprocessor and scanner. The FPC preprocessor code is outdated and doen't compile, this will be fixed. The scanner can undergo certain optimizations, to e.g. keep source files entirely in memory.

More branches can address further compiler components (hashtables...), or new functionality like garbage collection.

The repository shall track the FPC trunk evolution. I'm not sure how to achieve this in practice, we'll see...


MongoDB Logo MongoDB