Windows (x86-64)

Download visuallc-v*-installer.exe from the Releases page. The installer:

  • Extracts the compiler, LSP server, package manager, stdlib, and all DLLs to C:\Program Files\visuall\
  • Adds the install directory to your system PATH automatically
  • Registers in Add/Remove Programs for clean uninstall
# After install — works from any terminal
visuallc hello.vsl -o hello
.\hello.exe

Prefer to manage things yourself? Download the zip from the Releases page and extract it anywhere.

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

New in recent releases: const declarations, typed variables (x: int = 42), collection generics (list[int], dict[str, float]), pointer types in @extern (int*, void*), one-click Windows installer, cross-compilation via --target, and 13 security fixes.

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.