parsing/AST refactoring

Aperta
#82 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

@nimec01 ci sta già lavorando.

Dal 12/11/2026.

  • #83 di @nimec01 — aperta

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
haskell
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Haskell
Stelle
0
Fork
1
Merge medio
16h 8m
PR unite (30g)
4

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fmidue/haskell-template-task

Tutte le issue di fmidue/haskell-template-task

Issue simili

Altre issue su Haskell

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.