This project implements an LR(1) parser, which is a type of deterministic parser used for syntax analysis in compilers. The project is divided into two main parts: the frontend and the backend.
Abstract: Theoretical knowledge of the compiler principle courses is often abstract and uninteresting, which may easily make students lose their confidence and interest in learning such important ...
In computer science, LR parsers are a type of bottom-up parser that analyse deterministic context-free languages in linear time.[1] There are several variants of LR parsers: SLR parsers, LALR parsers, ...