Homebrew tap for C+ — an experimental, safety-oriented systems programming language and toolchain.
brew install netdur/cplus/cplusOr tap first, then install:
brew tap netdur/cplus
brew install cplusThis installs the cpc compiler, the cpc-lsp language server, and the
cpc-bindgen FFI generator.
brew install --HEAD netdur/cplus/cpluscpc produces LLVM IR and shells out to clang to link a native binary, so
compiling/running a program needs a C toolchain on PATH (Xcode Command Line
Tools on macOS, clang on Linux). Front-end commands (cpc check,
cpc --emit-ll, cpc lsp, cpc graph, …) work without it.
Developed and tested against Apple clang 21.0.0 on macOS / Apple Silicon
(aarch64-apple-darwin). Other clang versions and targets may work but are not
yet part of the tested matrix.