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

rakun

19
Stars
3
Forks
Watchers

🦝 A parser to extract metadata from anime torrent filename, like source, codecs, resolution, series, audio, etc.

libs

92
Stars
8
Forks
Watchers

🍱 Collection of carefully crafted TypeScript standalone libraries. Minimal, unbloated, convenient.

almond

9
Stars
1
Forks
Watchers

A new general purpose JavaScript parser written in Rust that generates ESTree compatible abstract syntax trees

restruct

10
Stars
1
Forks
Watchers

Simple parsers for binary data in Rust

gameboy-rom-parser

28
Stars
3
Forks
Watchers

A parser for [Super] GameBoy [Color] ROMs

brawllib_rs

18
Stars
2
Forks
Watchers

Brawl character file parser, based on brawlbox/brawllib, written in rust.

litrs

41
Stars
5
Forks
Watchers

Parsing and inspecting Rust literals (particularly useful for proc macros)

combine

1.3k
Stars
93
Forks
Watchers

A parser combinator library for Rust

pdu

55
Stars
9
Forks
Watchers

Small, fast, and correct L2/L3/L4 packet parser.

node-bookmarks-parser

8
Stars
3
Forks
Watchers

Parses Chrome HTML bookmarks files