Comic Discussion > QUESTIONABLE CONTENT
QC Captions vol. 401
Storel:
--- Quote from: Morituri on 03 Jan 2019, 18:34 ---I think the most horrible programming language I've ever used - that wasn't deliberately intended to be horrible - is an obscure one designed mostly for text editing. It's called TECO.
TECO has one extremely unusual property. Any string of printable characters is a valid program. Any. String. The Gettysburg address is a valid program. I have no idea what it does, but you could run it if you want to and find out.
--- End quote ---
Interesting. I've used the TECO editor, but I had no idea it was written in a language also called TECO.
(It was a very strange editor, to be honest; I only used it when nothing else would do the job.)
Morituri:
Well, it's one language in which no syntax errors are possible. All errors in TECO are semantic. Even if it's just an error because you mistyped something.
TECO the language was originally part of the project to implement TECO the text editor; but once it existed it could be used to do other things (by the very few who were insane enough to like it) or modify those things (by we very few who were devious enough to wonder how they'd work if changed).
I only ever used it for one project. The semantics are sort of backwards-martian (like reverse-polish, only sideways...).
But yes, it allows you to see where the backwards-martian interface of EMACS came from.
Navigation
[0] Message Index
[*] Previous page
Go to full version