Thank you very much !

A friend called Rene Jansen tried the compiler in May 2017
on modern z/OS and MacOS, look here:

it worked without problems; only for MacOS we had to make a minor
change, because colons in environment variable names are not allowed.

I used the following syntax

set DD:INPFILE = c:\work\pascal\work\inpfile.dat

to assign physical file names to logical names from the Pascal program;
because of the MacOS problem, I changed that to

set DD_INPFILE = c:\work\pascal\work\inpfile.dat

(the syntax to set environment variables may be different depending on platform).

You can build a working MacOS version yourself; you only have to compile
PCINT.C (the P-Code interpreter) on the target platform. Look at AW.CMD
at the GitHub distribution to get an idea how to do it. You can download the whole Pascal system as a ZIP file from GitHub. (All you need is a C compiler on MacOS ... or on any other target platform. On the mainframe - MVS or CMS -
the installation procedure is different, no C compiler needed).

Kind regards


Am 03.02.2018 um 07:32 schrieb Paul Raulerson:
I have to say, that is just dang *cool*.  I loved reading your page.  You sir, 
are damned impressive!

Let me know if you get a Mac version working please. :)


On Feb 2, 2018, at 3:24 AM, Bernd Oppolzer <> wrote:

Because of this topic drift, I'd like to inform you, that I
recently added strings to my version of the Stanford Pascal compiler,
which is a descendent of the Wirth Pascal P4 compiler.


The new compiler version (with strings) will be available in the next few days,
you can get informations here:

and here:

Reply via email to