Skip to content

Instantly share code, notes, and snippets.

@ThePython10110
Last active July 31, 2024 21:14
Show Gist options
  • Save ThePython10110/540e48f5c0457583ef0dbd5afc452533 to your computer and use it in GitHub Desktop.
Save ThePython10110/540e48f5c0457583ef0dbd5afc452533 to your computer and use it in GitHub Desktop.
Arch is the best (whitespace)
negative-1-to-the-stack-to-end-the-loop:
!:
t:
s:
e:
b:
space:
e:
h:
t:
space:
s:
i:
space:
h:
c:
r:
A:
print-all-values-in-stack:---set-label-0:
print-top-value:
duplicate-new-top-value-so-it-doesn't-get-eaten-by-the-conditional:
goto-label-1-if-top-of-stack-is-negative:
goto-label-0-otherwise:
set-label-1:
end:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment