Interesting stuff. Perhaps I can use this to learn retro game programming with Pascal.
So the 1st question: how to build the compiler?
I'm still navigating the github repo and didn't find any specific readme/makefile. Perhaps I missed something...
I'm still navigating the github repo and didn't find any specific readme/makefile. Perhaps I missed something...
Also most likely fpc src/mp.pas takes care of compiling everything.
https://raw.githubusercontent.com/tebe6502/Mad-Pascal/master...
wc mp.pas
52411 186123 1638175 mp.pas
I see references to cc65—hopefully this is not needed. Perhaps, it uses features from the macro assembler ca65.Maybe Mad Pascal translates Pascal to C, then uses cc65??
And fpc src/mp.pas produced some errors. Oh well. Gotta check at weekend.
fpc -Mdelphi -vh -O3 mp.pas