Download
Prebuilt binaries for Windows and Linux (x86-64). No LLVM required. v1.1.0
Windows (x86-64)
Download the prebuilt release. No LLVM or build tools needed.
Download .zipInstall a C linker
visuallc emits object files and calls gcc to link. Install MinGW-W64:
- Download WinLibs MinGW-W64 (UCRT, x86-64, POSIX threads)
- Extract to
C:\mingw64\ - Add
C:\mingw64\binto your system PATH - Verify:
gcc --version
Use the compiler
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.gzInstall a C linker
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 Use the compiler
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.