carbon-lang
carbon-lang copied to clipboard
Carbon Language's main repository: documents, design, implementation, and related tools. (NOTE: Carbon Language is experimental; see README)
Building on Windows is low priority but it may be helpful to have a common place where we keep track of known problems. The first problem I hit was https://github.com/google/llvm-bazel...
`alias` syntax was the topic of #749, and the key decision is in the comment https://github.com/carbon-language/carbon-lang/issues/749#issuecomment-905703288. Because the question was asked independent of a proposal, a standard proposal is still...
Proposal #257 was accepted but the design docs in https://github.com/carbon-language/carbon-lang/tree/trunk/docs/design have not been updated to reflect its acceptance.
Consider: ``` interface Foo { fn FooFunc[me: Self](); } external impl i32 as Foo; interface Constraint { let T:! Foo; let N:! i32; fn MakeOne[me: Self]() -> T; fn MakeArray[me:...
There are several provisional ideas which were added by @josh11b to the design overview. I'm filing this to track the ideas. Key sections are: https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/README.md#package-declaration - If the package name...
### Description of the bug: - Question-for-leads issue #472 and proposal #875 established that Carbon will use forward declarations. - Question-for-leads issue #1132 described the general rules for how to...
Indentation-based validity rules, particularly for code blocks (as in Python), were the topic of leads question https://github.com/carbon-language/carbon-lang/issues/521. The question was resolved, and the comment https://github.com/carbon-language/carbon-lang/issues/521#issuecomment-890268632 is the key decision. Because...
Clamping (or "saturation") is as useful as modular arithmetics. I think it would be an improvement to C++ if Carbon provided clamping and modular (wrapping) operators using similar mechanisms. Right...
#931 had an alternative, "Private interfaces in public API files". The question to leads #971 asked if this should be allowed. Per https://github.com/carbon-language/carbon-lang/issues/971#issuecomment-1093636630 the decision is to allow it. This...
Here's a proposal for Domain Specific Languages (DSLs), and by proxy, Extension Functions. In Kotlin and C#, an extension function/method allows you to create functions/methods that take place in the...