Skip to content
marcomitPublic

About

Zinc programming language

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Zinc

A statically-typed, compiled systems programming language. Compiles to native binaries via LLVM.

Requirements

  • clang
  • LLVM (with llvm-config on PATH)

Build

make

This produces a zinc binary in the current directory.

Usage

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

Tests

./run_tests.sh

License

BSD 3-Clause License. See LICENSE.

About

Zinc programming language

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages