Skip to content

Zig cookbook is a collection of simple Zig programs that demonstrate good practices to accomplish common programming tasks.

License

Notifications You must be signed in to change notification settings

fwx5618177/zig-cookbook

 
 

Repository files navigation

Zig Cookbook

Zig cookbook is a collection of simple Zig programs that demonstrate good practices to accomplish common programming tasks.

How to use

The website is generated by mdbook, mdbook serve will start a server at http://localhost:3000 for preview.

Each recipe is accompanied by an illustrative example named after its corresponding sequence number. These examples can be executed using the command zig build run-{chapter-num}-{sequence-num}, or zig build run-all to execute all.

Currently Zig 0.11.0 is required to run those examples.

Contributing

This cookbook is a work in progress, and we welcome contributions from the community. If you have a favorite recipe that you'd like to share, please submit a pull request.

Acknowledgment

When working on zig-cookbook, we benefit a lot from several similar projects, thanks for their awesome work.

License

The markdown files are licensed under CC BY-NC-ND 4.0 DEED, and zig files are under MIT.

About

Zig cookbook is a collection of simple Zig programs that demonstrate good practices to accomplish common programming tasks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Handlebars 48.0%
  • Zig 36.8%
  • JavaScript 12.8%
  • CSS 2.1%
  • Makefile 0.3%