csharplang README

The project's README from github.com/dotnet/csharplang. As one markdown file: README.md.

C# Language Design

Join the chat at https://gitter.im/dotnet/csharplang Chat on Discord

Welcome to the official repo for C# language design. This is where new C# language features are developed, adopted and specified.

C# is designed by the C# Language Design Team (LDT) in close coordination with the Roslyn project, which implements the language.

You can find:

If you discover bugs or deficiencies in the above, please leave an issue to raise them, or even better: a pull request to fix them.

For new feature proposals, however, please raise them for discussion, and only submit a proposal as an issue or pull request if invited to do so by a member of the Language Design Team (a "champion").

The complete design process is described here. A shorter overview is below.

Discussions

Debate pertaining to language features takes place in the form of Discussions in this repo.

If you want to suggest a feature, discuss current design notes or proposals, etc., please open a new Discussion topic.

Discussions that are short and stay on topic are much more likely to be read. If you leave comment number fifty, chances are that only a few people will read it. To make discussions easier to navigate and benefit from, please observe a few rules of thumb:

Language proposals which prevent specific syntax from occurring can be achieved with a Roslyn analyzer. Proposals that only make existing syntax optionally illegal will be rejected by the language design committee to prevent increased language complexity.

Proposals

When a member of the C# LDM finds that a proposal merits consideration by the broader team, they can Champion it, which means that they will bring it to the C# Language Design Meeting. Proposals are always discussed in linked discussions, not in the champion issue. We didn't always follow this policy, so many champion issues will have discussion on them; we now lock issues to prevent new discussion from occurring on them. Each champion issue will have a discussion link on it.

Design Process

Proposals evolve as a result of decisions in Language Design Meetings, which are informed by discussions, experiments, and offline design work.

In many cases it will be necessary to implement and share a prototype of a feature in order to land on the right design, and ultimately decide whether to adopt the feature. Prototypes help discover both implementation and usability issues of a feature. A prototype should be implemented in a fork of the Roslyn repo and meet the following bar:

Once approved, a feature should be fully implemented in Roslyn, and fully specified in the language specification, whereupon the proposal is moved into the appropriate folder for a completed feature, e.g. C# 7.1 proposals.

DISCLAIMER: An active proposal is under active consideration for inclusion into a future version of the C# programming language but is not in any way guaranteed to ultimately be included in the next or any version of the language. A proposal may be postponed or rejected at any time during any phase of the above process based on feedback from the design team, community, code reviewers, or testing.

Milestones

We have a few different milestones for issues on the repo:

Language Design Meetings

Language Design Meetings (LDMs) are held by the LDT and occasional invited guests, and are documented in Design Meeting Notes in the meetings folder, organized in folders by year. The lifetime of a design meeting note is described in meetings/README.md. LDMs are where decisions about future C# versions are made, including which proposals to work on, how to evolve the proposals, and whether and when to adopt them.

Language Specification

The current ECMA-334 specification can be found in markdown form on the C# Language Standard repository.

Implementation

The reference implementation of the C# language can be found in the Roslyn repository. This repository also tracks the implementation status for language features. Until recently, that was also where language design artifacts were tracked. Please allow a little time as we move over active proposals.

csharplang (dotnet/csharplang)

Searching Database…

这是什么?这是设计 C# 语言本身的官方仓库:新的语言功能在这里由 C# 语言设计团队(LDT)提出、讨论、采纳并写成规范,同时与负责实现 C# 的 Roslyn 项目协同配合。
C# 编译器本身是在这个仓库里写的吗,还是这里纯粹只管语言设计?纯粹只管设计:仓库里放的是提案、会议记录和版本历史,没有代码。参考实现在 Roslyn 仓库中,ECMA-334 规范则在单独的 C# Language Standard 仓库里。
我怎么能跟进未来 C# 版本正在设计的内容,可以提出自己的想法吗?可以阅读 meetings 文件夹里的活跃功能提案和按年份整理的 Design Meeting Notes。想提出想法就发起一个 Discussion;只有语言设计团队成员(即 champion,支持人)邀请你时,才会正式提交提案。
如果我的提案有人 champion 支持,就一定能进 C# 吗?不一定。在任何阶段都可能根据反馈或测试被推迟或否决——有些被否决的想法会归入 Likely Never 里程碑,除非社区有强烈需求,否则不会再被考虑。
由谁来决定 C# 里加入什么?由 C# 语言设计团队(LDT)在语言设计会议(LDM)上决定。每次会议的记录都按年份发布在 meetings 文件夹里,这些会议决定哪些提案会被推进、如何演进,以及是否采纳、何时采纳。
Roslyn 在这里面起什么作用?Roslyn 是真正实现 C# 的项目,也就是参考实现。新功能的原型在 Roslyn 的 fork 里构建,获批的功能在那里完整实现,而这个仓库则跟踪它们的实现进度。
提案上的里程碑标签是什么意思?Working Set:已有人 champion 支持、正为即将发布的版本积极设计的提案。Backlog:已分类但尚未开工。Any Time:欢迎社区自行实现。Likely Never:已被 LDM 否决。带编号的里程碑:面向特定语言版本的功能。
Creator
dotnet
Size
15.6 MB
Stars
12.7K
Updated
CommitOct 17
Age
9y
Commits · 90 Days