Windows (x86-64)

Download the prebuilt release. No LLVM or build tools needed.

Download .zip

visuallc emits object files and calls gcc to link. Install MinGW-W64:

  1. Download WinLibs MinGW-W64 (UCRT, x86-64, POSIX threads)
  2. Extract to C:\mingw64\
  3. Add C:\mingw64\bin to your system PATH
  4. Verify: gcc --version
cd C:\visuall
.\visuallc.exe hello.vsl -o hello
.\hello.exe

Linux (x86-64)

Download the prebuilt binary. No LLVM or build tools needed.

Download .tar.gz

visuallc calls gcc to produce the final binary:

# Ubuntu / Debian
sudo apt install gcc

# Fedora / RHEL
sudo dnf install gcc

# Arch
sudo pacman -S gcc
tar -xzf visuallc-linux-x86_64.tar.gz
cd visuallc-linux-x86_64
./visuallc hello.vsl -o hello
./hello

Build from Source

Requires CMake 3.20+, a C++17 compiler (GCC 12+, Clang 15+, or MSVC 2022+), and LLVM 17+.

mkdir build && cd build
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build .

If LLVM is in a non-standard location: cmake .. -DLLVM_DIR=/path/to/llvm/lib/cmake/llvm

Full instructions in the Quick Start guide or the GitHub README.