[net.unix] Berkeley Pascal for Sys V

hmc@hwee.UUCP (07/14/86)

We are running a Perkin-Elmer 3230 under PE's Xelso operating system, which
is standard System VR2. I have been trying to put up the Berkeley Pascal
on this system. We have Release 3.0 of this which is written for 4.2BSD on
a Vax or 68000. I decided that the interpreter would be easier to port than
the compiler. I have come across two major problems.

1)	The interpreter uses the machine's stack to pass arguments to
	routines. There is a sed script for modifying the assembly
	code of the interp routine to do this.

2)	It assumes that longs can start on a short boundary.

I solved the first problem by just using a global array for the stack and
not trying to use the machine's stack. I have been gradually sorting out
all the boundary problems but it is a slow and tedious process.

Has anyone gone through this loop before and produced a genuinely portable
version of Berkeley Pascal? I would be interested in either/both the
interpreter (pi/px) and the compiler (pc).

Sorry about posting this to so many groups, but I hope that way I might
get lucky.

-- 
*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*
+                                                                             +
+              "Who are all these people in my office anyway?"                +
+                                                                             +
+     Hugh M. Conner                                  hmc@ee.hw.ac.uk         +
+                                                                             +
*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*

dave@murphy.UUCP (Dave Cornutt) (08/01/86)

This is in response to Hugh M. Conner's query about Berkeley Pascal.  Sorry
for posting this, but I couldn't find an email path.

>Has anyone gone through this loop before and produced a genuinely portable
>version of Berkeley Pascal? I would be interested in either/both the
>interpreter (pi/px) and the compiler (pc).

I don't know about Berkeley Pascal, but we have a version of LNS Pascal that
was ported to our Concept machines, which have the same boundary restriction
that you mentioned.  I haven't used it, so I can't vouch for it.

>+              "Who are all these people in my office anyway?"
Steve Hackett, right?

---
"Freedom of speech includes volume" -- Gallagher

Dave Cornutt, Gould Computer Systems, Ft. Lauderdale, FL
UUCP:  ...!sun!gould!dcornutt or ...!ucf-cs!novavax!houligan!dcornutt
ARPA: wait a minute, I've almost got it...

"The opinions expressed herein are not necessarily those of my employer,
not necessarily mine, and probably not necessary."