checkpoint
authoradam <adam@megacz.com>
Mon, 16 Jan 2006 00:19:57 +0000 (19:19 -0500)
committeradam <adam@megacz.com>
Mon, 16 Jan 2006 00:19:57 +0000 (19:19 -0500)
darcs-hash:20060116001957-5007d-b8c30758d7d62945da0c11d6caed8d758d9f52a5.gz

tests/meta.g

index 7dff3eb..b1fb352 100644 (file)
@@ -36,10 +36,14 @@ e        ::=  word                          => "nonTerminal"
            |    ^"{" Sequence "}"       /ws
            |    ^"["  Range* "]"
 
-           |  (e ^"++"    /ws > e ^"+"    /ws)
-           |  (e ^"++/" e /ws > e ^"+/" e /ws)
-           |  (e ^"**"    /ws > e ^"*"    /ws)
-           |  (e ^"**/" e /ws > e ^"*/" e /ws)
+           |  e ^"++"                   /ws -> ~[/]
+           |  e ^"+"                    /ws -> ~[+]
+           |  e ^"++/" e                /ws        
+           |  e ^"+/"  e                /ws        
+           |  e ^"**"                   /ws -> ~[/]
+           |  e ^"*"                    /ws -> ~[*]
+           |  e ^"**/" e                /ws        
+           |  e ^"*/"  e                /ws        
            |  ^"!" e                    /ws
            |  e ^"?"                    /ws