checkpoint
authoradam <adam@megacz.com>
Wed, 5 Jul 2006 17:35:35 +0000 (13:35 -0400)
committeradam <adam@megacz.com>
Wed, 5 Jul 2006 17:35:35 +0000 (13:35 -0400)
darcs-hash:20060705173535-5007d-dcf8077cdc780501615ed63f33562b9bfc1db0d4.gz

tests/demo.g [new file with mode: 0644]

diff --git a/tests/demo.g b/tests/demo.g
new file mode 100644 (file)
index 0000000..9a2ef37
--- /dev/null
@@ -0,0 +1,15 @@
+
+Expr = Expr ^"+" Expr /ws
+     | Expr ^"-" Expr /ws
+     >
+       Expr ^"*" Expr /ws
+     | Expr ^"/" Expr /ws
+
+     | ^"(" Expr  ")" /ws
+
+     | numeric:[0-9]++
+
+ws = [ \r\n]**
+
+
+