Useless is a programming language that is Turing-complete and allows arbitrary input and output, but is nevertheless completely useless.
The following syntactic constructs are allowed:
`
, s
, and k
, which behave exactly as in Unlambda. These make the language Turing-complete
\\
and \"
work as expected and are the only escapes necessary or useful. Newlines are allowed in strings. This allows arbitrary output.
@
), which pauses the execution of the program and waits for a line of arbitrary input.
Program is empty!
is written to the standard output. Any unterminated strings are silently ignored. `
, s
, and k
, outside of strings, are treated as whitespace.
`
, s
, and k
outside of a string is gathered together, and is run as an Unlambda program. No output is printed. Any errors, including stack overflow and lack of memory, are silently ignored.
Output:
Input: