Parser Combinators in Haskell

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

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • 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

    Parser combinators (by preludejs)

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • 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

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • 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