Vif is a low-level, data-oriented programming language aimed at game development.
- Rust, using the toolchain pinned in
rust-toolchain.toml - LLVM 21.1
- Windows SDK and Visual Studio 2022 Build Tools on Windows
Set LLVM_SYS_211_PREFIX to your LLVM install directory:
export LLVM_SYS_211_PREFIX=/path/to/llvmOn Windows, set the same variable in your environment.
cargo buildRun the compiler with LLVM enabled:
just run -- <args>Run tests:
just testVif uses split licensing:
- The compiler and repository files outside
std/are licensed under GPL-3.0-only. SeeLICENSE. - The standard library in
std/is licensed under the zlib License. Seestd/LICENSE.
Unless a file states otherwise, files under std/ use the standard library license
and all other files use the compiler license.