Commit Graph

1426 Commits

Author SHA1 Message Date
Chris Boesch a463aafb91 Merge pull request '107: change comment "brackets" -> "braces"' (#471) from xiaolizhi/exercises:text-fix1 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/471
2026-06-21 22:45:37 +02:00
xiaolizhi 11868112c5 107: change comment "brackets" -> "braces"
Signed-off-by: xiaolizhi <vogelwanderung@pm.me>
2026-06-21 21:22:12 +02:00
Chris Boesch d52661fd39 Merge pull request 'fix style mismatch on 065_builtins2.zig' (#469) from garipew/exercises:fix_typo into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/469
2026-06-21 17:51:03 +02:00
Chris Boesch fe1c9fb9bd Merge branch 'main' into fix_typo 2026-06-21 17:29:19 +02:00
Gabriel Sa 935d268280 fix style mismatch on patches/065_builtins2.zig
Rename `fetchTheMostBeautifulType` to `FetchTheMostBeautifulType` to
follow Zig's standard naming practice.
2026-06-21 11:58:29 -03:00
Chris Boesch 151450cc7d Merge pull request 'minor fixes' (#470) from minor-fixes into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/470
2026-06-21 16:48:15 +02:00
Chris Boesch cbcb570248 expanded explanation about self vs *self 2026-06-21 16:16:31 +02:00
Chris Boesch f3df08d8e0 fixed description 2026-06-21 15:43:28 +02:00
Chris Boesch 1ad3534e4d fixed grammar 2026-06-21 15:31:18 +02:00
Chris Boesch 894ebf1a37 Merge pull request 'Use significand terminology' (#465) from FilipKubis/ziglings:significand-consistent-naming into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/465
2026-06-21 14:24:14 +02:00
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
Gabriel Sa dce9c803bf fix style mismatch on 065_builtins2.zig
Rename `fetchTheMostBeautifulType` to `FetchTheMostBeautifulType` to
follow Zig's standard naming practice.
2026-06-20 19:09:14 -03:00
Filip Kubiš 2cf2a885fd Use significand terminology
As exercise 60 says: Donald Knuth would not be happy with us calling
this mantissa. Proposing to use the less amiguous term significand
2026-06-20 11:18:05 +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