Quick Start

Write, compile, and run your first Visuall program in under 5 minutes.

1. Download Visuall

Go to the Releases page and download the prebuilt binary for your platform.

Windows: Download visuall-v1.1.0-windows-x86_64.zip, extract to C:\visuall\. You also need MinGW-W64 for the C linker. Download, extract, and add bin/ to your PATH.

Linux: Download visuallc-linux-x86_64.tar.gz, extract with tar -xzf visuallc-linux-x86_64.tar.gz. Install gcc via your package manager.

2. Write a program

Create a file called hello.vsl:

print("Hello, Visuall!")

define greet(name: str, age: int) -> str:
    return f"Hello {name}, you are {age} years old"

message = greet("Developer", 1)
print(message)

## Data structures
numbers = [1, 2, 3, 4, 5]
squares = [x * x for x in numbers if x % 2 == 0]
print(f"Squares of evens: {squares}")

3. Compile

Open a terminal in the directory containing hello.vsl:

# Windows
.\visuallc.exe hello.vsl -o hello

# Linux
./visuallc hello.vsl -o hello

4. Run

# Windows
.\hello.exe

# Linux
./hello

Output:

Hello, Visuall!
Hello Developer, you are 1 years old
Squares of evens: [4, 16]

Next Steps