summaryrefslogtreecommitdiff
path: root/ipl/packs/tcll1/e_notll1.grm
diff options
context:
space:
mode:
Diffstat (limited to 'ipl/packs/tcll1/e_notll1.grm')
-rw-r--r--ipl/packs/tcll1/e_notll1.grm12
1 files changed, 12 insertions, 0 deletions
diff --git a/ipl/packs/tcll1/e_notll1.grm b/ipl/packs/tcll1/e_notll1.grm
new file mode 100644
index 0000000..f9657a2
--- /dev/null
+++ b/ipl/packs/tcll1/e_notll1.grm
@@ -0,0 +1,12 @@
+# errors--not LL(1)
+
+start = e .
+e = e "+" t .
+e = e "-" t .
+e = t .
+t = f "*" t .
+t = f "/" t .
+t = f .
+f = i .
+f = "(" e ")" .
+