Stop
Jump to navigation
Jump to search
Stop is an esoteric programming language invented by User:A.
, |
inputs the register. |
: |
starts a do...while with register==1, printing the register while the condition is true.
|
Example
Truth-machine
,:
Python interpreter
def stop(code): reg = 0 for i, c in enumerate(code): if c == ",": try: reg = int(input("> ")) except ValueError: reg = 0 elif c == ":": while True: print(reg) if reg != 1: break