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

HypeScript

1.9k
Stars
22
Forks
Watchers

🐬 A simplified implementation of TypeScript's type system written in TypeScript's type system

mymail-parser

11
Stars
3
Forks
Watchers

Автоматизированный парсер email-адресов соц. сети "Мой мир@Mail.Ru"

brainfuck.rs

8
Stars
1
Forks
Watchers

Brainfuck parser written in rust using nom

http-request-parser

5
Stars
0
Forks
Watchers

Parses the string representation of an HTTP request into a PHP superglobal like array

html2data

67
Stars
3
Forks
Watchers

Library and cli for extracting data from HTML via CSS selectors

goconfig

605
Stars
147
Forks
Watchers

Package goconfig is a fully functional and comments-support configuration file (.ini) parser.

cgajs

31
Stars
7
Forks
Watchers

A javascript parser, processor and visualiser for the ESRI CGA Grammar language

better-parse

409
Stars
42
Forks
Watchers

A nice parser combinator library for Kotlin

duration

29
Stars
2
Forks
Watchers

Parse a RFC 3339 duration string into time.Duration

FastSoup

5
Stars
2
Forks
Watchers

BeautifulSoup interface for lxml