92 points · by nanochess · 3mo ago · 22 comments
This reads very much like the same journey I made recently when reviving my old OS, only Oscar went much further than I did and wrote a working browser as well, which - even though the browsers back then were much simpler - is extremely impressive. I still have a stack of disks from those days, I should probably find a way to read them to see what's on there.
edit: I sent DJ Delorie a short note, I should have done that years ago, without him I would have never managed.
I love the website still looks exactly like I remember it (even though I'm sure it isn't) https://www.delorie.com/djgpp/
The code of the O.P. is actually not so bad for a teenager; however, the variables in Spanish do not help: "[isq]" and "[der]" probably stood for "isqierda" and "derecha", so the index of the left and right subtree of an expression.
Speaking of Transputers, Dr. Tim King, founder of Perihelion, was another big name of the Transputer times; he sadly passed away last month (he also wrote Tripos, which turned into AmigaDOS).
"Worst, it required two more programs: Flex and Bison."
In the early 80s I had the idea to port a C compiler to a new machine (I forget if this was K&R or pcc, but those were the only two C compilers you could get the source for at the time, legal issues aside...). At some point I had that same realization: uhh...this thing needs two other pretty big things: yacc and lex. The "first catch your fish" of compilers: "first port the parser-generators".
"Those take less space than lex/yacc so of course not".
"The source code for a work means the preferred form of the work for making modifications to it."
For lex and yacc, that means the original .y and .l files. You don't have a choice if you want to be compliant with the terms. Also, shipping the .h and .c files in addition also ends up confusing the build systems of the time.
> For lex and yacc, that means the original .y and .l files. You don't have a choice if you want to be compliant with the terms.
Okay? I don't say "drop .y and .l files", I say "throw in the .h and .c produced from them as well into the tarball distribution".
> Also, shipping the .h and .c files in addition also ends up confusing the build systems of the time.
How?! If it were true, then merely having them in the source directory after running "make" for the first time would also break the build which obviously is not something that ever happened.
https://en.wikipedia.org/wiki/AMD_Am29000
"Based on the seminal Berkeley RISC, the 29k added a number of significant improvements... One design element used in some of the Berkeley RISC-derived designs is the concept of register windows, a technique used to speed up procedure calls significantly."
Oh poor soul...
https://github.com/nanochess/Am29000
This is cool, it's very Motif like.