Getting Started
This guide will walk you through installing the compiler, writing your first script, and executing it.
Step 1: Install Zigma
You have a few options to get the Zigma CLI compiler (zigma).
Option A: From Release (Recommended)
You can download the latest pre-compiled binary directly from the releases page of the repository.
Once downloaded, extract the binary and add it to your system's PATH.
Option B: From Source
If you want the latest features or want to contribute to the language, you can build Zigma directly from the source code using Zig:
git clone https://git.bouvais.lu/adrien/zigma.git
cd zigma
zig build
zig-out/bin/ directory.
Or run the cli directly with zig build:
zig build run -- path/to/file.zma --run
Option C: From Python Pip
pip install zigma
Option D: From Package Managers
Maybe one day, but I doubt it.
Step 2: Run
Open your terminal, and just run zigma to start interactive mode.
zigma
Or use --file path/to/file.txt
zigma --file path/to/file.txt