Developed the frontend of a Compiler in Java to generate an Abstract Syntax Tree of the given code. Implemented a Scanner for the compiler to perform Lexical Analysis and tokenization of the input code. Implemented LR(1) Parser to perform Semantic Analysis and generating the Abstract Syntax Tree.
Developed the frontend of a Compiler in Java to generate an Abstract Syntax Tree of the given code. Implemented a Scanner for the compiler to perform Lexical Analysis and tokenization of the input code. Implemented LR(1) Parser to perform Semantic Analysis and generating the Abstract Syntax Tree.