Commit Graph

1414 Commits

Author SHA1 Message Date
Chris Boesch 50d699df57 Merge pull request 'fix typos in CONTRIBUTING.md' (#461) from tariq/exercises:fix-typo-contributing-md into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/461
2026-06-21 13:42:56 +02:00
Chris Boesch 272ab59937 Merge pull request 'Fixed a couple of exercise references as they are no longer accurate after the recent changes' (#457) from killyosaur/zigling-exercises:fixing-exercise-references into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/457
2026-06-21 13:12:01 +02:00
Chris Boesch bfd3d013e0 Merge pull request 'Fixed typo: "you will wish" -> "you wish"' (#455) from xaviii/exercises:xaviii-typo into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/455
2026-06-21 12:49:02 +02:00
Chris Boesch 66de1124bc Merge pull request 'fix typo' (#452) from mmsaki/exercises:114-typo into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/452
2026-06-21 12:37:21 +02:00
Tariq Ibrahim 90f847e8b9 fix typos in CONTRIBUTING.md
Signed-off-by: Tariq Ibrahim <tariq181290@gmail.com>
2026-06-13 17:28:48 -07:00
Michael Walker c24a170ca8 missed a change to add the phrase 'and quiz 95' to the statement regarding Zig's Io interface. 2026-06-11 09:59:17 -04:00
Michael Walker bc443a1113 Fixed a couple of exercise references as they are no longer accurate after the recent changes
- Exercise 107 claimed the async exercises are 84-91, they are actually 85-94 and quiz 95
- Exercise 113 claimed the bit manip exercise is 097, it is now 100
- Exercise 114 has the bit manipulation exercises as 097 and 098, they are now 100 and 101
- Exercise 114 has the last switch exercise as being 108, it is now 111.
2026-06-11 09:58:17 -04:00
xaviii d39241a20e Fixed typo: "you will wish" -> "you wish" 2026-06-09 08:54:40 +02:00
mmsaki 1891f99502 fix typo 2026-06-08 05:55:17 +02:00
Chris Boesch 83a89702b2 Merge pull request 'Improve command line style' (#451) from manliop/exercises:improve-command-line-style into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/451
2026-06-06 22:11:53 +02:00
Manlio Perillo 72a441a6bd Improve command line style
Parse the command line following the code from the Zig compiler cli.

Use the args iterator instead of slice, and use while instead of for
loop.

Use the new std.mem.cutPrefix instead of the custom function prefix.

Move Context struct to the top.
2026-06-06 17:39:42 +02:00
Chris Boesch 6aaf048935 Merge pull request 'removed unnecessary shell prompt' (#449) from readme-fixes into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/449
2026-06-04 20:17:48 +02:00
Chris Boesch febc5e8bd2 removed unnecessary shell prompt 2026-06-04 20:16:35 +02:00
Chris Boesch b7ff71cb9e Merge pull request 'Fix exercises 65, 71, 82 due to the build system update' (#443) from mark2185/exercises:fix-build-update into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/443
2026-06-03 18:37:25 +02:00
Chris Boesch a403436fe8 Merge branch 'main' into fix-build-update 2026-06-03 17:39:58 +02:00
Chris Boesch beeca8d510 Merge pull request 'Elrond has moved to Rivendell (where he lives)' (#447) from rivendell into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/447
2026-06-02 20:26:16 +02:00
Chris Boesch 01ad296114 Elrond has moved to Rivendell (where he lives) 2026-06-02 20:17:48 +02:00
Chris Boesch 9b87962595 Merge pull request 'fixed patch file path' (#446) from contribute-fix into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/446
2026-06-02 20:05:42 +02:00
Chris Boesch 9d6ef1f5ba fixed patch file path 2026-06-02 20:03:18 +02:00
Chris Boesch fadd2ea4c7 Merge pull request 'fixed minor issues' (#444) from elrond-fixes into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/444
2026-06-02 12:10:11 +02:00
Chris Boesch e69a865ce3 fixed minor issues 2026-06-02 11:56:34 +02:00
Chris Boesch f6dda8181a Merge pull request 'Add another defer exercise' (#438) from mark2185/exercises:defer3 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/438
2026-06-02 08:56:50 +02:00
Luka Markušić bd55c4ac5a fixup! Add another defer exercise 2026-06-02 06:12:06 +02:00
Luka Markušić e61bedaa25 Add another defer exercise 2026-06-01 22:32:11 +02:00
Chris Boesch ac9f96459c Merge pull request 'fix removed array multiplication' (#436) from mark2185/exercises:array_mult into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/436
2026-06-01 20:50:08 +02:00
Luka Markušić 014560c3f5 fix removed array multiplication 2026-06-01 16:05:36 +02:00
Luka Markušić 3b865a0c17 Fix 082_anonymous_structs3.zig because of new build system 2026-06-01 16:00:27 +02:00
Luka Markušić 63c798637c Fix 071_comptime6.zig because of new build system 2026-06-01 15:37:05 +02:00
Luka Markušić 4480762e83 Fix 065_builtins2.zig because of new build system 2026-06-01 15:34:01 +02:00
Chris Boesch 4ce3ed23f3 Merge pull request 'updated version in history' (#439) from build-system-fix into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/439
2026-06-01 00:23:49 +02:00
Chris Boesch 8db82ef84e updated version in history 2026-06-01 00:22:32 +02:00
Chris Boesch 6d23c876d6 Merge pull request 'started fix for new build system' (#437) from build-system-fix into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/437
2026-06-01 00:20:31 +02:00
Chris Boesch fa36a4520f removed ziglings logic from build file 2026-05-31 23:54:20 +02:00
Chris Boesch 7889d15b84 moved ziglings logic to elrond 2026-05-31 23:48:17 +02:00
Chris Boesch 8a0077e83b Merge pull request 'fix typos' (#435) from mark2185/exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/435
2026-05-31 21:12:39 +02:00
Chris Boesch 762d8b8fa5 started fix for new build system 2026-05-31 20:00:50 +02:00
Luka Markušić 7300e87028 fix contributing instructions for patches 2026-05-31 19:10:30 +02:00
Luka Markušić 1c3238d619 fix typos 2026-05-31 19:10:30 +02:00
Chris Boesch 000e9448d5 Merge pull request '051: add a comma' (#429) from xiaolizhi/exercises:comma-fix into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/429
2026-05-25 12:49:37 +02:00
xiaolizhi f434dbfc01 051: add a comma 2026-05-25 10:37:05 +02:00
Chris Boesch 8468040a8e Merge pull request 'added expalantion for const pointer' (#428) from pointer into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/428
2026-05-22 22:27:15 +02:00
Chris Boesch 1d965491c1 added expalantion for const pointer 2026-05-22 21:58:19 +02:00
Chris Boesch 926fc04d81 Merge pull request 'Instruct user not to worry about sentinel syntax in 065_builtins2' (#425) from nickgrim/exercises:sentinel_warning into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/425
2026-05-18 19:50:18 +02:00
Chris Boesch 6b8bbfd980 Merge pull request 'Minor grammar fix to comment in 005_arrays2' (#426) from nickgrim/exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/426
2026-05-18 19:49:52 +02:00
Nick Grimshaw e96ce4da8e Minor grammar fix to comment in 005_arrays2 2026-05-18 17:38:04 +01:00
Nick Grimshaw 42a417f9a5 Instruct user not to worry about sentinel syntax in 065_builtins2 2026-05-18 17:29:17 +01:00
Chris Boesch dde51b3126 Merge pull request 'fixed removed array multiplication' (#423) from array_mult into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/423
2026-05-04 17:30:31 +02:00
Chris Boesch 8af3372cf2 fixed removed array multiplication 2026-05-04 17:15:30 +02:00
Chris Boesch 1ba1e301a8 Merge pull request 'adjusted comment to zig 0.16' (#422) from i421 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/422
2026-05-02 23:08:18 +02:00
Chris Boesch 1c897e1951 adjusted comment to zig 0.16 2026-05-02 19:25:52 +02:00