modifying the existing "front-end". Perhaps someone here may know of existing code to perform such a translation or at least know where to find decent documentation of the P4 P-Code (BTW, if so, I may be interested too;-).
I still have a copy of the Portable Pascal (P4) compiler and the P4 interpretor. I also have a copy of the Path Pascal compiler and interpretor! (Path Pascal added processes and objects, and path expressions. A path expression a description of how public elements of an object are syncronized for concurrent access.)
--Phil