haskell / haskell/cabal

FieldGrammar backend for production of full BNF of particular Cabal grammar.

Open
#7,545 1 comment 8 reactions 0 assignees View on GitHub
Cabal: parser exact-print type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

Since a FieldGrammar is constructed in the tagless style, we can give it multiple semantics as backends. A useful one would be a BNF spec of the full grammar described, suitable for reference and consumption elsewhere.

Related: https://github.com/haskell/cabal/issues/4965

Contributor guide

Open the contributing guide

Research direction

Start by reading the FieldGrammar design and the related issue #4965 to understand the existing grammar and tagless-style semantics. The work is done when a backend can produce a complete BNF specification of the described Cabal grammar for reference and consumption elsewhere.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
documentation
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.