Parser topic

A parser turns its input (often text in form of a file) into a more advantageous representation (usually a certain data structure in memory) to perform a specific task.

Common examples include:

  • parsers for markup languages (e.g. HTML/Markdown etc)
  • parsers for data-serialization formats (e.g. JSON/XML/YAML etc)
  • parsers used as part of/in conjunction with a compiler (in this case, the parser consumes the tokenized input emitted by the Lexer and ultimately feeds the resulting parse tree/concrete syntax tree into the compiler)

List Parser repositories

libconfini

159
Stars
23
Forks
Watchers

Yet another INI parser

autumn

120
Stars
15
Forks
Watchers

A Java parser combinator library written with an unmatched feature set.

Molten

39
Stars
8
Forks
Watchers

[WIP] Molten - Style-preserving TOML parser.

fast-float-rust

270
Stars
20
Forks
Watchers

Super-fast float parser in Rust (now part of Rust core)

webidl-rs

33
Stars
7
Forks
Watchers

A WebIDL parser written in Rust.

astexplorer.app

119
Stars
11
Forks
Watchers

An https://astexplorer.net wrapper which adds module bundling and hot reloading.

svgparser

21
Stars
1
Forks
Watchers

(DEPRECATED) Featureful, pull-based, zero-allocation SVG parser.

xmlparser

128
Stars
16
Forks
Watchers

A low-level, pull-based, zero-allocation XML 1.0 parser.

dasel

4.9k
Stars
112
Forks
Watchers

Select, put and delete data from JSON, TOML, YAML, XML and CSV files with a single tool. Supports conversion between formats and can be used as a Go package.

cmake-reflection-template

38
Stars
2
Forks
Watchers

A template for simple C++ reflection done with CMake and Python (no other external tools)