Implement immutable F# syntax trees and parser recovery

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

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
fsharp
領域
compilers

調査の方向性

まず親 issue #8、blocker #28、issues #2 と #6、および ADRs 0008、0012、0014 を読んで、parser と corpus-neutral acceptance policy を理解してください。完了とは、不変の構文木と復旧可能なパーシングが、実装ファイルとシグネチャファイルについて列挙された F# 構文を網羅し、範囲を保持し、安定した診断を生成し、指定された入力に対する syntax-only テストに合格することを意味します。

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

説明

wayfinder:task

Parent: #8
Blocked by: #28

Outcome

Replace the hand-picked prototype parser with immutable syntax trees and recoverable parsing for F# implementation and signature files.

Acceptance criteria

  • The syntax model covers namespaces, modules, opens, attributes, signatures, declarations, type syntax, patterns, expressions, members, accessibility, and ordered multi-file inputs.
  • Implementation and signature files retain exact ranges and enough structure for later resolution and diagnostic recovery.
  • Layout-sensitive and ambiguous forms follow declared language-version behavior.
  • Parser recovery reports stable diagnostics while preserving subsequent independently parseable declarations.
  • Syntax-only tests exercise generated SDK inputs and compiler-owned feature programs without requiring semantic phases.
  • Adding a production rule is justified by an F# construct and conformance row, never by a named line or declaration in an external corpus.

Decision inputs

Issues #2 and #6; ADRs 0008, 0012, and 0014.

This issue inherits the corpus-neutral acceptance policy in #8.

主要言語
F#
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

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

はじめの一歩

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

TheAngryByrd/fsharp2 のほかの issue

TheAngryByrd/fsharp2 の issue をすべて見る

似ている issue

Compilers の issue をもっと見る

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

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