aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib6
1 files changed, 6 insertions, 0 deletions
diff --git a/stdlib b/stdlib
new file mode 100644
index 0000000..d89547b
--- /dev/null
+++ b/stdlib
@@ -0,0 +1,6 @@
+: dup 0 @ 0 ! 0 ! ;
+: drop 0 @ ;
+: swap 0 @ 1 @ 0 ! 1 ! ;
+: - neg + ;
+: not 1 swap - ;
+: = - not ;