Repository navigation

#

LR parser

维基百科

相关主题

LL 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.

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.

C++
470
8 个月前

A pure Python LR/GLR parser - http://www.igordejanovic.net/parglare/

Python
139
7 个月前

LR Parser (LR(0), SLR(1), CLR(1) and LALR(1))

Java
64
2 年前

Create LR(1) parsers in your browser and see how they work

JavaScript
21
9 个月前

Asparserations is an LR(1) and LALR(1) parser generator frontend. It outputs JSON representing the parse table.

C++
19
2 年前

一个微型的 LL/LR/LALR 语法解析器 | A micro compiler project to provide LL/LR/LALR syntax parser

Python
17
4 年前

These are the various assignments that were done as a part of the Compiler Design Laboratory

C
15
7 年前

A C language parser built from the scratch, without using compiler generator.

C
15
2 年前

Antelope, the compiler compiler.

Ruby
8
10 年前

Calculators wirtten as examples of LL and LR parsing

C++
5
3 年前

CSN-362 Compiler Lab Submissions

C
5
6 年前

Generating LR parser for a given grammar.

Python
4
5 年前

This is a python program implementation for the shift-reduce parsing algorithm.

Python
4
4 年前

A compiler-compiler for lexers, LL and LALR grammars, written in python

Python
4
5 年前

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.

C++
4
1 个月前

Implementation of LL(0), LR(0), SLR(1), CLR(1) algorithms in C# (Visual Representation is also available)

C#
4
5 年前

Yet another CLR compiler compiler.

C
4
1 年前

Programming Languages @ Hanyang Univ.

C++
4
8 年前