4 ms·
I don't see that as a disadvantage because (a) if you're planning to write a compiler, 'new programming language' is probably not something you're troubled by,
by mst 3y ago
I don't see that as a disadvantage because (a) if you're planning to write a compiler, 'new programming language' is probably not something you're troubled by, and (b) having a simple+clean 'toy' language probably makes for better pedagogy.
I'm -slightly- surprised it isn't using a C-like syntax rather than ALGOL-like but that's probably my own biases, and mentally mapping 'DO' and 'END' to '{' and '}' isn't much of a hardship.
- nils-m-holm 3y agoT3X dates back to the early 1990's, where C-style syntax was not as ubiquitous as it is now.
- mst 3y agoI'd apparently misguessed that the minilanguage was created for the book. Though if you'd care to share a link or something, I'm now curious how it -did- come to exist.
- nils-m-holm 3y agoI just wanted a simple language for writing down algorithms, so I think I hacked up the first version in one afternoon. It must have been T2, because AFAIR I never implemented T1. Here is a page containing some of the past T3X compilers: http://t3x.org/t3x/ http://t3x.org/t3x/ and here is an incomplete and inaccurate history of T3X: http://t3x.org/t3x/family.html http://t3x.org/t3x/family.html