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,846 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
Oct 17, 2025 - Go
Parser Building Toolkit for JavaScript
- Updated
Nov 5, 2025 - TypeScript
Interactive ASCII art diagram generators. 🌟
- Updated
May 16, 2025 - C++
Mago is a toolchain for PHP that aims to provide a set of tools to help developers write better code.
- Updated
Nov 1, 2025 - Rust
Verible is a suite of SystemVerilog developer tools, including a parser, style-linter, formatter and language server
- Updated
Aug 29, 2025 - C++
DFA regular expression library & friends
- Updated
Nov 5, 2025 - C
Optimised tokenizer/lexer generator! 🐄 Uses /y for performance. Moo.
- Updated
May 16, 2023 - JavaScript
C++ Mathematical Expression Parsing And Evaluation Libraryhttps://www.partow.net/programming/exprtk/index.html
- Updated
Jun 30, 2025 - C++
GraphQL Router / API Gateway framework written in Golang, focussing on correctness, extensibility, and high-performance. Supports Federation v1 & v2, Subscriptions & more.
- Updated
Oct 31, 2025 - 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