checkpoint
[sbp.git] / tests / regression.tc
index 3204e6a..90dd6ee 100644 (file)
 //    s ::= ()       => s0
 //}
 
-//tibcase {
-//    input "
-//  hello 
-//    there
-//    how
-//     { are }
-//";
-//
-//    s        ::= ws S ws
-//    ws      !::= w*
-//    S        ::= { Hello }
-//    Hello    ::= "hello" { "there" "how" { "are" } }
-//}
+tibcase {
+    input 
+"
+  hello 
+    there
+    how
+     { are }
+";
+
+    s        ::= { Hello }
+    w        ::= " " | "\n"
+    ws      !::= w**
+    Hello    ::= "hello" ws { "there" ws "how" ws { { "are" } ws } }
+}
 
 testcase {
     input "ab c";