projects
/
sbp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c1325de
)
checkpoint
author
adam
<adam@megacz.com>
Tue, 13 Dec 2005 06:58:17 +0000
(
01:58
-0500)
committer
adam
<adam@megacz.com>
Tue, 13 Dec 2005 06:58:17 +0000
(
01:58
-0500)
darcs-hash:
20051213065817
-5007d-
8106a6b3d9207bab220eaa9a50c95bd7fb44af74
.gz
tests/meta.g
patch
|
blob
|
history
diff --git
a/tests/meta.g
b/tests/meta.g
index
29663f7
..
7b1595d
100644
(file)
--- a/
tests/meta.g
+++ b/
tests/meta.g
@@
-1,5
+1,5
@@
s ::= w* Grammar w* => "gram"
s ::= w* Grammar w* => "gram"
-ws !::= w*
+ws !::= w*
grammar ::= R+/ws => "grammar"
Grammar ::= R+ => "grammar"
R ::= word ^"::=" Alternatives
grammar ::= R+/ws => "grammar"
Grammar ::= R+ => "grammar"
R ::= word ^"::=" Alternatives
@@
-13,14
+13,14
@@
EquiAlt ::= Conjuncts +/ "|" => "alternatives"
Sequence ::= E+ ^"/" E
> E+
Sequence ::= E+ ^"/" E
> E+
-Conjuncts ::= Rewrite
- | Rewrite ^"&" Sequence
- | Rewrite ^"&~" Sequence
+Conjuncts ::= rewrite
+ | rewrite ^"&" Sequence
+ | rewrite ^"&~" Sequence
-Rewrite ::= Sequence => "rewrite"
- | Sequence ^"=>" word
- | Sequence ^"=>" quoted
- | Sequence "=>" "()" => "wrap"
+rewrite ::= Sequence /ws => "rewrite"
+ | Sequence ^"=>" word /ws
+ | Sequence ^"=>" quoted /ws
+ | Sequence "=>" "()" /ws => "wrap"
range ::= ec => "range0" | ec ^"-" ec => "range0"
E ::= word => "nonTerminalY"
range ::= ec => "range0" | ec ^"-" ec => "range0"
E ::= word => "nonTerminalY"