Experimental documentation — Work in progress
This page has not completed the documentation audit. Current documentation version: experimental.
Getting started
This path takes you from no Sagan installation to a running native program.
- Install Sagan on Windows x64, or build it from source.
- Write your first program and run it from Git Bash.
- Follow the language tour to learn the main features.
- Optionally install the VS Code extension for syntax coloring.
The simplest command is:
Sagan reads the file, checks it, generates C++, compiles that C++, and runs the resulting native program. If a lexical, syntax, name, type, module, or package error is found, Sagan reports it before native compilation.