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)
package P api; fn Main() -> i32 { var count: i32 = 5; while (not (count == 0)) { count = count - 112722749; } return 0; } $ bazel...
Hi to all, very nice project, is exactly what I need, a syntax of this era and the power of C++. As said in the title a CLion extension for...
### Disclaimer This issue is part of a series that are just recording language design ideas that have come up for Carbon. It isn't necessarily a *good* idea, or one...
``` package P api; fn Main() -> i32 { __await; return 0; } CHECK failure at ./explorer/interpreter/stack.h:55: !IsEmpty(): Empty stack has no Top(). ```
``` package P api; fn Main() -> i32 { var p: auto = {.x = 0, .y = 0}; p = {.y = 0, .y = 0}; return 0; }...
$ cat /tmp/crash.carbon package P api; fn Main() -> i32 { var auto = i32; return 0; } $ bazel run explorer:explorer /tmp/crash.carbon INFO: Invocation ID: 5382d45f-0f40-4517-b618-ae51e4db4d55 INFO: Analyzed target...
$ cat /tmp/crash.carbon package P api; fn g() -> Bool { return g(); } fn f() -> g() { } fn Main() -> i32 { return 0; } $ time...
Large integers (10k+ digits) have sufficiently poor parsing performance that we're seeing it cause timeouts for the toolchain fuzzers. The slow code seems to be in getAsInteger, called from numeric_literal.cpp...