A statically-typed, compiled systems programming language. Compiles to native binaries via LLVM.
clang- LLVM (with
llvm-configonPATH)
makeThis produces a zinc binary in the current directory.
zinc <file> [options]| Option | Description |
|---|---|
--emit-llvm |
Output LLVM IR (.ll) instead of a native binary |
-o <file>, --output <file> |
Specify the output file name |
-d, --debug |
Enable debug output |
--unused-variable |
Suppress unused variable warnings |
--unused-function |
Suppress unused function warnings |
--unused-struct |
Suppress unused struct warnings |
Example:
zinc hello.zn -o hello
./hello./run_tests.shBSD 3-Clause License. See LICENSE.