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

fcc

129
Stars
21
Forks
Watchers

Fedjmike's C Compiler

mini-c

498
Stars
50
Forks
Watchers

Dr Strangehack, or: how to write a self-hosting C compiler in 10 hours

JPEGsnoop

492
Stars
81
Forks
Watchers

JPEGsnoop: JPEG decoder and detailed analysis

whatsapp-chat-parser

148
Stars
23
Forks
Watchers

A package to parse WhatsApp chats with Node.js or in the browser 💬

parsedown

14.7k
Stars
1.1k
Forks
Watchers

Better Markdown Parser in PHP

gronx

379
Stars
24
Forks
Watchers

Lightweight, fast and dependency-free Cron expression parser (due checker, next/prev due date finder), task runner, job scheduler and/or daemon for Golang (tested on v1.13+) and standalone usage. If y...

htoml

38
Stars
13
Forks
Watchers

TOML file format parser in Haskell

CodeParse

24
Stars
4
Forks
Watchers

编译相关的Parser

go-conventionalcommits

70
Stars
6
Forks
Watchers

Fu powers to parse your commit messages as the Conventional Commits specification demands.

JSONPath

139
Stars
27
Forks
Watchers

JSONPath implementation for PHP.