Comic Discussion > QUESTIONABLE CONTENT
QC Captions vol. 401
Morituri:
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.
A small perverse otter:
--- 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 ---
Well, for what it's worth, Emacs has the same property.
It's just that most characters run the "self-insert' routine.
Yes, that's right. The letter 'a' runs a small e-lisp fragment which inserts an 'a' at the current cursor.
You can't make these things up.
hedgie:
BUT IT'S THE ONE TRUE EDITOR!
Thrudd:
--- Quote from: hedgie on 03 Jan 2019, 20:42 ---BUT IT'S THE ONE TRUE EDITOR!
--- End quote ---
Pilchard123:
--- Quote from: A small perverse otter on 03 Jan 2019, 19:45 ---
--- 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 ---
Well, for what it's worth, Emacs has the same property.
--- End quote ---
Possibly because (at least according to Wikipedia), Emacs was originally implemented in TECO.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version