Commit graph

818 commits

Author SHA1 Message Date
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
Chris Boesch
f86db89f41 Merge pull request #357 from ratfactor/check_patches
Fixed some broken patches
2023-08-27 19:21:42 +02:00
Chris Boesch
b749cba652 Fixed some broken patches 2023-08-27 19:11:21 +02:00
Chris Boesch
acb0a9e0fe Merge pull request #356 from juergenhoetzel/code-point-size
Add example for Unicode Code point literal > 255

Thanks! 😄
2023-08-27 18:57:50 +02:00
Chris Boesch
65a4c21017 Update README.md
Advanced usage line 'zig build -Dn=x start' deleted, because of https://github.com/ratfactor/ziglings/issues/355
2023-08-27 18:55:54 +02:00
Juergen Hoetzel
8c2202c73d Add example for Unicode Code point literal > 255
Only Basic Latin and Latin-1 Supplement code points fit into a single
byte.
2023-08-27 12:33:33 +02:00
Chris Boesch
741704cc6f Merge pull request #352 from kai-tub/main-1
Add link to DoD talk in 101_for5.zig #348
2023-08-17 20:42:42 +02:00
Kai Norman Clasen
11a120521d Add link to DoD talk in 101_for5.zig 2023-08-17 19:43:13 +02:00
Chris Boesch
92a4f3acf8 Merge pull request #351 from ratfactor/class_role
changed struct name 'class' into 'role'
2023-08-17 15:03:17 +02:00