about summary refs log tree commit diff stats
path: root/awk/vm/test_steps.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'awk/vm/test_steps.coffee')
-rw-r--r--awk/vm/test_steps.coffee15
1 files changed, 15 insertions, 0 deletions
diff --git a/awk/vm/test_steps.coffee b/awk/vm/test_steps.coffee
new file mode 100644
index 0000000..f1d0415
--- /dev/null
+++ b/awk/vm/test_steps.coffee
@@ -0,0 +1,15 @@
+# Step 1: Initialize x
+x = 5
+SHOW
+
+# Step 2: Initialize y
+y = 3
+SHOW
+
+# Step 3: Add x and y
+z = x + y
+SHOW
+
+# Step 4: Double z
+result = z * 2
+SHOW 
\ No newline at end of file