Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

Hercules - Neue Version des Stanford PASCAL Compilers

Subject:

[H390-VM] Stanford PASCAL on VM 370/R6

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

Date:

2011.10.24 14:22:00


Hello all,

I was kind of disappointed with the 1979 version of Stanford PASCAL which is on
the VM-370 hercules distribution, because it lacks so much features I recalled
from my former work with PASCAL/VS, for example.

But recently I found a newer version of this PASCAL compiler on MUSIC/SP, of
1982. And I managed to port it to VM/370. I even did some extensions to it, for
example:

(. .) as substitute for [ ] also allowed, not only (/ /)

-> as substitute for @ (pointer symbol)

still to be done: /* ... */ style comments

I also want to fix the year-2000 problem with DATE and other minor bugs. Also I
would like the generated code to run in AMODE 31 on a 31-bit system, on todays
z/OS for example. Maybe this could be possible.

The compiler will run on MVS, too, I think.

I have one minor problem. When running the PCODE-translator, it sometimes goes
into an endless loop. This seems to be an initialization problem. If I do
something like LOAD TESTP (CLEAR before running it, everything works fine, but
if another PASCAL program using the same PASCAL monitor was run before, the loop
happens.

This must have something to do with the PASCAL monitor and the way it works on
MVS and CMS - there must be some differences.

Any hints or suggestions?

Kind regards

Bernd

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie