projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checkpoint
[sbp.git]
/
tests
/
meta.g
diff --git
a/tests/meta.g
b/tests/meta.g
index
3c191d4
..
c89fae1
100644
(file)
--- a/
tests/meta.g
+++ b/
tests/meta.g
@@
-1,18
+1,18
@@
s ::= ws grammar ws => "gram"
ws !::= w**
s ::= ws grammar ws => "gram"
ws !::= w**
-grammar ::= r+/ws => "grammar"
+grammar ::= r$$ws => "grammar"
r ::= word ^"::=" alternatives /ws
| word ^"!::=" alternatives /ws
ec ::= [~\]\\\-\~] | escaped
r ::= word ^"::=" alternatives /ws
| word ^"!::=" alternatives /ws
ec ::= [~\]\\\-\~] | escaped
-alternatives ::= equiAlt +/ (ws ">" ws)
-equiAlt ::= conjuncts +/ (ws "|" ws) => "alternatives"
+alternatives ::= equiAlt $$ (ws ">" ws)
+equiAlt ::= conjuncts $$ (ws "|" ws) => "alternatives"
sequence ::= Es
> Es ^"/" e /ws
Es ::= e+
sequence ::= Es
> Es ^"/" e /ws
Es ::= e+
-es ::= e+/ws
+es ::= e$$ws
conjuncts ::= rewrite
conjuncts ::= rewrite
@@
-31,7
+31,6
@@
e ::= word => "nonTerminalY"
| [(][)] => "epsilon"
| ^"{" alternatives "}" /ws
| "[" [\~]? range* "]" => "range"
| [(][)] => "epsilon"
| ^"{" alternatives "}" /ws
| "[" [\~]? range* "]" => "range"
- | e ^"+/" e /ws
| e ^"%%" e /ws
| e ^"$$" e /ws
| e ^"?" /ws
| e ^"%%" e /ws
| e ^"$$" e /ws
| e ^"?" /ws