This is just an overview of my new compiler (still in development…)
Multiple Modes
The compiler was initially developed from and as my spreadsheet formula parser, so it handles the familiar row/column formula style as well as Pascal-style programs.
Reasonably Compatible
Initial versions won’t have full support for any legacy standards but will be reasonably compatible with other modern Pascals (especially FreePascal).
Future versions may also support compatibility options for legacy spreadsheet formats, but spreadsheet & database functionality isn’t finalised yet.
Object Oriented
Support for modern features is prioritised over support for earlier Pascal standards, with object-oriented APIs for text processing and other things materialising slowly.
Traditional Compiler Design
The compiler works like a simplified & modernised version of classic Pascal compilers, so existing reference material is applicable for porting & long-term maintenance.
Highly Flexible
The compiler and minimal runtime are not only written in plain C but are designed from the ground up for safely embedding in larger C/C++ applications.
The compiler works around a simplified p-code format close to modern CPU instructions, allowing for straightforward native-speed ports to typical processor architectures.
Leave a Reply