git clone https://github.com/DevMedo/Compiler
SLR parser is quite efficient at finding the single correct bottom-up parse in a single left-to-right scan over the input stream, without guesswork or backtracking. The parser is mechanically generated from a formal grammar for the language.
(id+id)*id$
Note: You can also use (id+id)*(id+id)$
- E → E+T
- E → T
- T → T*F
- T → F
- F → (E)
- F → id