Design and implement an LALR(1) parser for TinyJava which willparse programs according to the prescribed grammar. This processhas the following steps:
1. The layout of the parser should conform to the EBNF grammarof TinyJava given in the link below:
https://ibb.co/mxoKqS
2. The parser should interact with the lexical analyzer toretrieve tokens as it needs them.
3. The parser may terminate execution if a syntax error isdetected. No error recovery is required.
4. If the source program has no syntax errors, the result of theparse should be a source program listing (e.g., this can be printedby the lexical analyzer as the program is read) and a
PayPal Gateway not configured
PayPal Gateway not configured