Improve Whitespace
[The disassembly of the current program](https://gist.github.com/0x0dea/f68d381ed844f85fa2bd) clearly indicates that it was generated by a machine, which is, I think, not in the spirit of the project. This patch replaces the existing program with a more idiomatic one which, in addition to being smaller and faster, masquerades as a sequence of assembly instructions while remaining an executable Whitespace program.
This commit is contained in:
133
w/whitespace.ws
133
w/whitespace.ws
@@ -1,111 +1,26 @@
|
|||||||
Say hello.
|
push 0
|
||||||
|
push 10
|
||||||
|
push 33
|
||||||
|
push 100
|
||||||
|
push 108
|
||||||
|
push 114
|
||||||
|
push 111
|
||||||
|
push 119
|
||||||
|
push 32
|
||||||
|
push 44
|
||||||
|
copy 3
|
||||||
|
copy 6
|
||||||
|
dup
|
||||||
|
push 101
|
||||||
|
push 72
|
||||||
|
|
||||||
|
label 0
|
||||||
|
outchar
|
||||||
|
dup
|
||||||
|
push 0
|
||||||
|
swap
|
||||||
|
sub
|
||||||
|
jn 0
|
||||||
|
exit
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user