projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove XTree
[sbp.git]
/
tests
/
meta.g
diff --git
a/tests/meta.g
b/tests/meta.g
index
ac72619
..
638fa71
100644
(file)
--- a/
tests/meta.g
+++ b/
tests/meta.g
@@
-1,4
+1,4
@@
- //funkanomitron
+//funkanomitron
s = ws Grammar ws
Grammar:: = Declaration +/ ws
s = ws Grammar ws
Grammar:: = Declaration +/ ws
@@
-26,6
+26,7
@@
PreSequence = Elements
Sequence = PreSequence
| Sequence ^"&" Elements /ws
Sequence = PreSequence
| Sequence ^"&" Elements /ws
+ | ^"~~" Elements /ws
| Sequence ^"&~" Elements /ws
e = e ^"!"
| Sequence ^"&~" Elements /ws
e = e ^"!"
@@
-45,13
+46,15
@@
e = e ^"!"
| e ^"*/" e /ws
| e ^"?" /ws
| ^"^" Quoted
| e ^"*/" e /ws
| e ^"?" /ws
| ^"^" Quoted
+ | ^"`" e
+ | ^"..."
| "(" Word ^")"
> ^"(" RHS ")" /ws
| "(" Word ^")"
> ^"(" RHS ")" /ws
- | ^"~" e
+ | "~":: ("~" -> ~"~")! e
| ^"\\{"
| ^"\\}"
| ^"\\{"
| ^"\\}"
-Word:: = [.a-zA-Z0-9_]++
+Word:: = [.a-zA-Z0-9_]++ &~ "."+
Quoted:: = "\"" (~[\"\\] | escaped)+ "\""
| "\"\""
Quoted:: = "\"" (~[\"\\] | escaped)+ "\""
| "\"\""