X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=tests%2Fmeta.g;h=c9f53a2701813254feee1d6ed3b73ec45134aaa8;hb=0cbfa6761776083d952b492517ce9f5b866864f5;hp=9b24713429c149a79ac12f5c532abe8db7019017;hpb=a61d2e6bf8264b8ddaa164d004520fd778385997;p=sbp.git diff --git a/tests/meta.g b/tests/meta.g index 9b24713..c9f53a2 100644 --- a/tests/meta.g +++ b/tests/meta.g @@ -10,13 +10,12 @@ Conjuncts ::= Sequence Elements ::= e*/ws psy ::= Elements => "ps" - | psy !wp ^"/" !ws e -psx ::= psy => "psy" - | psy ^"->" e /ws + | psy !wp ^"/" !ws e + | psy ^"->" e /ws Sequence ::= Quoted => "qprod" - > psx => "psx" - | psx "=>" ^"[]" /ws - | psx ^"=>" ("()"|word|Quoted) /ws + > psy => "psx" + | psy "=>" ^"[]" /ws + | psy ^"=>" ("()"|word|Quoted) /ws ec ::= ~[\-\]\\] | escaped @@ -40,7 +39,7 @@ e ::= word => "nonTerminal" | e ^"*/" e /ws | ^"!" e /ws | e ^"?" /ws - | "^" Quoted /ws => caret + | ^"^" Quoted /ws | "(" word ^")" /ws > ^"(" RHS ")" /ws