Commit Graph

972 Commits

Author SHA1 Message Date
Nicholas Schwab 4f96fa639d fix: The arguments of the commented out linkElephants call are in the
wrong order to demonstrate the wanted behavior.

It is intended to show that the .? operator will panic if it is called
on null, but the null elephant is passed as the second argument which
may be null (and on which .? is not called).
2024-08-14 19:41:01 +02:00
Chris Boesch 118c1252be Merge pull request 'Simplified de-referencing for clarification' (#143) from i139 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/143
2024-08-11 16:43:17 +00:00
Chris Boesch 3baf0ae657
Simplified de-referencing for clarification 2024-08-11 18:23:48 +02:00
Chris Boesch 97c8bc39bc Merge pull request 'Clarification in description for ranges in loops.' (#142) from i141 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/142
2024-08-11 14:48:05 +00:00
Chris Boesch 17f9312034
Clarification in description for ranges in loops. 2024-08-11 16:29:14 +02:00
Chris Boesch e2f356d95c Merge pull request 'Add build parameter to start at a specific exercise' (#140) from mythmon/ziglings-exercises:build-start-from into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/140
2024-08-09 10:21:08 +00:00
Michael Cooper 70b0522cb2
Add build parameter to start at a specific exercise 2024-08-08 08:23:14 -07:00
Chris Boesch 94d6a4da5f Merge pull request 'Changed needed zig version.' (#138) from pr_130 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/138
2024-08-04 13:19:44 +00:00
Chris Boesch 1ba74488e4
Changed needed zig version. 2024-08-04 15:05:11 +02:00
Chris Boesch d6887f21c8 Merge pull request 'Fix #127 and #129 by updating the build files to account for recent 0.14.0-dev updates' (#130) from bsubei/exercises:fix-0.14.0-build-changes into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/130
2024-08-04 12:31:21 +00:00
Chris Boesch a671def2cf Merge branch 'main' into fix-0.14.0-build-changes 2024-08-04 12:20:39 +00:00
Chris Boesch 28320b169f Merge pull request 'Fixed error message through a TAB in the comment, see https://github.com/ziglang/zig/issues/20928' (#137) from work into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/137
2024-08-04 12:20:10 +00:00
Chris Boesch b26e3b2ac4
Fixed error message through a TAB in the comment, see https://github.com/ziglang/zig/issues/20928 2024-08-04 14:19:05 +02:00
bsubei 4cc1158fbc fix tests build file broken by addRemoveDirTree now requiring LazyPath 2024-07-21 13:01:59 -04:00
bsubei e7dcf0b6ef fix build files broken by latest 0.14.0-dev changes to Build.Step.MakeOptions 2024-07-21 12:23:30 -04:00
Chris Boesch e8f09190d6 Merge pull request 'document -Drandom' (#124) from hippietrail/exercises:random-exercise into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/124
2024-07-06 20:21:39 +00:00
Chris Boesch 1fd6aa1c65 Merge branch 'main' into random-exercise 2024-07-06 20:19:56 +00:00
Andrew Dunbar 4401cf8f49 document -Drandom 2024-07-06 14:18:56 +10:00
Chris Boesch 140c22e9f4 Merge pull request 'Update .woodpecker/eowyn.yaml' (#119) from chrboesch-wp-patch-3 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/119
2024-06-25 09:19:30 +00:00
chrboesch c33898bc65 Update .woodpecker/eowyn.yaml
Add pull request
2024-06-25 09:11:04 +00:00
Chris Boesch 7705473447 Merge pull request 'Rename 'std.rand' to 'std.Random'' (#118) from fix_117 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/118
2024-06-25 08:53:25 +00:00
Chris Boesch 5bf56f03b0
Rename 'std.rand' to 'std.Random' 2024-06-25 10:45:54 +02:00
Chris Boesch 94fe012c77 Merge pull request 'attempt at implementing #113 "Add a way to do one random exercise"' (#117) from hippietrail/exercises:random-exercise into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/117
2024-06-25 08:30:14 +00:00
Andrew Dunbar 2259a18ece attempt at implementing #113 "Add a way to do one random exercise" 2024-06-25 17:22:57 +10:00
Chris Boesch f496d79ab9 Merge pull request '046: Show usage of .? and hint towards new solution.' (#116) from alexmchughnz/ziglings:fix046 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/116
2024-06-24 19:13:25 +00:00
Alex McHugh f656e950d5 Add patch. 2024-06-23 20:24:28 +12:00
Alex McHugh 3763f976eb 046: Show usage of .? and hint towards new solution. 2024-06-23 19:35:22 +12:00
Chris Boesch da46008761 Merge pull request 'Fixes because of a new Zig version, which changes some functions.' (#114) from patch-106 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/114
2024-06-17 10:14:13 +00:00
Chris Boesch 5c000ce2d7
Fixes because of a new Zig version, which changes some functions. 2024-06-17 11:43:25 +02:00
Chris Boesch c0c315b25a Merge pull request 'Calling split is deprecated' (#110) from cannero/zig-exercises:change_split into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/110
2024-06-17 08:00:44 +00:00
Sebastian 83f16709ba Calling split is deprecated
The `split` function in std mem is depreacted and a `@compileError`, splitSequence,
splitAny, or splitScalar should be used instead.
2024-06-16 18:58:48 +02:00
Chris Boesch 6d3d3651d0 Merge pull request 'English fixes for 107_files2.zig' (#108) from hippietrail/exercises:english-107 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/108
2024-06-14 09:06:53 +00:00
Andrew Dunbar 582a2558c7 English fixes for 106_files.zig 2024-06-12 17:52:33 +10:00
Andrew Dunbar c9e5c7d561 English fixes for 107_files2.zig 2024-06-12 17:29:11 +10:00
Chris Boesch 65387dda45 Merge pull request 'fixed typo' (#107) from typo into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/107
2024-06-08 17:25:17 +00:00
Chris Boesch 1f5ec78df8
fixed typo 2024-06-08 19:20:30 +02:00
Chris Boesch bb032fad40 Merge pull request 'New Zig version' (#106) from readme into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/106
2024-06-08 17:07:59 +00:00
Chris Boesch 984f4af3a1
New Zig version 2024-06-08 19:07:20 +02:00
Chris Boesch 99c9c42ff2 Merge pull request 'Verbs agree with the head of the noun phrase, not the closest noun' (#98) from hippietrail/exercises:grammar into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/98
2024-06-08 16:32:54 +00:00
Chris Boesch 7f78701d19 Merge branch 'main' into grammar 2024-06-08 16:31:06 +00:00
Chris Boesch 5c9b9bdc34 Merge pull request 'Ignore .zig-cache for new zig versions' (#102) from NicoElbers/exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/102
2024-05-30 20:17:51 +00:00
Nico Elbers 0279826f5b
Ignore .zig-cache for new zig versions
zig cache directory was updated in ziglang/zig#20115
2024-05-30 18:23:28 +02:00
Chris Boesch 914141ec5a Merge pull request 'the Earth' (#97) from rofrol/ziglings--exercises:the-earth into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/97
2024-05-30 14:15:52 +00:00
Chris Boesch c2caf1a32e Merge branch 'main' into the-earth 2024-05-30 14:15:27 +00:00
Chris Boesch 227bcb18db Merge pull request 'Fixed the changes from reworking std.Progress.' (#101) from v339 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/101
2024-05-29 19:29:56 +00:00
Chris Boesch b224ed510e
Fixed the changes from reworking std.Progress.
For details: https://github.com/ziglang/zig/pull/20059
2024-05-29 21:20:28 +02:00
hippietrail 6223dc0f83 Verbs agree with the head of the noun phrase, not the closest noun
the result...are passed→the result...is passed
the number...vary→the number...varies
2024-05-25 11:25:09 +00:00
Roman Frołow a6d13af0c2 the Earth 2024-05-20 21:32:32 +02:00
Chris Boesch 776316e60b Merge pull request 'Update exercises/105_threading2.zig' (#95) from rpm0372/exercises:TypoIn105 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/95
2024-05-12 11:50:56 +00:00
rpm0372 efe2d19c69 Update exercises/105_threading2.zig
The last word, '"diggits" was misspelled.
2024-05-11 22:38:15 +00:00