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)
I hope it is useful...! ~~For the last step, I need help... How to change the fuzzer that it create destructors not methods?~~
As implied in PR #1388 and requested in #1758 this proposal introduces the rationale behind the simplification of a common error-handling pattern, informally known as **let-else statement** (or **var-else statement**)....
Carbon introduces multiple concepts at the same time: libraries, packages and namespaces at the syntax level. I don't think all of these should be exposed as a part of the...
Per discussion on #1811, there's interest in string interpolation but it's not an area that's been closely examined. This is an area where a proposal would be helpful. https://en.wikipedia.org/wiki/String_interpolation gives...
Not sure if there was something behind the indirection...?
Question: Given a function `TemplateFunc` with a template parameter, defined either in Carbon or C++, when is it legal for a generic function `GenericFunc` to call it? ``` fn TemplateFunc[template...
We need updates to docs/design corresponding to proposal #2015.
* Multiplication and division have the same priority. * A new builtin interface DivWith is added. * In some tests expecting a compilation error (syntax error), the error message now...
[p1083](https://github.com/carbon-language/carbon-lang/blob/trunk/proposals/p1083.md) and the [current design](https://github.com/carbon-language/carbon-lang/blob/trunk/docs/design/README.md#integer-types) both say > Unsigned integer types wrap around on overflow, we strongly advise that they are not used except when those semantics are desired. That...
End-of-statement semicolons were the topic of leads question https://github.com/carbon-language/carbon-lang/issues/1924. The question was resolved, and the comment https://github.com/carbon-language/carbon-lang/issues/1924#issuecomment-1207586109 provides their decision. Because the question was asked independent of a proposal, a...