I'm not an expert on the Lisa or Pascal, but my understanding is that Lisa Pascal did compile natively (vs. p-compilers) and was based on the UCSD Pascal dialect (which introduced units), and that Clascal (and later Object Pascal) extended it with objects and classes. The Lisa Workshop's text menu-based command interface appears to resemble that of the UCSD p-System, though it provided access to a mouse-based editor with a Lisa-style GUI.
As a tangent, p-code is like an ancient version of wasm or java bytecodes, though its interpreter (the p-machine) was simple and compact enough to fit on 8-bit machines. Smalltalk also used bytecodes.
The nice bit is that once you implement a bytecode interpreter, everything just runs. It may be slower than native code, but no new code generators or compilers are required.
Mostly safe systems programming language, no Assembly, all Assembly like operations are available via compiler intrisics, UNSAFE code blocks, admin clearance required for modules tainted with use of unsafe code.
This is a bit of a tangent, but I've heard the Mac System was written in Pascal with bits of assembly for speed and I've also heard it was written in assembly with a Pascal API. An Ars Technica article today mentioned some Lisa code was taken and modified to work on the Mac during its development. Was this code Pascal?
Bill Atkinson's QuickDraw is one example of that. The original was written for the Lisa in Pascal, and then brought over to the Mac project. And I believe portions rewritten in assembler for compactness/speed.
Comments
It's Pascal but not UCSD. UCSD compiles to a virtual machine called p-code. Lisa's Pascal compiled down to the metal.
(I used to use a Lisa to write Mac programs. In the early days Macs didn't have enough RAM to run the Pascal compiler.)
I'm not an expert on the Lisa or Pascal, but my understanding is that Lisa Pascal did compile natively (vs. p-compilers) and was based on the UCSD Pascal dialect (which introduced units), and that Clascal (and later Object Pascal) extended it with objects and classes. The Lisa Workshop's text menu-based command interface appears to resemble that of the UCSD p-System, though it provided access to a mouse-based editor with a Lisa-style GUI.
As everything in computing, it depends.
Yes the original UCSD Pascal only did P-Code, however a few implementations supported AOT as well like the Constellation OS from Corvus Systems.
https://en.wikipedia.org/wiki/Corvus_Systems
As a tangent, p-code is like an ancient version of wasm or java bytecodes, though its interpreter (the p-machine) was simple and compact enough to fit on 8-bit machines. Smalltalk also used bytecodes.
The nice bit is that once you implement a bytecode interpreter, everything just runs. It may be slower than native code, but no new code generators or compilers are required.
The concept predates both of those, Burroughs B5000 was one of the first systems using the idea, and is still being sold nowadays.
https://en.wikipedia.org/wiki/Burroughs_Large_Systems
Mostly safe systems programming language, no Assembly, all Assembly like operations are available via compiler intrisics, UNSAFE code blocks, admin clearance required for modules tainted with use of unsafe code.
All of this in 1961.
This is a bit of a tangent, but I've heard the Mac System was written in Pascal with bits of assembly for speed and I've also heard it was written in assembly with a Pascal API. An Ars Technica article today mentioned some Lisa code was taken and modified to work on the Mac during its development. Was this code Pascal?
Bill Atkinson's QuickDraw is one example of that. The original was written for the Lisa in Pascal, and then brought over to the Mac project. And I believe portions rewritten in assembler for compactness/speed.
The Mac version of QuickDraw is here: https://computerhistory.org/blog/macpaint-and-quickdraw-sour...
Now that both are "open", it would be interesting to compare the two and see how they differ.