# BNF Syntax testing rules
rules
"A" -> "apple"
"WWWW" -> "with"
"Bgage" -> "->.*"
"B" -> "bag"
"->.*" -> "money"
"W" -> "WW"
"S" -> ."shop"
"T" -> "the"
"the shop" -> "my brother"
"a never used" -> ."terminating rule"

= I bought a B of As W my Bgage from T S.