aboutsummaryrefslogtreecommitdiff
path: root/buzzard/demo6.th
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2019-10-30 20:04:56 +0100
committerDimitri Sokolyuk <demon@dim13.org>2019-10-30 20:04:56 +0100
commita76977af62010a392c16010c367185e61e856ffe (patch)
tree56cf4177d5bc0e3ead781d1c60818c13b1df0f3c /buzzard/demo6.th
parentc0165d167d7cb40d80028bcf7a4a6b160b5a7e83 (diff)
mv to docs
Diffstat (limited to 'buzzard/demo6.th')
-rw-r--r--buzzard/demo6.th18
1 files changed, 0 insertions, 18 deletions
diff --git a/buzzard/demo6.th b/buzzard/demo6.th
deleted file mode 100644
index 75ec667..0000000
--- a/buzzard/demo6.th
+++ /dev/null
@@ -1,18 +0,0 @@
-: foobar
- 2
- [ 2 , ( '[' turns the compiler off, allowing us to execute code )
- 1 1 1 + + , ( and we compile in-line a 2 and a three )
- ( the '2' means 'push the number following this' )
- ]
- + . cr
-;
-
-foobar
-
-: 'foobar ' foobar ; ( ' can only be run inside the compiler )
- ( ' leaves the address of the following word
- on the stack )
-
-'foobar . cr
-
-'foobar dump