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

date2obj

27
Stars
3
Forks
Watchers

Parse Date to Simple Object in JavaScript

LtGt

119
Stars
8
Forks
Watchers

Lightweight HTML processor

htmlparser2

4.3k
Stars
369
Forks
Watchers

The fast & forgiving HTML and XML parser

go-rst

51
Stars
3
Forks
Watchers

Parse reStructuredText with Go.

clojure-hl7-messaging-2-parser

32
Stars
4
Forks
Watchers

HL7 v2.x Messaging Parser

bindef

37
Stars
1
Forks
Watchers

A DSL and command-line tool for generating binary files.

kison

40
Stars
4
Forks
Watchers

A LALR(1)/LL(1)/LL(K) parser generator for javascript/typescript

gonginx

149
Stars
43
Forks
Watchers

Nginx configuration parser helps you to parse, edit, regenerate your nginx config in your go applications

oga

1.2k
Stars
43
Forks
Watchers

Oga is an XML/HTML parser written in Ruby.

ruby-ll

42
Stars
8
Forks
Watchers

An LL(1) parser generator for Ruby.