Developer Tries Resurrecting 47-Year-Old 'Apple Pascal' (and its p-System) in Rust (markbessey.blog)
(Sunday May 11, 2025 @05:02PM (EditorDavid)
from the old-OS dept.)
Long-time Slashdot reader [1]mbessey (a Mac/iOS developer) writes:
> As we're coming up on the 50th anniversary of the first release of UCSD Pascal, I thought it would be interesting to poke around in it a bit, and work on some tools to bring this "portable operating system" back to life on modern hardware, in a modern language (Rust).
[2]Wikipedia describes UCSD Pascal as "a version that ran on a custom operating system that could be ported to different platforms. A key platform was the Apple II, where it saw widespread use as [3]Apple Pascal . This led to Pascal becoming the primary high-level language used for development in the Apple Lisa, and later, the Macintosh. Parts of the original Macintosh operating system were [4]hand-translated into Motorola 68000 assembly language from the Pascal source code ."
[5]mbessey is chronicling their new project in a series of blog posts which [6]begins here :
> The p-System was not the first portable byte-code interpreter and compiler system — that idea goes very far back, at least to the origins of the Pascal language itself. But it was arguably one of the most-successful early versions of the idea and served as an inspiration for future portable software systems (including Java's bytecode, and Infocom's Z-machine).
And they've already gotten UCSD Pascal [7]running in an emulator and built some tools (in Rust) [8]to transfer files to disk images . Now they're working towards writing a p-machine emulator in Rust, which they can they port to "something other than the Mac. Ideally, something small â" like an Arduino or Raspberry Pi Pico."
[1] https://slashdot.org/~mbessey
[2] https://en.wikipedia.org/wiki/Pascal_(programming_language)
[3] https://en.wikipedia.org/wiki/Apple_Pascal
[4] https://www.folklore.org/Hungarian.html
[5] https://slashdot.org/~mbessey
[6] https://markbessey.blog/2025/04/14/a-blast-from-the-past/
[7] https://markbessey.blog/2025/04/15/running-apple-pascal-on-a-modern-mac/
[8] https://markbessey.blog/2025/04/30/ucsd-pascal-in-depth-2/
> As we're coming up on the 50th anniversary of the first release of UCSD Pascal, I thought it would be interesting to poke around in it a bit, and work on some tools to bring this "portable operating system" back to life on modern hardware, in a modern language (Rust).
[2]Wikipedia describes UCSD Pascal as "a version that ran on a custom operating system that could be ported to different platforms. A key platform was the Apple II, where it saw widespread use as [3]Apple Pascal . This led to Pascal becoming the primary high-level language used for development in the Apple Lisa, and later, the Macintosh. Parts of the original Macintosh operating system were [4]hand-translated into Motorola 68000 assembly language from the Pascal source code ."
[5]mbessey is chronicling their new project in a series of blog posts which [6]begins here :
> The p-System was not the first portable byte-code interpreter and compiler system — that idea goes very far back, at least to the origins of the Pascal language itself. But it was arguably one of the most-successful early versions of the idea and served as an inspiration for future portable software systems (including Java's bytecode, and Infocom's Z-machine).
And they've already gotten UCSD Pascal [7]running in an emulator and built some tools (in Rust) [8]to transfer files to disk images . Now they're working towards writing a p-machine emulator in Rust, which they can they port to "something other than the Mac. Ideally, something small â" like an Arduino or Raspberry Pi Pico."
[1] https://slashdot.org/~mbessey
[2] https://en.wikipedia.org/wiki/Pascal_(programming_language)
[3] https://en.wikipedia.org/wiki/Apple_Pascal
[4] https://www.folklore.org/Hungarian.html
[5] https://slashdot.org/~mbessey
[6] https://markbessey.blog/2025/04/14/a-blast-from-the-past/
[7] https://markbessey.blog/2025/04/15/running-apple-pascal-on-a-modern-mac/
[8] https://markbessey.blog/2025/04/30/ucsd-pascal-in-depth-2/