Toolchain development

Official

Build, debug, and understand Carbon's toolchain.

Authorcarbon-language
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This section explains how to check, build, debug, and understand the Carbon toolchain to streamline development workflows and reduce ramp-up time for contributors.

Core Features & Use Cases

  • Guides on navigating the toolchain structure and architecture (base, check, lex, parse, lower, sem_ir)
  • Step-by-step workflows for building, testing, and debugging, including common pitfalls
  • Use Case: A contributor validating a change in the parser and SemIR generation and ensuring it passes existing tests

Quick Start

Run the autoupdate_testdata.py script to refresh test data before running a targeted build.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Toolchain development
Download link: https://github.com/carbon-language/carbon-lang/archive/main.zip#toolchain-development

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.