Carbon
1 program
Added 2025-10-23T07:20:04Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: Carbon (programming language)
Provenance: commit 4a56663cd7 · authored 2025-10-23T09:20:04+02:00 · model x-ai/grok-4-fast
Merged records (3)
Sources describe this language in separate records, kept as they are. They were
joined by explicit decisions in data/curated/pl_links.csv
(concept concept/repo/Carbon); names of merged pages are listed as aliases above.
- Carbon
repo/Carbon· this page · primary · sources: llm-campaign · evidenceL-c2b3f369f0same_aspl/carbon-programming-language: accepted (generic-qualifier, claude-opus-5-5, 2026-09-30) - carbon
pl/carbon· record without its own page · sources: linguist, pldb, pygments · Wikipedia · Q113157814 · PLDBL-60f2eeadb5same_aspl/carbon-programming-language: accepted (generic-qualifier, claude-opus-5-5, 2026-09-30) - Carbon (programming language)
pl/carbon-programming-language· had its own page, merged here · sources: wikipedia · Wikipedia · Q113157814L-60f2eeadb5same_aspl/carbon: accepted (generic-qualifier, claude-opus-5-5, 2026-09-30)L-c2b3f369f0same_asrepo/Carbon: accepted (generic-qualifier, claude-opus-5-5, 2026-09-30)
Sources mentioning this language
6 sources · pl_id:
pl/carbonWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Typing | static, nominative, partly inferred |
|---|---|
| Designed by | |
| Influenced by | C++ · Rust · Zig · Haskell · Kotlin · Swift |
| License | Apache-2.0-with-LLVM-Exception |
| Implemented in | C++ |
| Homepage | https://github.com/carbon-language |
Extensions claimed by this language
4 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.carbon | linguist | primary | 135.9K files |
.carbon | pygments | primary | 135.9K files |
.carbon | wikidata | primary | 135.9K files |
.co2 | wikidata | deprecated | 5.5K files |
Related languages
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)
Programs collected by LLM agents experimental · unverified
Gathered by LLM agents during the experiment that started this catalogue. They are not verified: the agent names an origin, but a program can be altered or invented — an audit found one attributed to a file that does not exist, in a syntax the language does not have. Prefer the programs archived by Software Heritage above. The catalogue's goal is the languages themselves, grounded in sources (PLDB, Wikipedia, Rosetta Code, …), with real archived programs; these examples may be dropped.
Hello World Sample
Provenance: commit 4a56663cd7 · authored 2025-10-23T09:20:04+02:00 · model x-ai/grok-4-fast · Temp 0.4
// Copyright 2022 The Carbon Language Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "sample/print.h"
fn Main() -> i32 {
Print("Hello, world!");
return .Ok;
}