summaryrefslogtreecommitdiffstats
path: root/samples/char.slam
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-02-18 09:39:53 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2022-02-18 09:39:53 +0200
commitdc1ef25f1a7f8e36e93928e5b0288e203833e14a (patch)
treeb2baa429efd629e55bcd8455a5e46be198d2eba1 /samples/char.slam
parent7a6dc3758c361aa7685934a1896db9f23f1d74be (diff)
Clean up
Diffstat (limited to 'samples/char.slam')
-rw-r--r--samples/char.slam9
1 files changed, 9 insertions, 0 deletions
diff --git a/samples/char.slam b/samples/char.slam
new file mode 100644
index 0000000..05e2b9a
--- /dev/null
+++ b/samples/char.slam
@@ -0,0 +1,9 @@
+define up unphrase ;
+define p phrase ;
+
+define hello
+ $name !
+ '[ "Hello " up $name @ up " 👋" up '] p
+ $name forget ;
+
+"Jan" hello s.