Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ zig Public
forked from ziglang/zig

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

License

Notifications You must be signed in to change notification settings

brson/zig

 
 

Zig, with additional developer-friendly features

This is a patchset for the Zig compiler, version 0.14.1, that adds minor features useful for debugging and development.

It is not suitable for production: your CI should use mainline Zig.

It is unsupported, and may be completely broken.

Features

  • Unused locals produce warnings, not errors
  • Unreachable code produces warnings, not errors
  • The lexer supports block comments (/* ... */)

Building

It includes a Justfile that downloads and builds LLVM, then builds Zig.

just build

The compiler will be located at ./build/stage3/bin/zig.

Use by e.g. adding an alias to your shell:

alias bzig="$HOME/zig/build/stage3/bin/zig"

The LLVM build is tested on Linux and may not work elsewhere.

About

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Zig 97.5%
  • C 1.5%
  • C++ 0.7%
  • Python 0.1%
  • CMake 0.1%
  • JavaScript 0.1%