diff options
Diffstat (limited to 'ipl/packs/tcll1/ea_ll1.grm')
-rw-r--r-- | ipl/packs/tcll1/ea_ll1.grm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ipl/packs/tcll1/ea_ll1.grm b/ipl/packs/tcll1/ea_ll1.grm new file mode 100644 index 0000000..f39a25f --- /dev/null +++ b/ipl/packs/tcll1/ea_ll1.grm @@ -0,0 +1,8 @@ +# ea-ll1.grm +# action symbols +# LL(1) +start = e . +e = t { "+" t A! | "-" t S!} . +t = f [ "*" t M! | "/" t D!]. +f = i N! | "(" e ")" P!. + |