aboutsummaryrefslogtreecommitdiff
path: root/j1demo/firmware/doc.fs
diff options
context:
space:
mode:
authorDimitri Sokolyuk <ds@doozer.de>2017-05-23 17:06:09 +0200
committerDimitri Sokolyuk <ds@doozer.de>2017-05-23 17:06:09 +0200
commit6f86ce7057dd7cd1b491e8f09501258822d2ea74 (patch)
treeb3bfa11f0f72d0e1ca7c84d948af20b7494dd26b /j1demo/firmware/doc.fs
Import j1demo
Diffstat (limited to 'j1demo/firmware/doc.fs')
-rw-r--r--j1demo/firmware/doc.fs20
1 files changed, 20 insertions, 0 deletions
diff --git a/j1demo/firmware/doc.fs b/j1demo/firmware/doc.fs
new file mode 100644
index 0000000..8b3c07d
--- /dev/null
+++ b/j1demo/firmware/doc.fs
@@ -0,0 +1,20 @@
+( Documentation conventions JCB 14:37 10/26/10)
+
+meta
+
+: getword ( -- a u )
+ begin
+ bl word count dup 0=
+ while
+ 2drop refill true <> abort" Failed to find word"
+ repeat
+;
+
+: ================================================================
+ begin
+ getword
+ nip 64 =
+ until
+;
+
+target