N.B. This is pre-Borland, so this is (almost) "classic" Pascal (but
not quite!). Scott Franco's P5 bytecode compiler (derived from this!)
is full ISO 7185 "standard" Pascal and should be preferred over this
P4 subset.

* http://www.standardpascaline.org  (or check Wayback for archived copy)
* https://sf.net/projects/pascalp5

* http://www.gnu-pascal.de
* https://wiki.freepascal.org/Standard_Pascal
* http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/pascal

Trevor Blight's P5C adaptation (based upon Scott's work, also public
domain) is "ISO 7185" (level 1) and targets C dialects of newer GCC
and Clang:

* https://sf.net/projects/pascal-p5c

This original P4 (from ETH Zurich in 1976) was documented in
Steven Pemberton's book (see his website for the online text).
That code (pcom.p pint.p), with fixes, is all declared public domain.

* https://homepages.cwi.nl/~steven/pascal/

Unfortunately, it had some portability bugs, and even the p2c output
C code Steven provided in 1996 (p4c.tar.gz) didn't really work.

Scott made some minimal fixes to P4. I merged these with the original
sources, ran it through P2C, made a few diffs, and now it compiles
with either GCC or OpenWatcom. More importantly, it passes Scott's
(almost) "standard" test!

P4 was meant to be ported, extended, and made working in various
environments. Hopefully this "fixed" C version continues that goal.

rugxulo _AT_ gmail
