Skip to content

Commit 1eb9405

Browse files
authored
Update parse-error-recovery.md (#183)
1 parent c22d1f5 commit 1eb9405

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

content/ideas/parse-error-recovery.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,19 @@ parse error messages in GHC.
2626
There are a couple of stretch goals:
2727

2828
* `happy` could further be improved to pass a closure of its
29-
parse state to reduction actions, so as to enable incremental parsing.
29+
parse state to reduction actions, so as to enable incremental parsing
30+
in GHC's parser.
3031
* Improve `happy` so that it provides a convenient and encapsulated way to
3132
introspect the LALR item stack, for example to identify bracketing
32-
productions such as `'(' expr . ')'` in order to report mismatched brackets.
33+
productions such as `'(' expr . ')'` in GHC's parser in order to report mismatched brackets.
3334
There is a [hacky GHC Merge Request](https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4711)
3435
that tries to achieve as much without buy in from happy.
35-
* Improve `happy`s code base, which by now is over 25 years old.
36+
* Improve `happy`s code base, which by now is over 25 years old.
37+
For example, recently `happy` has been modularised, thus split
38+
into multiple independently usable packages (for modelling grammars,
39+
building LALR tables, producing Haskell code from LALR tables, etc.),
40+
but unfortunately the individual packages
41+
[lack documentation and examples](https://github.com/haskell/happy/issues/238#issuecomment-1925804930).
3642

3743
**Potential Mentors**:
3844
Sebastian Graf

0 commit comments

Comments
 (0)