Skip to content

(off topic) Modern parser generator for Haskell #1909

Description

@deemp

Sorry for off topic here.

Recently, I asked the Haskell community (link) whether there was a modern parser generator. It turned out, there are some attempts that aren't production-ready. At least they're not mature enough to be used in GHC (haskellfoundation/tech-proposals#63, https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4711).

After some discussion and superficial studying of the works, I came to the following high-level requirements (link).

  • a tool written in Haskell
  • that produces an SGLL parser for a DDCFG
    • the tool generates purely Haskell code
    • or, the tool reads a grammar and generates a parser in memory (nice for prototyping)
  • and the produced parser is
    • fault-tolerant
    • optionally incremental

Now, I have a couple of questions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions