about summary refs log tree commit diff stats
path: root/js/scripting-lang/scratch_tests/test_pipe_debug.txt
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_pipe_debug.txt')
-rw-r--r--js/scripting-lang/scratch_tests/test_pipe_debug.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/scripting-lang/scratch_tests/test_pipe_debug.txt b/js/scripting-lang/scratch_tests/test_pipe_debug.txt
new file mode 100644
index 0000000..5c8d5fb
--- /dev/null
+++ b/js/scripting-lang/scratch_tests/test_pipe_debug.txt
@@ -0,0 +1,14 @@
+/* Debug pipe function */
+
+double : x -> x * 2;
+add1 : x -> x + 1;
+
+/* Test pipe function step by step */
+step1 : pipe double;
+..out step1;
+
+step2 : step1 add1;
+..out step2;
+
+step3 : step2 5;
+..out step3; 
\ No newline at end of file