Apple Lisa Pascal sources

On this page:

  • Apple Lisa Pascal and Silicon Valley Software Pascal
  • Apple Lisa Operating system sources
  • Apple Lisa Pascal Compiler sources, converted to plain text files
  • Downloads

Apple Lisa Pascal and Silicon Valley Software Pascal

Apple Lisa Pascal started as a buy in of the Silicon Valley Software (SVS) Pascal compiler. And maintained/expanded the compilers you can read in the sources.
SVS continued selling Pascal compilers, in the manuals you can read references to versions for CP/M and more.

The compiler does multiple passes over the source. An intermediate cod representation is produced, an optimizing code generator produces 68000 object code, a final linker step combines object codes, also from assembler, to a program.

This dialect of Pascal enhanced the language quite a bit. Examples are Units with INTERFACE and IMPLEMENTATION parts. File I/O is not limited to text files, SEEK, BLOCKREAD and BLOCKWRITE are present. String manipulation such as DELETE , COPY INSERT. EXIT, HALT for program control.
Lisa Pascal was not object oriented, that was left to Clascal and Object Pascal later. It was also not an USCD Pascal variant, but developed independently. Clearly based upon the “Wirth School of compilers” but made very practical, with ideas from USCD Pascal, to use as tool for Operating System development.

Apple Lisa Operating system sources

Apple has released recently sources in Lisa Pascal and assembler source format of the Lisa Operating system. The files are in text format. See the Downloads below. Note that the compiler sources refer to files in the operating system archive.

Apple Lisa Pascal Compiler sources

I found an archive with the source of the Lisa Pascal compiler by Silicon Valley Software.
The archive contains images of Lisa disks in dc42 format. In these disk images are the sources (and more) of the Silicon Valley Software 1981 Pascal compiler, maintained by Apple for the Lisa, last updates in these sources 1984 .

Andy McFadden (of Ciderpres fame) analyzed this and advised me to read these disk images on a MacIntosh (10.11 or later) with AppleSauce software, showed me in the following screenshot:
. Thanks to @applepc on Mastodon also!
I installed High Sierra in a Virtualbox and loaded AppleSauce.Using Disk Analisys of the dc42 disk images and exporting delivered exact copies of the files as they are stored in the Apple file system, in Apple Lisa TEXT format.
This format is described in the Apple Lisa documentation (see the Bitsavers archive of Lisa documents) and it was not difficult to write a program to strip the Lisa artefacts and deliver a clean plain ASCII text file. All included in the downlaods below.

Manuals

Lisa Pascal 3.0_Reference Manual 1984
Pascal Reference Manual 1983
Lisa Develpment System Internals Documentation 1984
SVS_Pascal CP/M68K September 1983

Downloads

Lisa Operating system archive in plain Unix text files
Archive with dc42 disk images of Apple Lisa Pascal Compiler
Compiler sources and objects exported files in Lisa TEXT format from dc42 disk images made with AppleSauce
Apple Lisa Pascal compiler sources in plain txt format, with tool to create from TEXT files