Skip to main content

wave_compiler/
lib.rs

1// Copyright 2026 Ojima Abraham
2// SPDX-License-Identifier: Apache-2.0
3
4//! WAVE compiler: compiles high-level GPU kernel code to WAVE ISA binaries.
5//!
6//! Supports Python, Rust, C++, and TypeScript frontends. Includes a full
7//! optimization pipeline with SSA-based analysis and graph coloring register
8//! allocation.
9
10pub mod analysis;
11pub mod diagnostics;
12pub mod driver;
13pub mod emit;
14pub mod frontend;
15pub mod hir;
16pub mod lir;
17pub mod lowering;
18pub mod mir;
19pub mod optimize;
20pub mod regalloc;
21
22pub use diagnostics::CompileError;
23pub use driver::{compile_kernel, compile_source, CompilerConfig, Language, OptLevel};