Share
Embed
Transcript
105 slides
-
$ (cat examples/wsinterws.ws; cat examples/hworld.ws; echo -ne "\n\n\nquit\n \n\n") |
hhvm bin/interpreter examples/wsinterws.ws whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- Hello, world of spaces! -
$ (cat examples/wsinterws.ws; cat examples/hworld.ws; echo -ne "\n\n\nquit\n \n\n") |
hhvm bin/interpreter examples/wsinterws.ws whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- Hello, world of spaces! -
$ (cat examples/wsinterws.ws; cat examples/hworld.ws; echo -ne "\n\n\nquit\n \n\n") |
hhvm bin/interpreter examples/wsinterws.ws whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- Hello, world of spaces! -
$ (cat examples/wsinterws.ws; cat examples/hworld.ws; echo -ne "\n\n\nquit\n \n\n") |
hhvm bin/interpreter examples/wsinterws.ws whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- Hello, world of spaces! -
instruction set • stack: push, dup, ref, swap, discard, slide
• arithmetic: add, sub, mul, div, mod • heap: store, retrieve • flow: label, call, jump, jumpz, jumplz, ret, exit • i/o: write_char, write_num, read_char, read_num -
0 1 2 3 0 33 store 1 retri eve
0 retri eve -
0 1 2 3 0 33 store 1 retri eve
0 retri eve -
0 1 2 3 0 33 store 1 retri eve
0 retri eve -
0 1 2 3 0 33 store 1 retri eve
0 retri eve 33 -
0 1 2 3 0 33 store 1 retri eve
33 0 retri eve -
0 1 2 3 0 33 store 1 retri eve
33 0 retri eve -
0 1 2 3 0 33 store 1 retri eve
33 0 retri eve 0 -
0 1 2 3 0 33 store 1 retri eve
33 0 retri eve -
0 1 2 3 0 33 store 1 retri eve
33 0 retri eve -
0 1 2 3 0 33 store 1 retri eve
33 0 retri eve 33 -
label 0 0 + 0 1 dup 2 swap -
jumpnz 0 -
label 0 0 + 0 1 dup 2 swap -
1 jumpnz 0 -
label 0 0 + 1 dup 2 swap - 1
jumpnz 0 -
label 0 0 + 1 dup 2 swap - 1
1 jumpnz 0 -
2 label 0 0 + 1 dup 2 swap -
1 1 jumpnz 0 -
1 2 label 0 0 + 1 dup 2 swap
- 1 jumpnz 0 -
1 label 0 0 + 1 dup 2 swap -
1 jumpnz 0 -
1 label 0 0 + 1 dup 2 swap -
1 jumpnz 0 -
label 0 0 + 1 dup 2 swap - 1
jumpnz 0 -
label 0 0 + 1 dup 2 swap - 1
jumpnz 0 -
label 0 0 + 1 dup 2 swap - 1
jumpnz 0 1 -
label 0 0 + 1 dup 2 swap - 2
jumpnz 0 -
label 0 0 + 1 dup 2 swap - 2
jumpnz 0 2 -
2 label 0 0 + 1 dup 2 swap -
2 jumpnz 0 2 -
2 2 label 0 0 + 1 dup 2 swap
- 2 jumpnz 0 -
label 0 0 + 1 dup 2 swap - 2
jumpnz 0 0 -
label 0 0 + 1 dup 2 swap - 2
jumpnz 0 0 -
label 0 0 + 1 dup 2 swap - 2
jumpnz 0 -
label 0 0 + 1 dup 2 swap - 2
jumpnz 0 -
$ (cat examples/wsinterws.ws; cat examples/hworld.ws; echo -ne "\n\n\nquit\n \n\n") |
hhvm bin/interpreter examples/wsinterws.ws whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- Hello, world of spaces! CPU (x86) -
$ (cat examples/wsinterws.ws; cat examples/hworld.ws; echo -ne "\n\n\nquit\n \n\n") |
hhvm bin/interpreter examples/wsinterws.ws whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- Hello, world of spaces! PHP interpreter (C) -
$ (cat examples/wsinterws.ws; cat examples/hworld.ws; echo -ne "\n\n\nquit\n \n\n") |
hhvm bin/interpreter examples/wsinterws.ws whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- Hello, world of spaces! ws interpreter (PHP) -
$ (cat examples/wsinterws.ws; cat examples/hworld.ws; echo -ne "\n\n\nquit\n \n\n") |
hhvm bin/interpreter examples/wsinterws.ws whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- Hello, world of spaces! ws interpreter (ws) -
$ (cat examples/wsinterws.ws; cat examples/hworld.ws; echo -ne "\n\n\nquit\n \n\n") |
hhvm bin/interpreter examples/wsinterws.ws whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- Hello, world of spaces! ws interpreter (ws) -
$ (cat examples/wsinterws.ws; cat examples/hworld.ws; echo -ne "\n\n\nquit\n \n\n") |
hhvm bin/interpreter examples/wsinterws.ws whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- Hello, world of spaces! hello world (ws) -
$ (cat examples/wsinterws.ws; cat examples/hworld.ws; echo -ne "\n\n\nquit\n \n\n") |
hhvm bin/interpreter examples/wsinterws.ws whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- whitespace interpreter written in whitespace made by oliver burghard [email protected] in his free time for your and his joy good time and join me to get whitespace ready for business for any other information dial 1-900-whitespace or get soon info at www.whitespace-wants-to-be-taken-serious.org please enter the program and terminate via 3xenter,'quit',3xenter -- ws interpreter ws ------------------------------------------- Hello, world of spaces! -
do not want to hear your questions • joind.in/12146 •
@igorwhiletrue ! • esolangs.org/wiki/Whitespace • compsoc.dur.ac.uk/whitespace • github.com/igorw/whitespace-php • github.com/igorw/wsm