News for hackers. Stuff that matters.
Re:Lisa Emulator Project by Rochus on Wednesday December 20, 2023 @09:33PM (#38716367)
Here is a tool to view, cross-reference and navigate the source code: https://github.com/rochus-keller/LisaPascal; Pascal, Clascal and assembler files are supported.
Re:Lisa Emulator Project by fzzzy on Wednesday December 20, 2023 @10:12PM (#38716594)
That sounds really cool. This link came up 404.
Re:Lisa Emulator Project by TheNightman on Thursday December 21, 2023 @01:33AM (#38717662)
Re:Lisa Emulator Project by Rochus on Thursday December 21, 2023 @06:51AM (#38719338)
Oops, HN adds the semicolon to the URL; I should have used a dot instead.
Re:Lisa Emulator Project by acqq on Thursday December 21, 2023 @03:43AM (#38718281)
Wow, thanks!

Reading the doc. Fantastic work:

"The source tree is converted to a virtual file system using the original file names, considering Pascal files only. All program and unit files of this file system are parsed and include directives are resolved"

Now, is the final state of Lisa source:

"The full source tree" "has 12 missing include files and 7 syntax errors"

Should some initiative be made for Apple to publish these missing 12 too or is it something that can be now guessed enough to fill the gaps?

Re:Lisa Emulator Project by Rochus on Thursday December 21, 2023 @06:50AM (#38719332)
It's difficult to say whether these file are indeed missing, or whether the files referencing them are not used by themselves for the build. I came to the conclusion that I would also have to implement an interpreter for all the build related files (EXEC etc.) and try to reconstruct a complete build with the correct options (which I don't know yet) in order to be able to make any statement about the completeness and integrity of the code. That would take a lot of time at the expense of my other interests. That's why I've put the project on hold for the time being.
Re:Lisa Emulator Project by acqq on Thursday December 21, 2023 @07:32AM (#38719642)
Also thanks for mentioning Clascal, I wasn't even aware of it. Also fascinating:

https://en.wikipedia.org/wiki/Clascal

https://bitsavers.org/pdf/apple/lisa/toolkit_3.0/Package_2_E...

Re:Lisa Emulator Project by Rochus on Thursday December 21, 2023 @07:41AM (#38719721)
There is also a "Clascal Reference Manual for the Lisa" (1983) available on the web, and Larry Tesler talked about it (https://youtu.be/OloLXE4I5fw?t=7665). They needed an OO language, but Smalltalk was too slow, so they came up with Clascal.

Some years later Apple joined with Wirth to co-design Object Pascal.