about summary refs log tree commit diff stats
path: root/js/scripting-lang/debug_test.txt
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2025-07-27 00:24:12 -0400
committerelioat <elioat@tilde.institute>2025-07-27 00:24:12 -0400
commit5ec28666c5bc083a4a5b56a04a4898d1791e48b1 (patch)
tree9811e98d359963f14255cdb7c0f5fea0d513a53e /js/scripting-lang/debug_test.txt
parentd2be3a6fdbda6ee4b640717d483de649237e06ce (diff)
downloadtour-master.tar.gz
Diffstat (limited to 'js/scripting-lang/debug_test.txt')
-rw-r--r--js/scripting-lang/debug_test.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/js/scripting-lang/debug_test.txt b/js/scripting-lang/debug_test.txt
new file mode 100644
index 0000000..246c3fd
--- /dev/null
+++ b/js/scripting-lang/debug_test.txt
@@ -0,0 +1,7 @@
+/* Simple test for case expressions */
+factorial : n -> case n of
+    0 : 1
+    _ : n * (factorial (n - 1));
+
+test : factorial 5;
+..out test; 
\ No newline at end of file