Commit Graph

1069 Commits

Author SHA1 Message Date
Chris Boesch 838fb4ab9d Merge branch 'main' into bit_man3 2025-02-09 20:58:41 +00:00
Chris Boesch c13a00fc71 Merge pull request 'Added deletion of progress.txt for eowyn' (#206) from eowyn_fix into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/206
2025-02-09 20:57:18 +00:00
Chris Boesch c1777f47d5
Added delte_progress additional to the end of eowyn 2025-02-09 21:42:31 +01:00
Chris Boesch c02e6ead16
Added deletion of progress.txt for eowyn 2025-02-09 21:31:07 +01:00
Chris Boesch b3dd04885d Merge pull request 'issue201-adding-progress-tracking' (#203) from zendril/exercises:issue201-adding-progress-tracking into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/203
2025-02-09 20:16:55 +00:00
Chris Boesch bfa0e624f1 Merge pull request 'Skip 74, the compiler corrects this now.' (#205) from i204 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/205
2025-02-09 15:54:11 +00:00
Chris Boesch b38d70002a
Skip 74, the compiler corrects this now. 2025-02-09 16:34:56 +01:00
Alexander Sisco 1478d41801 added patch file for exercise 110 2025-02-08 13:15:48 -08:00
Alexander Sisco 596d5e50ca format fix 2025-02-08 13:09:12 -08:00
Zendril a9487c246f cleanup for PR 2025-02-04 22:24:52 -05:00
Zendril e09c11a16a cleanup for PR 2025-02-04 21:29:56 -05:00
Zendril 92c7235362 cleanup for PR 2025-02-04 21:29:46 -05:00
Zendril 0903c5927b cleanup for PR 2025-02-04 21:14:41 -05:00
Zendril 8e6a52d5a6 tracking, skipping and reset all wired in 2025-02-04 21:13:33 -05:00
Zendril e54b30f3d3 fmt 2025-02-04 15:37:01 -05:00
Zendril 4ac1d70f93 reset and completed exercise tracking wired in 2025-02-04 15:35:14 -05:00
Alexander Sisco 502ac8711e added newline between toggle and set sections to
make the expected output match
2025-02-04 09:31:29 -08:00
Alexander Sisco 0fa86eb8c8 rearranged order of expected output in build.zig 2025-02-04 09:06:23 -08:00
Alexander Sisco 657fd6aff0 changed the order of the sections to improve flow 2025-02-04 08:57:23 -08:00
Alexander Sisco 3faad6e17b Suggesting a third exercise for bit manipulation 2025-02-03 23:24:34 -08:00
Chris Boesch fabedb4a24 Merge pull request 'Use print alias in exercise 100_for4.zig' (#198) from Zorgatone/ziglings-solutions:use-print-alias into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/198
2025-01-09 15:27:12 +00:00
Chris Boesch b1fcca9d82 Merge pull request 'Update: 108 Labeled switch example to contain default case for exhaustion' (#196) from mikkurogue/exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/196
closes #195
2025-01-08 14:30:04 +00:00
Chris Boesch a47dfe1f4d Merge branch 'main' into main 2025-01-08 13:26:15 +00:00
chrboesch 90d05995b5 Update exercises/108_labeled_switch.zig
Fixed an error in the debug statement and made the text a bit more coherent.

Signed-off-by: chrboesch <chrboesch@noreply.codeberg.org>
2025-01-08 13:22:29 +00:00
chrboesch 54f743ba43 Update exercises/108_labeled_switch.zig
The sentence was slightly unclear

Signed-off-by: chrboesch <chrboesch@noreply.codeberg.org>
2025-01-08 12:18:25 +00:00
mikkurogue 87b258d0a9 Fix a typo: we need do we need to -> we need to
Morning delirium does not help when looking at lots of words
2025-01-07 18:00:16 +00:00
Zorgatone 6b29634279 Fix patch after print alias fix in 100_fo4.zig 2025-01-07 15:26:04 +00:00
Zorgatone c2dcaf3099 Use print alias in exercise 100_for4.zig 2025-01-07 15:21:36 +00:00
mikkurogue 5cdaee7420 Update: Remove the 4th branch in favour of just making that the else branch
Probably easier to not have an "unused" branch that returns the same as the else branch in the example.

Signed-off-by: mikkurogue <mikkurogue@noreply.codeberg.org>
2025-01-07 10:15:59 +00:00
Chris Boesch 468e3d7eed Merge pull request 'Fix typo vaild → valid' (#197) from zyzzyxdonta/ziglings-exercises:fix-typo-vaild-valid into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/197
2025-01-04 23:45:10 +00:00
David Pape 26978cb2d3 Fix typo vaild → valid 2025-01-04 21:40:19 +01:00
mikkurogue de353bcb3b Update: 108 Labeled switch example to contain default case for exhaustion
Update example text to give clarity on default/exhaustive case.

Reasoning:
The input for the example will not compile if user would want to test this for the logic of a labeled switch. Due the input not being an exhaustive input but rather "any u8 integer" (for the lack of better terminology) we need to use the else branch to indicate that the default case is handled, in this case by just emulating the '4' branch, but this could return an error.InvalidCaseProvided for example.

Signed-off-by: mikkurogue <michael.lindemans@outlook.com>
2025-01-04 11:56:25 +00:00
Chris Boesch 5ed3af57ee Merge pull request 'Updated credits' (#192) from readme into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/192
2024-12-22 15:50:29 +00:00
Chris Boesch 105c98782c
Updated credits 2024-12-22 15:59:21 +01:00
Chris Boesch f446402105
Updated credits 2024-12-22 15:52:52 +01:00
Chris Boesch 8da60edb82 Merge pull request 'Minor case-related changes.' (#184) from innerviewer/exercises:fix-consistent-naming-106 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/184
2024-11-09 22:36:35 +00:00
innerviewer 83e00872b8
Added patch file. 2024-11-09 20:36:47 +01:00
innerviewer 02bd0b2022 Merge branch 'main' into fix-consistent-naming-106 2024-11-09 13:28:43 +00:00
Chris Boesch 63951df523 Merge pull request 'Deleted unnecessary pointer.' (#185) from fix-176 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/185
2024-11-08 22:02:07 +00:00
Chris Boesch 0d9458807e
Deleted unnecessary pointer. 2024-11-08 22:48:37 +01:00
Chris Boesch ae541a0d9c Merge pull request 'Added SIMD.' (#178) from readme into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/178
2024-11-08 21:34:21 +00:00
Chris Boesch fb46871dab Merge branch 'main' into readme 2024-11-08 21:34:00 +00:00
Chris Boesch 2606e53733 Merge pull request 'Added missing space after a sentence.' (#182) from innerviewer/exercises:fix-typo-105 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/182
2024-11-08 21:32:45 +00:00
innerviewer 33d61cb3c9
Minor case-related changes. 2024-11-08 13:29:44 +01:00
innerviewer e55f8e8699
Added missing space after a sentence. 2024-11-07 22:05:00 +01:00
Chris Boesch 4d4eefa523 Merge pull request 'Fixed link to format source code.' (#180) from fix-link-99 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/180
2024-11-07 20:51:59 +00:00
Chris Boesch 37a0f42621
Fixed link to format source code. 2024-11-07 21:45:47 +01:00
Chris Boesch 97c2ea2f49
Added SIMD. 2024-11-07 15:30:13 +01:00
Chris Boesch 731a3eb0a6 Merge pull request 'vectors-addition' (#177) from vectors-addition into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/177

Thank you @bgthompson for this great exercise!
2024-11-07 14:24:51 +00:00
Chris Boesch bfed660020
Fixed formating, created patch file. 2024-11-07 15:01:59 +01:00