summaryrefslogtreecommitdiff
path: root/ipl/packs/tcll1/if_nll1.grm
diff options
context:
space:
mode:
Diffstat (limited to 'ipl/packs/tcll1/if_nll1.grm')
-rw-r--r--ipl/packs/tcll1/if_nll1.grm8
1 files changed, 8 insertions, 0 deletions
diff --git a/ipl/packs/tcll1/if_nll1.grm b/ipl/packs/tcll1/if_nll1.grm
new file mode 100644
index 0000000..0e74101
--- /dev/null
+++ b/ipl/packs/tcll1/if_nll1.grm
@@ -0,0 +1,8 @@
+# if-nll1
+# not LL(1)
+start = statement .
+statement = if e then statement
+ | if e then statement else statement
+ | i "=" e.
+
+