LR parser
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, Canonical LR(1) parsers, Minimal LR(1) parsers, and GLR parsers. LR parsers can be generated by a parser generator from a formal grammar defining the syntax of the language to be parsed. They are widely used for the processing of computer languages.
Here are 68 public repositories matching this topic...
Language:All
Sort:Most stars
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.
- Updated
Sep 3, 2024 - C++
A pure Python LR/GLR parser -http://www.igordejanovic.net/parglare/
- Updated
Nov 26, 2025 - Python
LR Parser (LR(0), SLR(1), CLR(1) and LALR(1))
- Updated
Jun 2, 2023 - Java
Create LR(1) parsers in your browser and see how they work
- Updated
Nov 20, 2025 - JavaScript
Asparserations is an LR(1) and LALR(1) parser generator frontend. It outputs JSON representing the parse table.
- Updated
Dec 24, 2022 - C++
Compiler Design Lab Programs
- Updated
May 12, 2021 - C
一个微型的 LL/LR/LALR 语法解析器 | A micro compiler project to provide LL/LR/LALR syntax parser
- Updated
Dec 3, 2020 - Python
A C language parser built from the scratch, without using compiler generator.
- Updated
Dec 31, 2022 - C
These are the various assignments that were done as a part of the Compiler Design Laboratory
- Updated
May 18, 2018 - C
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.
- Updated
Mar 12, 2025 - C++
Antelope, the compiler compiler.
- Updated
Jun 18, 2015 - Ruby
CSN-362 Compiler Lab Submissions
- Updated
May 4, 2019 - C
Generating LR parser for a given grammar.
- Updated
Jun 28, 2020 - Python
Implementation of LL(0), LR(0), SLR(1), CLR(1) algorithms in C# (Visual Representation is also available)
- Updated
Jan 22, 2020 - C#
Programming Languages @ Hanyang Univ.
- Updated
Jun 16, 2017 - C++
This is a python program implementation for the shift-reduce parsing algorithm.
- Updated
Dec 12, 2020 - Python
- Followers
- 8 followers
- Website
- github.com/topics/lr-parser
- Wikipedia
- Wikipedia