5 ms·
My implementation of M-I-U, more than 30 years ago, as a kid, in Turbo Pascal. https://github.com/ehud/MIU https://github.com/ehud/MIU
by ehudla 10y ago
My implementation of M-I-U, more than 30 years ago, as a kid, in Turbo Pascal.
https://github.com/ehud/MIU https://github.com/ehud/MIU
- jaytaylor 10y agoThat's really cool and impressive that you saved it for so long! Clean code, too :)
- ehudla 10y agoThanks. It is a miracle something survived on those floppies, let alone computer deaths... The directory they are under is called "Y2K Backup\MYFILES\Ancient Pascal Disk 3"...
- hultner 10y agoSometimes I wish I would've saved code from my younger days so I could go back and hack on them again, to bad github didn't exist back then.
- ehudla 10y agoI was asked how to install Pascal now, but I have no idea. I suspect the code relies on DOS and Turbo Pascal too much to run now without jumping through some hoops.
- mixmastamyk 10y agoDidn't the original PC have lowercase? I thought I programmed TP in mixed-case, but can't remember.
- defined 10y agoI definitely programmed TP 1.0 in mixed case on a TRS-80 Model II running CP/M.
- ehudla 10y agoSure. It was a style thing!
- pjmlp 10y agoPascal wasn't case sensitive, so it was mostly a matter of style. On Modula-2 and Oberon languages and their descendants keywords are uppercase and the languages are case sensitive. But you could anyway write in lowercase and let the editor format the code for you, no need for banging the shift key all the time. :) Actually I kind of like having keywords as uppercase, it means on a poor man's teletype or modern black-and-white printer without formatting, it is easier to spot the keywords versus the rest of code.
- ac0kg 10y agoCool, compiles and runs in Turbo 7 under DOSBox. http://imgur.com/a/V7BAD http://imgur.com/a/V7BAD