// s ::= () => s0
//}
-tibcase {
- input
-"
- hello
- there
- how
- { are }
-";
- output "yep:{are}";
-
- s ::= { Hello } => "yep"
- w ::= " " | "\n"
- ws !::= w**
- Hello ::= "hello" ws { "there" "how" { "are" } }
-}
-
-
testcase {
input "ab c";
output "1:{{a b} {c}}";
idl ::= [a-d]
}
+testcase {
+ input "aa bb";
+ output "{q:{{a a}} q:{{b b}}}";
+
+ s ::= q */ ws
+ ws ::= " "*
+ q ::= [a-z]++ => "q"
+}
+
//testcase {
//
// input "
//
//
//}
-
-testcase {
- input "aa bb";
- output "{q:{{a a}} q:{{b b}}}";
-
- s ::= q */ ws
- ws ::= " "*
- q ::= [a-z]++ => "q"
-}
\ No newline at end of file