Back to Carbon Lang

Driver

toolchain/docs/driver.md

0.0.0-0.nightly.2026.05.06570 B
Original Source

Driver

<!-- Part of the Carbon Language project, under the Apache License v2.0 with LLVM Exceptions. See /LICENSE for license information. SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception --> <!-- toc -->

Table of contents

<!-- tocstop -->

Overview

The driver provides commands and ties together the toolchain's flow. Running a command such as carbon compile --phase=lower <file> will run through the flow and print output. Several dump flags, such as --dump-parse-tree, print output in YAML format for easier parsing.