Commit graph

876 commits

Author SHA1 Message Date
Chris Boesch
72e15c9ef3 Merge pull request 'Removed ci/compat.sh as it is included in build.zig again' (#30) from ci into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/30
2023-11-21 23:01:10 +00:00
Chris Boesch
492e5f5c40 Removed ci/compat.sh as it is included in build.zig again 2023-11-21 23:51:28 +01:00
Chris Boesch
5eafe16e97 Merge pull request 'Fix two minor typos' (#29) from A-h-m-e-d/exercises:typos into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/29

Thanks!
2023-11-21 20:49:55 +00:00
Ahmed
46e3a38dbc Fix two minor typos 2023-11-21 19:09:47 +02:00
Chris Boesch
f987a06ccc Merge pull request 'Converted var to const if there is no mutation in the var.' (#28) from var_const into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/28
2023-11-21 14:26:23 +00:00
Chris Boesch
b0511bb3c7 Fixed patch hunk 2023-11-21 15:22:36 +01:00
Chris Boesch
7679f93f68 Converted var to const if there is no mutation in var.
This is checked from compiler version 0.12.0-dev.1664
2023-11-21 15:01:22 +01:00
Chris Boesch
b7015c2d9d Merge pull request 'fixed variable declaration by changing it to a const, since it's never mutated' (#27) from zev/exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/27
2023-11-21 13:20:51 +00:00
Zev Averbach
063a74c59a fixed variable declaration by changing it to a const, since it's never mutated 2023-11-21 12:00:34 +01:00
Chris Boesch
f29c0692d5 Added link to 'Zig in Depth' 2023-11-19 14:51:24 +00:00
Chris Boesch
afe5511455 Merge pull request 'Changed three dots to colons, see #23' (#25) from pr23 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/25
2023-11-07 14:23:12 +00:00
Chris Boesch
cab5ee87bf Changed three dots to colons, see #23 2023-11-07 15:18:00 +01:00
Chris Boesch
5a259a943f Merge pull request 'Change the task so that the exercise contains two errors again.' (#24) from i22 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/24
2023-11-06 18:55:54 +00:00
Chris Boesch
55b58fea56 Change the task so that the exercise contains two errors again. 2023-11-06 19:50:47 +01:00
Chris Boesch
08d294f2b8 Merge pull request 'fixed build: renamed child.exec to run' (#19) from fix_build into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/19
2023-10-24 10:42:25 +00:00
Chris Boesch
6446542867 Update .woodpecker/eowyn.yml
force pulling
2023-10-24 10:23:10 +00:00
Chris Boesch
8a1fbea5c9 fixed build: renamed exec to run 2023-10-24 11:57:44 +02:00
Chris Boesch
633af411e6 Update README.md
insert tag hint
2023-10-24 08:43:07 +00:00
Chris Boesch
890fe8e1c4 Merge pull request 'fixed typos' (#17) from typos into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/17
2023-10-22 12:24:28 +00:00
Chris Boesch
2feeb282a9 fixed typos 2023-10-22 14:19:23 +02:00
Chris Boesch
fe65ff343f Merge pull request 'Introduce syntax for turning a many pointer to a slice' (#15) from hachanuy/exercises:054-clarify into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/15
2023-10-21 21:31:34 +00:00
Uy Ha
b6abbf948c Introduce syntax for turning a many pointer to a slice 2023-10-18 19:28:34 +00:00
Chris Boesch
9b58f3e83c Added idea for a new excersise 2023-10-15 20:50:31 +00:00
Chris Boesch
e314608f3a Merge pull request 'fixed language changes in @typeInfo' (#13) from fix_i12 into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/13
2023-10-08 16:56:09 +00:00
Chris Boesch
36d8170d7c fixed language changes in @typeInfo 2023-10-08 18:51:22 +02:00
Chris Boesch
88a8e06489 Merge pull request 'changed compat check to comptime' (#11) from fix_compat into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/11
2023-10-05 22:39:30 +00:00
Chris Boesch
3ab1942156 changed compat check to comptime 2023-10-06 00:33:24 +02:00
Chris Boesch
2ba613b14f Merge pull request 'changed tokenize to tokenizeAny' (#10) from fix_tokenization into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/10
2023-10-05 20:13:43 +00:00
Chris Boesch
5d3ff86a42 changed tokenize to tokenizeAny 2023-10-05 22:07:58 +02:00
Chris Boesch
6079b0122a Merge pull request 'fixed broken patch 103' (#9) from fix_patches into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/9
2023-10-05 19:37:53 +00:00
Chris Boesch
e6e78d3f80 fixed broken patch 103 2023-10-05 21:32:29 +02:00
Chris Boesch
1c7e35e193 Merge pull request 'changed the patch files that we can also use them with busybox for testing in Woodpecker' (#8) from woodpecker into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/8
2023-10-05 19:18:20 +00:00
Chris Boesch
9003544446 Merge branch 'woodpecker' of https://codeberg.org/ziglings/exercises into woodpecker 2023-10-05 21:15:41 +02:00
Chris Boesch
7491e3df91 changed the patch files that we can also use them with busybox for testing in Woodpecker 2023-10-05 20:18:04 +02:00
Chris Boesch
ca37825127 Merge pull request 'switched docker image to ziglings/ziglang' (#7) from woodpecker into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/7
2023-10-05 15:58:01 +00:00
Chris Boesch
992323ac6c switched docker image to ziglings/ziglang 2023-10-05 17:43:03 +02:00
Chris Boesch
4b1ba69270 Merge pull request 'added woodpecker integration' (#6) from woodpecker into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/6
2023-10-04 12:54:59 +00:00
Chris Boesch
afee8d9c7a added woodpecker integration 2023-10-04 14:48:47 +02:00
Chris Boesch
a286403250 Merge pull request 'fix(103_tokenization): ✏️ Migrated to tokenizeAny' (#5) from rond/exercises:main into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/5
2023-10-04 08:26:36 +00:00
rond
3abefbd402
fix(103 patch): ✏️ Update patch to reflect changes
Accidentally forgot to add an update in the patch file.
2023-10-04 09:12:48 +02:00
rond
4a3e4474b7
fix(103_tokenization): ✏️ Migrated to tokenizeAny
The tokenize functions seems to be deprecated as per the docs:
https://ziglang.org/documentation/master/std/#A;std:mem.tokenize

tokenizeAny is aliased to tokenizeAny as per:
https://github.com/ziglang/zig/blob/master/lib/std/mem.zig#L2130C32-L2130C32
2023-10-04 04:53:34 +02:00
Chris Boesch
a74737ac7c Merge pull request 'remove github actions' (#4) from woodpecker into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/4
2023-10-03 22:15:12 +00:00
Chris Boesch
6dbe0d881e remove github actions 2023-10-04 00:08:45 +02:00
Chris Boesch
7c50bd1e47 Merge pull request 'Global scope is container-level scope' (#2) from rofrol/ziglings--exercises:rofrol-container-level into main
Reviewed-on: https://codeberg.org/ziglings/exercises/pulls/2
2023-09-21 13:34:38 +00:00
rofrol
73f7670667 Global scope is container-level scope
https://ziglang.org/documentation/master/#Compile-Time-Expressions
2023-09-20 22:30:57 +00:00
ratfactor
f29a42b5f1 Update README to announce move to Codeberg! 2023-09-20 13:10:08 +02:00
Chris Boesch
1b8988ac81 Adapt README to current Zig version 2023-09-20 13:02:57 +02:00
Chris Boesch
02dfa1e970 Adapt Github structure to Codeberg 2023-09-20 13:00:36 +02:00
Dave Gauer
aa1350d013 Update README.md with new clone instructions 2023-09-19 20:51:05 -04:00
Dave Gauer
0b2a742f46 Announce move to Codeberg in README 2023-09-19 21:18:27 -04:00