logoalt Hacker News

timonokotoday at 7:12 AM2 repliesview on HN

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.


Replies

timonokotoday at 10:39 AM

I found 50 pages manual for the Noko-Pascal. Finnish Army paid for it, because nothing comparable was available. Writing the manual was 10 times bigger task.

The army used Nokopaskal for testing radio modems. Looks like the language was heavy with low level constructs like PORT.

I truly did not remember any of this until today.

https://photos.app.goo.gl/uibbTgCQmm4XCa9c6

timonokotoday at 9:02 AM

Erh. What?

Here is my infamous 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)
show 1 reply