parsing/AST refactoring
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start by reading pull request #73 to identify the AST pre-computation and haskell-src-exts parsing changes requested for separation. Then trace the FeedbackPhase sequence around CodeWidth and Compilation to assess where parsing would fit; done means parsing can run as its own phase, with syntax checking configurable without invoking GHC. The payload names no source files or tests.
Written by the indexing model from the issue text.
Description
I think the changes concerning AST pre-computation and haskell-src-exts parsing from https://github.com/fmidue/haskell-template-task/pull/73 should be put into a separate pull request, to be merged before #73.
While at it, it would make sense to introduce a further FeedbackPhase, between CodeWidth and Compilation. That phase would exactly be the haskell-src-exts parsing step, and thus it would become possible to configure that students' submissions should be checked for "Haskell syntactical correctness", but without any further checking, in particular not firing up GHC. That might be useful, e.g., in an eventual exam setting if the concurrent load on the task server needs to be controlled, in particular avoiding it starting many file and GHC processes.
- Dominant language
- Haskell
- Stars
- 0
- Forks
- 1
- Avg merge
- 16h 8m
- Merged PRs (30d)
- 4
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from fmidue/haskell-template-task
-
Difficulty 1/5 Under an hour Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
-
Overhaul linting APIOpen
Difficulty 4/5 3-5 days Newbie friendliness 45/100
fmidue/haskell-template-task#79 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
Separate task config and task instancePossibly taken @nimec01 claimed this 78 days ago. Openbefore-next-semester
Difficulty 5/5 Over a week Newbie friendliness 20/100
fmidue/haskell-template-task#56 · 4 comments ·
All issues in fmidue/haskell-template-task
Similar issues
-
area:client bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 Under an hour Newbie friendliness 72/100
fmidue/term-tasks#34 · 1 reaction ·
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
fmidue/logic-tasks#394 ·
-
difficulty: easy open-public refactor scope
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
seal-harness/seal-harness#348 ·
Maintainers usually reply within 1 day