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,892 public repositories matching this topic...
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
- Updated Feb 16, 2026
- Java
Rust parser combinator framework
- Updated Aug 26, 2025
- Rust
A querystring parser and serializer with nesting support
- Updated Jul 11, 2026
- JavaScript
Parse and stringify URL query strings
- Updated Aug 6, 2026
- JavaScript
Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
- Updated Aug 13, 2026
- Python
SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS)
- Updated Jul 23, 2026
- Swift
Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, vuejs vitepress, TinaCMS, Shopify Polaris, Ant Design, Astro, hashicorp, garden, slidev, saber, sourcegraph, and many others. Simple to use, and battle tested. Parses YAML by default but can also parse JSON Front Matter, Coffee Front Matter, TOM…
- Updated Jun 14, 2025
- JavaScript
Makes life working with units of measurement just a little bit better.
- Updated Aug 2, 2026
- C#
Html Agility Pack (HAP) is a free and open-source HTML parser written in C# to read/write DOM and supports plain XPATH or XSLT. It is a .NET code library that allows you to parse "out of the web" HTML files.
- Updated Jun 30, 2026
- C#
📝 HTML to React parser.
- Updated Aug 17, 2026
- TypeScript
small, safe, and great commonmark (optionally gfm, mdx) compliant markdown parser
- Updated May 10, 2025
- JavaScript
Blazing fast and Comprehensive CSV Parser for Node.JS / Browser / Command Line.
- Updated Jan 22, 2026
- TypeScript
The Android SDK for Parse Platform
- Updated Apr 4, 2026
- Java
Tika-Python is a Python binding to the Apache Tika™ REST services allowing Tika to be called natively in the Python community.
- Updated Aug 1, 2026
- Python
CommonMark compliant markdown parser in Rust with ASTs and extensions
- Updated Apr 23, 2025
- Rust
Declarative binary reading and writing: bit-level, symmetric, serialization/deserialization
- Updated Aug 11, 2026
- Rust
The JavaScript SDK for Parse Platform
- Updated Aug 7, 2026
- JavaScript
一款UI自动生成代码插件,提供UI自动生成代码全流程解决方案。
- Updated Aug 14, 2026
- TypeScript
SystemVerilog compiler and language services
- Updated Aug 18, 2026
- C++