Haskell Parsing

Open-source Haskell projects categorized as Parsing

Top 23 Haskell Parsing Projects

  1. megaparsec

    Industrial-strength monadic parser combinator library

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. parsec

    A monadic parser combinator library

    Project mention: Crafting Interpreters | news.ycombinator.com | 2026-01-15

    Another possible solution is the usage of functional parsers (e.g.: [0]) and making use of some form of the ‘do’ notation. Each step makes its result available to all subsequent parsers.

    [0] https://hackage.haskell.org/package/parsec

  4. attoparsec

    A fast Haskell library for parsing ByteStrings

  5. Earley

    Parsing all context-free grammars using Earley's algorithm in Haskell.

  6. trifecta

    Parser combinators with highlighting, slicing, layout, literate comments, Clang-style diagnostics and the kitchen sink

  7. regex-applicative

    Regex-based parsing with an applicative interface

  8. xeno

    Fast Haskell XML parser

  9. parsers

    Generic parser combinators (by ekmett)

  10. replace-megaparsec

    Stream editing with Haskell Megaparsec parsers

  11. cron

    Cron data structure and parser for Haskell (by MichaelXavier)

  12. parser-combinators

    Lightweight package providing commonly useful parser combinators

  13. fixhs

    FIX (co)parser in haskell

  14. scanner

    Fast non-backtracking incremental combinator parsing for bytestrings (by Yuras)

  15. sexp-grammar

    Invertible parsing for S-expressions

  16. weighted-regexp

    Regular Expression Matching in Haskell

  17. ruby-marshal

    Haskell library to parse a subset of Ruby objects serialised with Marshal.dump

  18. yoctoparsec

    A truly tiny monadic parsing library

  19. parsec-free

  20. incremental-parser

    Haskell parsing combinator liibrary that can be fed the input and emit the parsed output incrementally

  21. unparse-attoparsec

    An attoparsec roundtrip

  22. Montague

    A library for non-deterministically parsing natural language expressions into a structured form.

  23. hsemail

    Haskell Parsec parsers for the syntax defined in RFC2821 and 2822

  24. gcodehs

    GCode parser, pretty-printer and processing utils

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Haskell Parsing discussion

Log in or Post with

Haskell Parsing related posts

  • How to convert Markdown to PDF

    2 projects | dev.to | 23 Feb 2025
  • Why Does Everyone Hate Haskell, Jazz, and Pure Math?

    4 projects | news.ycombinator.com | 6 Aug 2024
  • An apologia for lazy evaluation

    2 projects | /r/haskell | 23 Mar 2023
  • Functional Implementation of a parser?

    1 project | /r/functionalprogramming | 23 Dec 2022
  • Summing polynomials in Haskell

    1 project | /r/haskell | 15 Oct 2022
  • Traverse/mapM for Computation Expressions

    1 project | /r/fsharp | 4 Oct 2022
  • How would I go about implementing search over a lazy tree in Rust?

    1 project | /r/rust | 14 Aug 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Jul 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Parsing projects in Haskell? This list will help you:

# Project Stars
1 megaparsec 972
2 parsec 888
3 attoparsec 530
4 Earley 378
5 trifecta 304
6 regex-applicative 132
7 xeno 123
8 parsers 90
9 replace-megaparsec 81
10 cron 57
11 parser-combinators 55
12 fixhs 52
13 scanner 46
14 sexp-grammar 35
15 weighted-regexp 34
16 ruby-marshal 32
17 yoctoparsec 28
18 parsec-free 23
19 incremental-parser 23
20 unparse-attoparsec 19
21 Montague 18
22 hsemail 16
23 gcodehs 15

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Haskell is
the 30th most popular programming language
based on number of references?