Pascal for Small Machines

62 ibobev 6 5/4/2025, 1:27:26 AM pascal.hansotten.com ↗

Comments (6)

WillAdams · 6h ago
Anyone with a spare Micro-SD Card and a Raspberry Pi 5 should try:

http://pascal.hansotten.com/niklaus-wirth/project-oberon/obe...

tomcam · 13m ago
Super exciting! Thanks
jksmith · 5h ago
Awesome. Thanks for posting. I miss my modula-2 so much I wrote a bunch of editor macros for Lazarus that allows me to write slightly modula-2 like code in the editor.
pjmlp · 4h ago
Since GCC 14, that GNU Modula-2 is part of GCC.

Also XDS has been freely available for a couple of years now.

What I miss is that there is no modern equivalent of formating keywords on save, I helped with one plugin for Sublime Text on Oberon, maybe need to do the same for VSCode.

timonoko · 1h ago
I made Pascal for 8080 in about a week in 1979. How is it possible you may ask?

Well son, I had Lisp and I just added Pascal translator. Only caveat was that it ignored type declarations and such useless academic shit. Because I had sort-of compiler too, it was not really bad when compared to Turbo-Pascal.

timonoko · 8m ago
Erh. What?

Here is my 1976 Nokolisp-compiler at work:

  c:/ nokolisp
  (comp-debug t)
  (ncompile (macroexpand '(+ 1 2 a)))

  $36E8:$5CC8:   MOV  BX,$02
  $36E8:$5CCB:   MOV  AX,$01
  $36E8:$5CCE:   ADD  AX,BX
  $36E8:$5CD0:   PUSH AX
  $36E8:$5CD1:   MOV  AX,[$0190]
  $36E8:$5CD4:   CALL $0F1D ; CALL NUMVAL
  $36E8:$5CD7:   MOV  BX,AX
  $36E8:$5CD9:   POP  AX
  $36E8:$5CDA:   ADD  AX,BX
  $36E8:$5CDC:   CALL $05C9 ; CALL MAKNUM
  $36E8:$5CDF:   JMP  $1DA7
  (subru: eval=$5CC8, compile=$3B6F)