2 ms·
I realize TFA is trying for object code, but for source code, QuickBASIC (and its successors) isn't bad: ? "hello, world!" PILOT eliminates the quotes:
by musicale 2y ago
I realize TFA is trying for object code, but for source code, QuickBASIC (and its successors) isn't bad:
? "hello, world!"
PILOT eliminates the quotes:
T:hello, world!
Of course a typical REPL (Python, JavaScript, Lisp, etc.) will print out something similar (but often quoted) if you just type the quoted string.
And I'm sure there is already some language (call it HELLO) which simply prints "hello, world!" for an empty program.
- charlieyu1 2y agoThere are probably some golfing languages out there where an empty program outputs Hello World.
- deleted 2y ago[deleted]
- musicale 2y agoI'm certain there is, but I don't have a reference for it yet other than my imaginary HELLO (Highly Efficient Limited Line Output) language.