Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI status badge

Advent of code 2023 with Zig

Learning material, problems solutions and some side exploration with the language

Setup

Download Zig from an official release link here => https://ziglang.org/download/

This repository is using Zig 0.11.0

Run tests

To run all tests:

# Omitting the RUN_SLOW_TESTS flag will skip the slower tests
make test RUN_SLOW_TESTS=true

To run a single test:

# Replace yyyy and dd with year and day of the relevant AoC problem
zig test --test-filter "src\aoc_yyyy_dd.zig"

Format code

make fmt

Generate a problem template

# Replace yyyy and dd with year and day of the AoC problem you want to generate a template for
zig build problem_template -- yyyy dd

About

Advent Of Code 2023 in Zig

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages