Haskell Parsing

Open-source Haskell projects categorized as Parsing

Top 23 Haskell Parsing Projects

  • megaparsec

    Industrial-strength monadic parser combinator library

    Project mention: An apologia for lazy evaluation | /r/haskell | 2023-03-23

    Did you use megaparsec between August 2018 and August 2022? If so, you had a space leak. Granted, maybe it was small enough that it wasn't "an issue", but it just goes to show that it's so easy to introduce space leaks in Haskell that experts do it regularly.

  • parsec

    A monadic parser combinator library

    Project mention: Revisiting Haskell after 10 years | dev.to | 2024-01-15

    Writing Haskell programs that rely on third-party packages is still an issue when it’s a not actively maintained package. They get out of date with the base library (Haskell’s standard library), and you might see yourself in a situation where you need to downgrade to an older version. This is not exclusive to Haskell, but it happens more often than I’d like to assume. However, if you only rely on known well-maintained libraries/frameworks such as Aeson, Squeleto, Yesod, and Parsec, to name a few, it’s unlikely you will face troubles at all, you just need to be more mindful of what you add as a dependency. There’s stackage.org now, a repository that works with Stack, providing a set of packages that are proven to work well together and help us to have reproducible builds in a more manageable way—not the solution for all the cases but it’s good to have it as an option.

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.

  • attoparsec

    A fast Haskell library for parsing ByteStrings

  • Earley

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

  • trifecta

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

  • regex-applicative

    Regex-based parsing with an applicative interface

  • xeno

    Fast Haskell XML parser

  • 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.

  • parsers

    Generic parser combinators (by ekmett)

  • replace-megaparsec

    Stream editing with Haskell Megaparsec parsers

  • cron

    Cron data structure and parser for Haskell (by MichaelXavier)

  • fixhs

    FIX (co)parser in haskell

  • parser-combinators

    Lightweight package providing commonly useful parser combinators

  • scanner

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

  • weighted-regexp

    Regular Expression Matching in Haskell

  • sexp-grammar

    Invertible parsing for S-expressions

  • ruby-marshal

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

  • yoctoparsec

    A truly tiny monadic parsing library

  • parsec-free

  • incremental-parser

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

  • unparse-attoparsec

    An attoparsec roundtrip

  • replace-attoparsec

    Stream editing with Haskell Attoparsec parsers

  • makefile

    Haskell Makefile parser

  • hsemail

    Haskell Parsec parsers for the syntax defined in RFC2821 and 2822

  • WorkOS

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

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). The latest post mention was on 2024-01-15.

Haskell Parsing related posts


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

Project Stars
1 megaparsec 891
2 parsec 832
3 attoparsec 506
4 Earley 360
5 trifecta 291
6 regex-applicative 126
7 xeno 118
8 parsers 88
9 replace-megaparsec 78
10 cron 53
11 fixhs 52
12 parser-combinators 51
13 scanner 46
14 weighted-regexp 33
15 sexp-grammar 31
16 ruby-marshal 31
17 yoctoparsec 28
18 parsec-free 22
19 incremental-parser 21
20 unparse-attoparsec 16
21 replace-attoparsec 14
22 makefile 14
23 hsemail 14
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.