Install from crates.io
Puts crisp and reveal in ~/.cargo/bin:
cargo install crisp-lang --locked crisp --version
Optional language server:
cargo install crisp-lsp --locked
Run hello immediately
No need to clone the repo — create a tiny project and run it:
mkdir -p hello/src && cd hello
cat > crisp.toml <<'EOF'
[package]
name = "hello"
version = "0.1.0"
edition = "2026"
[build]
target = "rust"
runtime = "tokio"
error_model = "enum"
EOF
cat > src/main.crp <<'EOF'
shape Named = {
name: str
}
type Guest = {
name: str = "world"
}
id(x: T) = x
greet(who: Named) = "hello {who.name}"
pub main() = {
world := Guest {}
print(id(greet(world)))
}
EOF
crisp run .
Expected output:
"hello world"
Useful companions:
crisp check . crisp emit . crisp build .
Install from source
For contributors or unreleased commits:
git clone https://github.com/jose-compu/crisp.git cd crisp cargo install --path crates/crpc --locked # ensure ~/.cargo/bin is on PATH crisp run examples/hello
Editor VSIX (optional): ./scripts/package-vsix.sh then Extensions → Install from VSIX…
Next steps
- Beginner tutorial — language features with short examples
- QUICKSTART.md — full project layout guide
- Documentation hub — spec, limitations, CLI