Skip to content

Parser Resources

Alen Šiljak edited this page Jan 18, 2023 · 12 revisions

An info-dump of resources potentially useful for the parser.

Related discussion: Which parser?.

Existing Rust Ledger Parsers

  • dinero uses pest
  • ledger-parser, Marek, crate, repo. Uses nom parser.
  • Grossbuch, @antage. Uses chumsky parser.
  • Tackler working on Rust implementation. Uses antlr.

Existing Ledger parsers

Not in Rust.

Parser Libraries

Libraries that can be used to write a parser.

antlr (#31), chomp, glue, plex, pratt, tree-sitter

LL:

  • combine
  • nom (#32)

PEG parsers:

  • chumsky
  • oak
  • pest (#30)
  • pom
  • rust-peg

LR:

  • grmtools/lrpar
  • lalrpop
Clone this wiki locally