summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-03-18Added field .skip_hint to show information on why a file has beeninke
skipped.
2026-03-13Merge pull request 'Add exercises for packed structs/unions' (#374) from ↵Chris Boesch
justusk/ziglings:packed into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/374
2026-03-13111/112: Add exercises for packed structs/unionsJustus Klausecker
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-13build.zig: replace deprecated `GeneralPurposeAllocator` alias with ↵Justus Klausecker
`DebugAllocator`
2026-03-11Merge pull request 'update description of 050_no_value for clarity' (#373) ↵Chris Boesch
from robertefry/ziglings_exercises:fix/050-clarity into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/373
2026-03-09fix: oopsRobert Fry
2026-03-09update description of 050_no_value for clarityRobert Fry
2026-02-27Merge pull request 'improve grammar in 103_tokenization' (#365) from ↵Chris Boesch
pebose/exercises:improve-grammar into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/365
2026-02-27Merge pull request 'emphasize that the end number of a for-loop range is ↵Chris Boesch
exclusive' (#366) from pebose/exercises:emphasize-for-loop-range into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/366
2026-02-27Merge branch 'main' into emphasize-for-loop-rangeChris Boesch
2026-02-27Merge pull request 'add commas' (#364) from ↵Chris Boesch
pebose/exercises:add-punctuations into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/364
2026-02-27Merge pull request 'replace deprecated `mem.indexOf` with `mem.find`' (#363) ↵Chris Boesch
from pebose/exercises:indexof-to-find into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/363
2026-02-27update output for exercise 095_for3 to include full range of numbersPaul Ebose
2026-02-27update patch file for 095_for3Paul Ebose
2026-02-27update patch file for 103_tokenizationPaul Ebose
2026-02-27Merge pull request 'add hint that @field() works differently on types and ↵Chris Boesch
values' (#367) from pebose/exercises:add-hint-to-exercise-82 into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/367
2026-02-27Merge pull request 'improve comment stating 'Zig 0.10.0' @typeName change' ↵Chris Boesch
(#370) from pebose/exercises:improve-builtins2-comment-zig-0-10 into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/370
2026-02-27Merge pull request 'fix `zig build` error when '.progress.txt' contains ↵Chris Boesch
newline' (#368) from pebose/exercises:fix-zig-build-error into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/368
2026-02-27Merge branch 'main' into fix-zig-build-errorChris Boesch
2026-02-27update patch filePaul Ebose
2026-02-27update patch filePaul Ebose
2026-02-27Merge pull request 'improve comment on continue expression behavior' (#369) ↵Chris Boesch
from pebose/exercises:improve-013-while3-comment into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/369
2026-02-27Merge pull request 'fix 068_comptime3 comment to 'std.Io.Writer.print'' ↵Chris Boesch
(#371) from pebose/exercises:correct-comptime3-comment into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/371
2026-02-27fix `zig build` error when '.progress.txt' contains newlinePaul Ebose
2026-02-27improve comment on continue expression behaviorPaul Ebose
2026-02-27improve comment stating 'Zig 0.10.0' @typeName changePaul Ebose
2026-02-27fix 068_comptime3 comment to 'std.Io.Writer.print'Paul Ebose
2026-02-27add hint that @field() works differently on types and valuesPaul Ebose
2026-02-27emphasize that the end number of a for-loop range is exclusivePaul Ebose
2026-02-27improve grammar in 103_tokenizationPaul Ebose
2026-02-27add commasPaul Ebose
2026-02-27replace deprecated `mem.indexOf` with `mem.find`Paul Ebose
2026-02-08Merge pull request 'use Io interface for enabling ansi escape codes' (#361) ↵Chris Boesch
from sno2/exercises:main into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/361
2026-02-08use Io interface for enabling ansi escape codesCarter Snook
2026-02-04Merge pull request 'changed to zig-dev version 2471' (#359) from i357 into mainChris Boesch
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/359
2026-02-04changed to zig-dev version 2471Chris Boesch
2026-02-04Merge pull request 'fix: std.process.RunOptions fields changed (used in ↵Chris Boesch
build.zig)' (#358) from tadakuso/ziglings:main into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/358
2026-02-04fix: std.process.RunOptions fields changed (used in build.zig)tadakuso
2026-01-10Merge pull request 'fix: 071 update TypeInfo field case to .int' (#356) from ↵Chris Boesch
arthursolomiac/exercises:fix-071-typeinfo-case into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/356
2026-01-10fix: 071 update TypeInfo field case to .intArthur Solomiac
2026-01-09Merge pull request 'I/O improvements' (#355) from io_improvements into mainChris Boesch
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/355
2026-01-09I/O improvementsChris Boesch
2026-01-09Merge pull request 'fix: use new randomness api' (#354) from ↵Chris Boesch
itsnoctural/exercises:main into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/354
2026-01-09bump required zig versionitsnoctural
2026-01-09fix: use new randomness apiitsnoctural
2026-01-08Merge pull request 'Change link to documentation' (#351) from ↵Chris Boesch
BartShoot/exercises:main into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/351
2026-01-08Change link to documentationBartShoot
It's pointing to pre-writergate documentation
2026-01-07Merge pull request 'adjust temp files' (#350) from i348 into mainChris Boesch
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/350
2026-01-07adjust temp filesChris Boesch
2026-01-07Merge pull request 'docs: add zig 0.16.0-dev.1976 version change' (#347) ↵Chris Boesch
from doprz/exercises:docs/zig-version-change into main Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/347