about summary refs log tree commit diff stats
path: root/archive/1.vm/x.mu
diff options
context:
space:
mode:
Diffstat (limited to 'archive/1.vm/x.mu')
-rw-r--r--archive/1.vm/x.mu8
1 files changed, 8 insertions, 0 deletions
diff --git a/archive/1.vm/x.mu b/archive/1.vm/x.mu
new file mode 100644
index 00000000..f53a86ba
--- /dev/null
+++ b/archive/1.vm/x.mu
@@ -0,0 +1,8 @@
+# example program: add two numbers
+
+def main [
+  11:num <- copy 1
+  12:num <- copy 3
+  13:num <- add 11:num, 12:num
+  $dump-memory
+]