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

bad_json_parsers

366
Stars
25
Forks
Watchers

Exposing problems in json parsers of several programming languages.

astro-eslint-parser

68
Stars
1
Forks
Watchers

Astro component parser for ESLint

DiDOM

2.2k
Stars
204
Forks
Watchers

Simple and fast HTML and XML parser

php-rule-parser

124
Stars
20
Forks
Watchers

PHP Rule Engine - Parses & Evaluates JavaScript-like expressions

m2m

30
Stars
3
Forks
Watchers

Transform a Medium post into a Markdown file

rss

50
Stars
7
Forks
Watchers

📰 Deno module for deserializing RSS or ATOM XML feeds into typed objects

h11

102
Stars
8
Forks
Watchers

I/O agnostic HTTP/1.1 implementation for Zig 🦎

dockerfile-ast

36
Stars
4
Forks
Watchers

An npm module for parsing Dockerfiles powered by TypeScript.

formula-parser

73
Stars
24
Forks
Watchers

Parsing and evaluating mathematical formulas given as strings.

gofeed

2.5k
Stars
204
Forks
Watchers

Parse RSS, Atom and JSON feeds in Go