Parsing topic

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.

List Parsing repositories

dpar

41
Stars
3
Forks
Watchers

Neural network transition-based dependency parser (in Rust)

cbor

297
Stars
101
Forks
Watchers

CBOR support for serde.

lug

66
Stars
6
Forks
Watchers

C++ embedded domain specific language for expressing parsers as extended parsing expression grammars (PEGs)

owl

734
Stars
22
Forks
Watchers

A parser generator for visibly pushdown languages.

formula-parser

73
Stars
24
Forks
Watchers

Parsing and evaluating mathematical formulas given as strings.

funcparserlib

337
Stars
38
Forks
Watchers

Recursive descent parsing library for Python based on functional combinators

StaticJSON

196
Stars
35
Forks
Watchers

Fast, direct and static typed parsing of JSON with C++

corrode

113
Stars
4
Forks
Watchers

A batteries-included library for reading binary data.

PhoneNumberKit

5.0k
Stars
794
Forks
Watchers

A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber.

Fuzi

1.1k
Stars
149
Forks
Watchers

A fast & lightweight XML & HTML parser in Swift with XPath & CSS support