Crystal Alpha 1.20.0-dev (Incremental + WASM)
Crystal Alpha - Incremental Compilation + WASM Support
Pre-built binary for macOS ARM64 (Apple Silicon) with:
Incremental Compilation
- File-level dependency graph with smart recompilation
- Parse caching and signature-based change detection
- Parallel parsing and semantic analysis
- Watch mode (
crystal-alpha watch)
WASM Support
- Full
wasm32-wasitarget with exception handling, GC, fibers - Pre-compiled WASM object files eliminated — symbols emitted directly from codegen
- LLVM 22+ exception model API support (version-gated)
Install via Homebrew
brew tap crimson-knight/crystal-alpha
brew install crystal-alphaQuick Test
# Native compilation
crystal-alpha build hello.cr -o hello
# WASM compilation
CRYSTAL_LIBRARY_PATH=/tmp/wasm32-wasi-libs crystal-alpha build hello.cr \
-o hello.wasm --target wasm32-wasi -Dwithout_iconv -Dwithout_openssl
wasmtime run --wasm exceptions hello.wasmRequirements
- macOS ARM64 (Apple Silicon)
- LLVM 21+ (via
brew install llvm) - For WASM: wasi-sdk libraries, wasmtime, wasm-opt (Binaryen)