Skip to content

(off topic) Modern parser generator for Haskell #1909

@deemp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions