I think it could be useful to be able to terminate the program at any time, without the stack being printed. Or alternatively, the top stack element is printed, but nothing else.
x
seems like a good candidate (for eXit
). In the simplest case (if it doesn't print anything), this would save a byte at the end, if you'd have to clear the stack otherwise:
But more importantly, it would allow writing some searching code by using an endless loop and simply printing and terminating once a solution has been found.
You could also use it to save a byte when handling special cases:
l{someCondition}~{specialCase}{normalCase}?
l{someCondition}~{specialCasex}*normalCase