Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Support for extra/extended syntaxes?

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

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
cpp, csharp
领域
compilers

调研方向

该 issue 未指出文件、测试或具体的实现入口。首先检查现有的 Clang/libclang AST 系统及其对 C++ 头文件的处理方式,然后评估所列出的 C++/CLR、C++/Cx、C++/WinRT 和 COM 相关情况。确定范围,并记录或验证对所请求语法的支持行为,即视为完成。

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

描述

question

I'm curious if this has built-in support for extended C++ syntaxes such as Microsoft's extras ... and are there any specific considerations that need to be made for things like C++/CLR, C++/Cx, C++/WinRT headers, etc? Any difficulties with quirky COM-related code in Win32 headers? Or does it just process all of it just fine?

I was actually about to end up having to write one of these myself, from scratch, but then decided to look here first and see if my favorite person to steal from already had a solution available to use and, as I'd hoped, you already had a whole AST system defined. Looks like ClangSharp is providing the back-end service for it, which is a project I'm very, very interested in but haven't had a chance to use yet. I've been working with CsWin32 and Win32Metadata a bit lately, but I'm definitely very interested in what ClangSharp can do and how it differs from those Microsoft projects. I've been gradually making a custom, lightweight .NET 7 interop wrapper for DirectX 11/12 and have been trying to explore alternative tools, libraries, etc that can benefit my work and add some value ...

主要语言
C#
星标
623
派生
79
平均合并
2 天 2 小时
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

xoofx/CppAst.NET 的其他 Issue

查看 xoofx/CppAst.NET 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

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