Commit Graph

318 Commits

Author SHA1 Message Date
Chris Boesch 01ad296114 Elrond has moved to Rivendell (where he lives) 2026-06-02 20:17:48 +02:00
Chris Boesch e69a865ce3 fixed minor issues 2026-06-02 11:56:34 +02:00
Chris Boesch fa36a4520f removed ziglings logic from build file 2026-05-31 23:54:20 +02:00
Chris Boesch 8af3372cf2 fixed removed array multiplication 2026-05-04 17:15:30 +02:00
Chris Boesch 6c2531b824 added skip to the C exercises 2026-04-20 19:38:31 +02:00
Chris Boesch d918dbae59 Some deprecated functions removed and a progress bar added. 2026-04-15 18:21:21 +02:00
Chris Boesch 4746ccc1c8 v0.16 2026-04-15 14:33:47 +02:00
Chris Boesch ab3c498226 new example for concurrency 2026-04-14 11:07:13 +02:00
Tom 2472caa183 Replace exercise 074_comptime9
The exercise no longer needed any modifications to pass due to
advancements in Zig.  This new exercise attempts to teach about
@compileError, @compileLog, and some comptime debugging.  It tries to
help prepare users for the "super bonus challenge" in 075_quiz8.
2026-04-12 07:16:33 -07:00
Chris Boesch 7cb7a9948a Merge branch 'main' into fix-060 2026-04-07 09:18:37 +02:00
Chris Boesch 09bae6a70e improvements for async-io 2026-04-06 19:30:56 +02:00
Chris Boesch 0206db8129 fixed missing uppercase letter 2026-04-03 21:27:55 +02:00
Chris Boesch f6a6798c8b improved report design 2026-04-03 19:28:12 +02:00
Chris Boesch 7fae6e0607 improved timestamp comparison 2026-04-03 19:07:10 +02:00
Chris Boesch 1c6487c1e7 added async-io quiz 2026-04-03 18:11:00 +02:00
markuxcu 52ba66c5e9 exercise 60: added new expected output 2026-04-03 14:48:34 +02:00
Chris Boesch 2500936153 new async exercise 2026-04-03 14:28:19 +02:00
Chris Boesch e0259f43a7 Insert space for additional async exercises 2026-04-03 13:35:56 +02:00
Chris Boesch ffde357f30 revival of the async-io functions, #90 2026-04-02 10:38:45 +02:00
Chris Boesch e22748d488 revival of the async-io functions 2026-04-01 23:44:24 +02:00
Chris Boesch fcfb0e80a0 revival of the async-io functions 2026-04-01 23:34:16 +02:00
Chris Boesch db1fef8b86 revival of the async-io functions 2026-04-01 22:52:04 +02:00
Chris Boesch 77d3b684cb revival of the async-io functions 2026-04-01 22:28:37 +02:00
Chris Boesch 8f7a629ffb switched to llvm for the c-exercixes 2026-03-21 20:14:31 +01:00
Chris Boesch 9f6092aea6 Merge branch 'main' into main 2026-03-20 19:13:22 +01:00
MatthijsBlom 04f4c1e32c bump required Zig version 2026-03-20 17:23:11 +01:00
inke 2b5a603c43 Added field .skip_hint to show information on why a file has been
skipped.
2026-03-18 13:55:35 +01:00
Justus Klausecker 16a794fbee 111/112: Add exercises for packed structs/unions
The first exercise introduces the `packed` keyword as an alternative for
bitwise operations. Its main goals are establishing a solid understanding
of field order and conveying the fact that packed containers are basically
integers.
It introduces the concept of container layouts and briefly explains the
default `auto` layout before introducing the `packed` layout (but doesn't
touch `extern` at all).
The exercise also presents a real-world use case for packed containers,
namely LZ4 frame descriptors.
Furthermore it covers equality comparisons between packed containers.

The second exercise talks about switch statements with packed containers
and goes into some more detail on packed unions.
2026-03-13 11:21:03 +01:00
Justus Klausecker 973ec41097 build.zig: replace deprecated GeneralPurposeAllocator alias with DebugAllocator 2026-03-13 09:50:58 +01:00
Chris Boesch 88510735e1 Merge branch 'main' into emphasize-for-loop-range 2026-02-27 19:43:31 +01:00
Paul Ebose 8c119bebdc update output for exercise 095_for3 to include full range of numbers 2026-02-27 19:35:10 +01:00
Paul Ebose 178fd9cef3 fix zig build error when '.progress.txt' contains newline 2026-02-27 04:12:46 +01:00
Carter Snook df3f2df50b use Io interface for enabling ansi escape codes 2026-02-08 18:53:27 -06:00
Chris Boesch 7d4162e388 Merge pull request 'changed to zig-dev version 2471' (#359) from i357 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/359
2026-02-04 11:44:04 +01:00
Chris Boesch 8840f201d5 changed to zig-dev version 2471 2026-02-04 10:37:03 +01:00
tadakuso 6fe9625899 fix: std.process.RunOptions fields changed (used in build.zig) 2026-02-04 08:16:11 +08:00
itsnoctural 91f484ed47 bump required zig version 2026-01-09 00:37:33 +02:00
itsnoctural 551008ac19 fix: use new randomness api 2026-01-09 00:19:24 +02:00
Chris Boesch 639a763044 adjust temp files 2026-01-07 19:57:43 +01:00
Chris Boesch 05b324d697 entered current version number 2026-01-07 15:39:08 +01:00
prasefia a04f945d36 fix build errors in new Zig compiler 2026-01-06 02:55:10 +03:00
Chris Boesch e8f81ddb96 finish new i/o 2025-12-29 12:42:35 +01:00
Chris Boesch b332dc879e build revised 2025-12-28 21:39:32 +01:00
Chris Boesch 21f86f07ad migrated build and test 2025-12-27 23:44:12 +01:00
David Pflug 7d1184a140 Update to new Zig mem trim API
trimRight is now trimEnd
2025-12-13 12:01:10 -05:00
Chris Boesch 757826d45a changed 1 to 42 for better understanding 2025-11-28 14:42:58 +01:00
Chris Boesch 147ff302ec fixed more changes due to new I/O API 2025-11-01 15:46:31 +01:00
Ensar Sarajčić 26fc4fdaaa Update for new zig IO
`test/tests.zig` fails after https://github.com/ziglang/zig/pull/25592 was
merged in. This just ensures that Io is passed, it might not be the
ideal solution.
`build.zig` was also failing due to new color parameter.
2025-11-01 10:34:18 +01:00
Chris Boesch 4346d5f1d8 Fixed error in captureStdErr() 2025-09-24 20:30:54 +02:00
Chris Boesch ed93882b19 Switched to new reader 2025-09-03 10:45:19 +02:00