Parser Combinators in Haskell

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • pyparsing

    Python library for creating PEG parsers

    Since it is not mentioned in the article: Python users may also want to check out pyparsing [0]. It is slightly different from Parsec/FParsec (for instance, it ignores all whitespace by default), but I think it is a really good project.

    [0]: https://github.com/pyparsing/pyparsing/

  • parser

    String parser combinators (by preludejs)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • assert-combinators

    Functional assertion combinators.

  • generator

    Generator module. (by preludejs)

  • nom

    Rust parser combinator framework

    Rust has a parser combinator library called Nom [^1] that is really a joy to use. I know a little Rust—enough to know what a lifetime is but not so much that I don’t have to keep referring to the documentation when building something. It took me just a few hours with the docs and examples to get a decent parser together. So nice to work with combinators!

    [^1]: https://github.com/Geal/nom

  • httpaf

    A high performance, memory efficient, and scalable web server written in OCaml

  • retro-httpaf-bench

    Benchmarking environment for http servers

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • ocaml-h2

    An HTTP/2 implementation written in pure OCaml

  • angstrom

    Parser combinators built for speed and memory efficiency

  • attoparsec

    A fast Haskell library for parsing ByteStrings

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts