amirhossein-hkh / LR-Parser

LR Parser (LR(0), SLR(1), CLR(1) and LALR(1))

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

problem in LR(0) and SLR(1)

jamshaid120 opened this issue · comments

There are some issues in the Action Table. It doesn't accept the grammar and throws Null Pointer Exception while giving
S -> A
A -> a
this grammar as input in both of the Parser. SLR(1) shows accept in the Action Table but says not accepted while displaying the input.