checkpoint
[sbp.git] / tests / regression.tc
index c807a7a..6196b48 100644 (file)
 //    s ::= ()       => s0
 //}
 
+tibcase {
+    input 
+"
+  hello 
+    there
+    how
+     { are }
+";
+    output "yep";
+
+    s        ::= { Hello } => "yep"
+    w        ::= " " | "\n"
+    ws      !::= w**
+    Hello    ::= "hello" ws { ws "there" ws "how" ws { { "are" } ws } }
+}
+
 testcase {
     input "ab c";
     output "1:{{a b} {c}}";