Hacker News new | ask | show | jobs
by jnpnj 57 days ago
I never saw any structured editor on these machines, how did they operate ? grammar guided insertion ?
2 comments

Not a technical answer but when we started up the system (zx 16k) we were in a prompt. We would add commands with line numbers. After each line number the list of possible commands were embossed on the keyboard and you would start with that (if, peek, poke, etc). What you could complete was limited by that. Edit: BASIC programming

That was not a very good description so try this: https://www.usebox.net/jjm/notes/basic/ (scroll down for keyboard pic and also some code). Or this video : https://youtu.be/zgjGsNS6a0Y?t=167

I see. So if IIUC, it's similar to programmable pocket calculators too, and it's very enjoyable to have a physical key per language construct.
Right. That's the gist of the 'curated/guided' command entry.
That's interesting, I hadn't heard of this. I guess IDEs kind of took some elements from that but with more flexibility.
ha! I found an online simulator. Just try to do a

    10 print "hello world!"
to get a feel for it.

https://www.zx81stuff.org.uk/zx81/jtyone.html

A bit confusing but extremely enjoyable, thanks