lexer
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 1,939 public repositories matching this topic...
Language:All
Sort:Most stars
The Fast Lexical Analyzer - scanner generator for lexing in C and C++
- Updated
Aug 18, 2025 - C
A parser library for Go
- Updated
Feb 7, 2026 - Go
Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.
- Updated
Feb 7, 2026 - Rust
Parser Building Toolkit for JavaScript
- Updated
Feb 7, 2026 - TypeScript
Interactive ASCII art diagram generators. 🌟
- Updated
May 16, 2025 - C++
Verible is a suite of SystemVerilog developer tools, including a parser, style-linter, formatter and language server
- Updated
Dec 22, 2025 - C++
DFA regular expression library & friends
- Updated
Jan 27, 2026 - C
C++ Mathematical Expression Parsing And Evaluation Libraryhttps://www.partow.net/programming/exprtk/index.html
- Updated
Jan 31, 2026 - C++
Optimised tokenizer/lexer generator! 🐄 Uses /y for performance. Moo.
- Updated
May 16, 2023 - JavaScript
GraphQL Router / API Gateway framework written in Golang, focussing on correctness, extensibility, and high-performance. Supports Federation v1 & v2, Subscriptions & more.
- Updated
Feb 6, 2026 - Go
The fast scanner generator for Java™ with full Unicode support
- Updated
Jan 1, 2025 - Java
Yet another high-performance C++ regex library and lexical analyzer generator like Flex: extends Flex++ with Unicode support, indent/dedent anchors, lazy quantifiers, functions for lex and syntax error reporting and more. Seamlessly integrates with Bison and other parsers.
- Updated
Jun 19, 2025 - C++
🌿 NodeJS PHP Parser - extract AST or tokens
- Updated
Jul 18, 2025 - JavaScript
Light and fast 🚀parser! With zero dependents. - Sql Parser Demo added!
- Updated
Oct 28, 2023 - TypeScript
- Followers
- 11k followers
- Website
- github.com/topics/parsing
- Wikipedia
- Wikipedia