+
+s = ws! Grammar ws!
+
+Grammar = Declaration +/ ws
+
+Declaration = NonTerminal
+ | ^"#import" ws! FileName (ws! "as" ws! Word)?
+
+FileName = FileNameChar+ -> [\r\n ]
+FileNameChar = Space:: "\\ "
+ | ~[\r\n ]
+
+NonTerminal = Word "=" RHS /ws
+ | Word "*" ws! ^"=" ws! RHS
+ | Word "*/" Word ws! ^"=" ws! RHS
+
+RHS = (Sequence +/ (ws! "|" ws!)) +/ (ws! ">" ws!)