Last changes: 2017-02-15
I am currently the maintainer of an improved version of the Stanford Pascal compiler. It runs on VM/370 Rel. 6 on the Hercules emulator; this is a free (very old) version of IBMs VM operating system. AFAIK, this version of Stanford Pascal will run on todays zVM and on some or all flavors of z/OS aka MVS too, but I have no machines available to test this, at the moment.
This page tells the story, how I came into playing this role, what I did so far, and what I will do next (if I get the spare time to do it). And for interested persons, there are links to the needed resources to test the compiler (see "Resources" paragraph).
You can follow the development process more closely on this Facebook page:
Stanford Pascal on Facebook
Warning: no warranty at all for the software contained here; I don't recommend that you use it for any production work. The AWS Tape file may contain an older version, which is not as current as the development stories from above. The source codes will be more current, but maybe you will not be able to compile them using the older versions on the AWS Tape, because it is sometimes necessary to apply incompatible extensions to the compiler. If I have time, I will put the new version to the AWS Tape, too (if the new version is stable enough).
If you have difficulties running or compiling the actual versions, contact me directly. I will help you as soon as I can, and I would like it if you test this compiler using some Pascal sources you maybe have.
The source code of the first pass: PASCAL1.PAS
The source code of the second pass: PASCAL2.PAS
To start Pascal programs using VM/CMS: XRUNPARM.ASS
The Pascal monitor and runtime: PASMONN.ASS
The source code of the LIBX library routines: PASLIBX.PAS
The source code of the Snapshot routine: PASSNAP.PAS
The source code of the XCOMP compare utility: XCOMP.PAS
AWSTape File to TAPE LOAD the Pascal system to CMS
The Programming Language Pascal (Niklaus Wirth, 1972)
Stanford Pascal/360 Implementation Guide (1974)
P-Code Description (1978)
The Stanford Pascal compiler (1979)
Pascal/VS Language Reference Manual (1981)
LE Stack and Heap Implementation (IBM 2005)
P-Code Description (2016) - work in progress