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)
Array definition: https://github.com/carbon-language/carbon-lang/blob/2fa74f1d71e9ffda42f3459917ed265439c2bd6f/explorer/testdata/array/index.carbon#L15 Tuple constructor: https://github.com/carbon-language/carbon-lang/blob/2fa74f1d71e9ffda42f3459917ed265439c2bd6f/explorer/testdata/generic_function/swap.carbon#L15 I'm a bit confused with these definitions... What is about usage of traditional square brackets in array constructors?
PR to add a vim syntax file to support syntax highlighting for .carbon files. Since the Carbon language specification is still in progress, a single syntax file is easier to...
One suggestion from me is that, the maintainers of this repository can add around 4-5 Issue Templates and The most important I think is Pull Request Template, so that the...
Contains changes of my previous pull request that closed unexpectedly and more changes. https://github.com/carbon-language/carbon-lang/pull/1693
Removed most grammatical issues for clarity and ease of readability.
(C++) ``` template struct vec4 { T x, y, z, w; }; struct color { union { vec4 data{ 0, 0, 0, 0}; struct { float r, b, g, a...
- An introprocedural forward analysis that checks the may-be-formed states on local variables. - Returns compilation error on usage of must-be-unformed variables. - Implemented as a pass of `ASTNode` traversal....
I'm on debian 11 (bullseye), which only comes with llvm-11, but installed llvm-15 (and related) through https://apt.llvm.org/ I've almost got explorer working, until I've hit this one: ``` bazel-out/k8-opt/bin/explorer/syntax/parser.cpp:1050:9: error:...
Hello folks, I have the for-loop statement implements... Test Cases are in testdata/for/ Comments and suggestions for improvement are very welcome, because my implementation manipulate the AST to transform the...