Skip to main content

brikc build

brikc build <file.pcd> -o <output>
brikc build --target wasm32 hello.pcd

brikc run

brikc run <file.pcd> [-- <args...>]

brikc check

brikc check <file.pcd>
# ✓ Circuit closed: Φ_c = 1.000

brikc fmt

brikc fmt <file.pcd>           # Format in place
brikc fmt --check <file.pcd>   # Check only

brikc emit

brikc emit --rust <file.pcd> -o output.rs
brikc emit --js <file.pcd> -o output.js
brikc emit --python <file.pcd> -o output.py

brikc repl

brikc repl
# brik> let x = MC_00.ADD8(10, 20);
# brik> MC_40.WRITE(x);
# 30

brikc lsp

brikc lsp --stdio
Supports: syntax highlighting, diagnostics, hover docs, go-to-definition, completion.