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)
Most of these are about enabling inlining, in a couple of cases moving code to a header and throughout switching to `CARBON_DCHECK`. The code size of `CARBON_CHECK` seems to make...
This teaches our source generation tool to create interesting type references. This include both referencing a weighted distribution of explicitly specified types, and referencing types that are being defined in...
Note I'm mostly trying to capture [the docs](https://docs.google.com/document/d/1RRYMm42osyqhI2LyjrjockYCutQ5dOf8Abu50kTrkX0/edit?resourcekey=0-kHyqOESbOHmzZphUbtLrTw&tab=t.0) as they exist today, not fixing issues with the docs. Trying to organize it a little better though, particularly so that it...
- Introduce the `binding_pattern` inst. - Emit it during the initial check traversal, instead of `bind_name` (or `bind_symbolic_name`). - Once the parameter pattern has been checked, traverse the generated `binding_pattern`s...
There are a few features that we've enabled by default that are nice to have - but at some point, especially when promoting carbon to users more heavily, we may...
Added new nodes to the parse tree to handle require declarations `Require` is a new bracketed parse node with the following structure: Require -Impls (New node for `expr impls expr`...
### Description of the bug: I'm getting a crash from the fuzzer, and #4202 seems like the most likely culprit. ### What did you do, or what's a simple way...
Add these interfaces to the core library. For now, they're two separate interfaces because we don't yet support one interface extending another. This collapses a lot of the layering in...
The autoupdate script uses `bazel run //toolchain/testing:file_test --autoupdate`, which runs in a non-hermetic mode that can see files left behind in `bazel-bin/...`. This causes some strange failures. To reproduce: -...