parsing/AST refactoring

オープン
#82 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@nimec01 がすでに取り組んでいます。

2026年11月12日 から。

  • #83 @nimec01 による — オープン

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
haskell
領域
backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Haskell
スター
0
フォーク
1
平均マージ
16時間 8分
マージ済み PR(30日)
4

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fmidue/haskell-template-task のほかの issue

fmidue/haskell-template-task の issue をすべて見る

似ている issue

Haskell の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。