Repository navigation
Getting Started
Joe Curlee (w4ffl35) edited this page Jan 31, 2026
·
6 revisions
Ubuntu/Debian:
sudo apt-get update
sudo apt-get install -y cmake ninja-build g++ libz3-dev pkg-configcmake --preset linux-debug
cmake --build --preset linux-debugCurlee supports installation via CMake.
Default install prefixes (per preset):
- Debug:
./build/linux-debug/install - Release:
./build/linux-release/install
Example (release):
cmake --preset linux-release
cmake --build --preset linux-release
cmake --install build/linux-release
# Installed binaries:
./build/linux-release/install/bin/curlee --help
./build/linux-release/install/bin/curlee_lsp --helpThe preset sets a default install prefix (see installDir in CMakePresets.json).
You can override it at install time with cmake --install build/linux-release --prefix <your-prefix>.
If you want to force vendored Z3 (instead of system Z3):
cmake --preset linux-debug -DCURLEE_USE_SYSTEM_Z3=OFF
cmake --build --preset linux-debug./build/linux-debug/curlee --help
./build/linux-debug/curlee check path/to/file.curlee
./build/linux-debug/curlee run path/to/file.curleeNew here? See Glossary for project terms (fuel, golden tests, spans, etc.).
These are real, current fixtures in this repo:
# Demonstrates a failed requires with a model / counterexample
./build/linux-debug/curlee check tests/fixtures/check_requires_divide.curlee
# Demonstrates a failed ensures at return with a model / counterexample
./build/linux-debug/curlee check tests/fixtures/check_ensures_fail.curlee
# `run` is verification-gated: this should fail with the same diagnostic
./build/linux-debug/curlee run tests/fixtures/check_ensures_fail.curlee
# Demonstrates refinement reasoning
./build/linux-debug/curlee check tests/fixtures/check_refinement_implies.curlee
# Demonstrates execution (gated by successful check)
./build/linux-debug/curlee run tests/fixtures/run_success.curleeFor a quick end-to-end confidence loop (build + basic CLI + proof fixtures + a small targeted test run), run:
bash scripts/smoke.shYou can also run both debug + release presets:
bash scripts/smoke.sh --bothctest --test-dir build/linux-debug --output-on-failure