Generate C# bindings via code generation based on the core F# API
还没有人认领这个 Issue。
评估
调研方向
首先查看过时的 csharp-object-bindings 分支,尤其是 src/Plotly.NET.Codegen,并将其基于反射的方案与链接的 Roslyn 增量生成器文档进行比较。该 issue 需要选定一种方案,并在当前仓库中实现从核心 F# API 生成 C# 绑定的功能;其确切完成标准尚未定义。
由索引模型根据 Issue 内容生成。
描述
Description
We basically have 2 options here:
(1) Reflection-based F# code generation project
A WIP of this approach can be found on the csharp-object-bindings branch, which is severely out of date, so it might be best to just initialize a new project in the current repo and copy the files over.
The gist is that a well-defined string template for csharp source files is populated based on reflection-based runtime inspection of the F# types, functions and methods.
(2) C# incremental/source generators
here I have no domain knowledge at all, and all tutorials look like pure arcane glyphs to me. I think source generators are now called incremental generators. I think they are aiming to do what we need. I have absolutely no idea how to do this though. If we go this way, we need an experienced C# dev on it.
https://github.com/dotnet/roslyn/blob/main/docs/features/incremental-generators.md
- 主要语言
- F#
- 星标
- 860
- 派生
- 99
- 平均合并
- 22 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
plotly/Plotly.NET 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
plotly/Plotly.NET#498 ·
-
难度 3/5 1-2 天 新手友好度 42/100
plotly/Plotly.NET#495 · 3 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 45/100
plotly/Plotly.NET#494 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
plotly/Plotly.NET#492 ·
-
难度 4/5 3-5 天 新手友好度 38/100
plotly/Plotly.NET#485 · 1 条评论 ·
查看 plotly/Plotly.NET 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
palladius/rails8-app-on-gcp#145 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
elastic/gradle-plugins#156 ·
-
area:workflow bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 75/100
fil-donadoni/tolaria#4409 ·
-
难度 2/5 1-3 小时 新手友好度 65/100
dotenvx/dotenv-vscode#139 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
Fission-AI/OpenSpec#1960 ·