summaryrefslogtreecommitdiff
path: root/test/makro.lorth
diff options
context:
space:
mode:
authormRnea <akannemre@gmail.com>2024-08-14 00:42:24 +0300
committermRnea <akannemre@gmail.com>2024-08-14 00:42:24 +0300
commitb52e5b548ad1b9143818891d5642cf9470a41b53 (patch)
tree0ac6e6b43f1b2462d0ede77e0c35e611912015dc /test/makro.lorth
parent3e855bbc2394445843143bb703c95dd694699f0e (diff)
added a simple test for macros, also more cli stuff
Diffstat (limited to 'test/makro.lorth')
-rw-r--r--test/makro.lorth6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/makro.lorth b/test/makro.lorth
new file mode 100644
index 0000000..405f98b
--- /dev/null
+++ b/test/makro.lorth
@@ -0,0 +1,6 @@
+;;; test
+;;; (format nil "Hello world!..~%")
+makro write değiş 1 syscall-3 son
+makro stdout 1 son
+
+stdout "Hello world!..\n" write