Jump to navigation Jump to search
- is a joke esoteric programming language by Grs (talk). The language will deny everything the programmer tells it to do, except...
|-||prints "Hello, World!"|
Everything that is not a dash prints "I will not do that!".
I will not do that!
Here is a REPL-style implementation written in Python 3.
def dash(code): for c in code: if c == "-": print("Hello, World!") else: print("I will not do that!") while len(code := input("> ")) > 0: dash(code)