diff options
Diffstat (limited to 'examples/printchar.tf')
-rw-r--r-- | examples/printchar.tf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/printchar.tf b/examples/printchar.tf new file mode 100644 index 0000000..c9092be --- /dev/null +++ b/examples/printchar.tf | |||
@@ -0,0 +1,10 @@ | |||
1 | printchar is a small example input/output trainfuck program. | ||
2 | it waits for the user to press a key, then prints that key | ||
3 | and a newline to the screen. | ||
4 | ALL ABOARD | ||
5 | clack clickety | ||
6 | choo | ||
7 | chug chug chug chug chug | ||
8 | chug chug chug chug chug | ||
9 | click | ||
10 | END OF THE LINE | ||