Lower computation expressions, sequences, quotations, and resumable code

未关闭
#36 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
fsharp
领域
compilers

调研方向

先从父级 issue #8 和 unblocker #35 开始,然后阅读 issue #5、#6 和 #18,以及 ADR 0006、0008、0015 和 0027。当列出的 computation-expression、sequence、quotation 和 resumable-code 行为通过 compiler、runtime、下游 F# 使用、portable-PDB、NativeAOT、dynamic 和 optimized-mode 检查时,工作即告完成。

由索引模型根据 Issue 内容生成。

描述

wayfinder:task

Parent: #8
Blocked by: #35

Outcome

Implement the specialized F# translations that build on the core typed and lowered representations.

Acceptance criteria

  • Computation-expression syntax translates through general builder lookup and typing, including binding, return, combination, delay, loops, exception handling, resource use, custom operations, and applicative forms.
  • Sequence expressions and quotations preserve their specified semantic and metadata contracts.
  • Resumable-code and task-like state-machine lowering covers suspension, resumption, cancellation, exception paths, disposal, generic builders, and debug anchors.
  • Tests use multiple unrelated compiler-owned builders and state-machine programs; no production branch recognizes a library namespace, type, or member.
  • Generated code passes runtime, downstream F# consumption, portable-PDB, and NativeAOT consumer checks within the declared envelope.
  • Dynamic and optimized modes remain behaviorally compatible with the relevant compiler options.

Decision inputs

Issues #5, #6, and #18; ADRs 0006, 0008, 0015, and 0027.

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

主要语言
F#
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

TheAngryByrd/fsharp2 的其他 Issue

查看 TheAngryByrd/fsharp2 的全部 Issue

相似的 Issue

更多 Compilers Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。