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