LR Parser (LR(0), SLR(1), CLR(1) and LALR(1))
-
Updated
Jun 2, 2023 - Java
LR Parser (LR(0), SLR(1), CLR(1) and LALR(1))
Code for Compiler Design Lab, Semester 7
This is my labs from Compilers Design Course, being taught in BMSTU. Lab 1 - Constructing minimal DFA from regex in 3 phases (r => NFA => DFA => minimal DFA). Lab 2 = Grammar processing. (Removing cycles, left recursion, left factorizing, etc.) Lab 3 = LL(1), SLR(1) and LR(1) parser generator and lexer generator. Lexer based on minimal DFA. Each…
A Compiler made using Maven that offers to the user the possibility to provide the language of the compiler .works only on SLR grammars and generates the SLR table according to the grammar given , An SLR parser generator and type checking.
Grammax is a Java bottom-up SLR/CLR parser generator that builds parsers from grammars in Backus-Naur-Form.
It is an efficient bottom-up syntax analysis technique that can be used to parse large classes of context free grammar
Simple lexer and and an SLR(1) parser
A lexer and an SLR1 parser
💻 Implementation of a lexical analyser and an SLR parser in Java for my IA to IB compilers summer work task. (more details in README).
Add a description, image, and links to the slr-parser topic page so that developers can more easily learn about it.
To associate your repository with the slr-parser topic, visit your repo's landing page and select "manage topics."