lalr
A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.
Here are 31 public repositories matching this topic...
From @tamaranga on February 1, 2014 9:39
It's impossible to create class:
class HTML {
}
and method:
class Test {
public function HTML() {}
}
Maybe it is not so difficult to allow such capitalized names or describe this limitation in docs. Currently it's just "ParseException: Syntax error", that is not very obvious.
--- Want to back thisin docs/actions/#built-in-actions you write:
collect_optional- Can be used for rules of the form
Elements: Elements Element | Element | EMPTY;
Returns list;
Shouldn't that be Elements: Elements Element | EMPTY;?
This pattern is also in docs/grammar_language#zero-or-more
collect_sep_optional- Can be used for rules of the form
`Elements: Elements separator Ele
Modern LALR(1) parser generator and parser for C++
-
Updated
May 26, 2020 - C++
The Parser Construction Kit ("Puck"): A Parser Generator and Grammar Translator in C#
-
Updated
Nov 24, 2019 - C#
-
Updated
May 28, 2020 - Python
Similar to GOLD Parser's website generator, farkle describe will generate a documentation file for a grammar.
Features
- It must support Markdown (it's the lingua franca of documentation) and very readable by humans.
- The most architecturally beautiful way to implement it is using Scriban. Of course we would allow the u
Asparserations is an LR(1) and LALR(1) parser generator frontend. It outputs JSON representing the parse table.
-
Updated
May 4, 2018 - C++
C++ library for generating LALR(1) parsers
-
Updated
Feb 6, 2020 - C++
LALR(1) parser generator for Rust based on Lemon + SQL parser
-
Updated
Apr 17, 2020 - Rust
A compiler for the xpln programming language
-
Updated
Jan 19, 2019 - Assembly
kmyacc is an LALR(1) parser generator, hopefully compatible with AT&T yacc.
-
Updated
May 11, 2020 - C
A fork of kmyacc, with some essential patches applied
-
Updated
May 10, 2020 - C
Ideia do @pyperanger. Os comentários não serão mais ignorados, e serão utilizados para gerar a documentação em markdown.
Modern LALR(1) parser generator and parser for C++
-
Updated
Dec 7, 2018 - C++
Educational project for Compiler Design course.
-
Updated
Jun 18, 2019 - Python
Re-implementation of the GoldParser builder
-
Updated
Sep 9, 2016 - C#
- Wikipedia
- Wikipedia


I think it would be nice to have the option to dump a raw graphviz DOT file instead of the sppf.png for a few reasons:
Any though