There are 7 repositories under lr-parser topic.
Compile Time Parser Generator is a C++ single header library which takes a language description as a C++ code and turns it into a LR1 table parser with a deterministic finite automaton lexical analyzer, all in compile time.
A pure Python LR/GLR parser - http://www.igordejanovic.net/parglare/
LR Parser (LR(0), SLR(1), CLR(1) and LALR(1))
Create LR(1) parsers in your browser and see how they work
Asparserations is an LR(1) and LALR(1) parser generator frontend. It outputs JSON representing the parse table.
一个微型的 LL/LR/LALR 语法解析器 | A micro compiler project to provide LL/LR/LALR syntax parser
Compiler Design Lab Programs
A C language parser built from the scratch, without using compiler generator.
These are the various assignments that were done as a part of the Compiler Design Laboratory
Yet Another Parser Generator takes a grammar specification for an LR(1) grammar as input and generates a C++ header file containing tables and helper structs for parsing the LR(1) grammar.
Calculators wirtten as examples of LL and LR parsing
CSN-362 Compiler Lab Submissions
Compiler design
Generating LR parser for a given grammar.
This is a python program implementation for the shift-reduce parsing algorithm.
A compiler-compiler for lexers, LL and LALR grammars, written in python
Implementation of LL(0), LR(0), SLR(1), CLR(1) algorithms in C# (Visual Representation is also available)
LR(1) parser generator with a user-friendly formalism for specifying grammars, written in TypeScript.
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 final state of DFA contains pattern name (terminal name). Lab 4 = Operator Precedence Grammar Parser. Generate a matrix of precedence relations.
Several implementations in Python language of some of the parsing techniques such as LL(1) parsing, SLR(1) parsing ,LR(0) parsing and LR(1) parsing.
Implementation of parsers
FU compiler complier, LALR and LL parser generator for Common Lisp; main repo after BitBucket Mercurial migration
This project contains C++ code for the creation of a unix shell. The shell will most likely be a subset of the BASH.
Compiler Design - Fall 2023 - Sharif University of Technology
📠 2021-1 Compiler
This project is a learning tool designed to help users understand and generate LR parsers, including LR(0), SLR(1), LALR(1), and LR(1). It provides interactive features such as grammar definition, parser construction, and input string testing, enabling users to explore the internal structures and functionality of LR parsers.
ELTE-IK Formális nyelvek és a fordítóprogramok alapjai
《编译原理》课程设计,基于 LR (1) 分析的类 C 语言语法分析器。
Compiler Design IIT BHU Viva