Interesting... I found one (negligible) problem:
The "Compiler sources and objects exported files in Lisa TEXT format from dc42 disk images made with AppleSauce" file (http://pascal.hansotten.com/uploads/lisa/Lisa%20Pascal%20sou...) seems to be an empty ZIP file (download size is 22 bytes).
Also, some stuff seems to be unimplemented in the compiler, e.g. the GlobalOptimize function, which is called from some locations in pas-MISC.TEXT.txt, does nothing:
PROCEDURE GlobalOptimize(VAR fstmt: pstmt; thisprocpn:pn);
BEGIN {GlobalOptimize}
END; {GlobalOptimize}
As far as I understand, the provided files don't represent the latest compiler version. So maybe a later version had a better optimizer. But it's good to have the sources anyway, so I can use it to clarify language issues for my forthcoming Lisa Pascal compiler/transpiler.
There's also some early Mac support in the compiler (there's a "MacFlag" that modifies details of the code generation). It's definitely good to have the sources and also a nice example of a compiler for my students.
Not really surprised. Depending on what phase in the compilation process things called it may have been decided that an optimizer wasn’t worth the effort or too ambitious for the time budget.
Also, some stuff seems to be unimplemented in the compiler, e.g. the GlobalOptimize function, which is called from some locations in pas-MISC.TEXT.txt, does nothing:
Same here. But the converted files are ok.
> some stuff seems to be unimplemented
As far as I understand, the provided files don't represent the latest compiler version. So maybe a later version had a better optimizer. But it's good to have the sources anyway, so I can use it to clarify language issues for my forthcoming Lisa Pascal compiler/transpiler.