projects
/
sbp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41a890f
)
add ellipses to metagrammar
author
adam
<adam@megacz.com>
Fri, 20 Apr 2007 03:23:32 +0000
(23:23 -0400)
committer
adam
<adam@megacz.com>
Fri, 20 Apr 2007 03:23:32 +0000
(23:23 -0400)
darcs-hash:
20070420032332
-5007d-
32ceba42e8e49c54ec481e0482707a293d650c25
.gz
tests/meta.g
patch
|
blob
|
history
diff --git
a/tests/meta.g
b/tests/meta.g
index
ac72619
..
b7dc2b8
100644
(file)
--- a/
tests/meta.g
+++ b/
tests/meta.g
@@
-1,4
+1,4
@@
- //funkanomitron
+//funkanomitron
s = ws Grammar ws
Grammar:: = Declaration +/ ws
@@
-45,13
+45,15
@@
e = e ^"!"
| e ^"*/" e /ws
| e ^"?" /ws
| ^"^" Quoted
+ | ^"`" e
+ | ^"..."
| "(" Word ^")"
> ^"(" RHS ")" /ws
| ^"~" e
| ^"\\{"
| ^"\\}"
-Word:: = [.a-zA-Z0-9_]++
+Word:: = [.a-zA-Z0-9_]++ &~ "."+
Quoted:: = "\"" (~[\"\\] | escaped)+ "\""
| "\"\""