parser-generator
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 475 public repositories matching this topic...
Language:All
Sort:Most stars
PEG.js: Parser generator for JavaScript
- Updated
Nov 8, 2021 - JavaScript
Parsing Expression Grammar (PEG) parser generator for Rust
- Updated
Dec 22, 2025 - Rust
A single file C++ header-only PEG (Parsing Expression Grammars) library
- Updated
Dec 9, 2025 - C++
Command pigeon generates parsers in Go from a PEG grammar.
- Updated
Jan 13, 2026 - Go
BNF Converter
- Updated
Jan 28, 2026 - TeX
Racc is an LALR(1) parser generator. It is written in Ruby itself, and generates ruby programs.
- Updated
Jan 27, 2026 - Yacc
An IntelliJ plugin for ANTLR v4
- Updated
Jan 29, 2026 - Java
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++
The implementation of the Rascal meta-programming language (including interpreter, type checker, parser generator, compiler and JVM based run-time system)
- Updated
Feb 6, 2026 - Java
竜 TatSu generates Python parsers from grammars in a variation of EBNF
- Updated
Feb 7, 2026 - Python
a parser and lexer generator as a Rust procedural macro
- Updated
Jun 4, 2024 - Rust
A script language of time-sharing scheduling coroutine in single thread
- Updated
Dec 5, 2024 - C
a C# embeddable lexer and parser generator (.Net core)
- Updated
Dec 18, 2025 - C#
A parser generator for C
- Updated
Jan 20, 2026 - C
PEGs for Nim, another take
- Updated
Aug 22, 2024 - Nim
The magical sticky regex-based parser generator 🧙
- Updated
Aug 14, 2025 - JavaScript
- Followers
- 11k followers
- Website
- github.com/topics/parsing
- Wikipedia
- Wikipedia