Commit graph

837 commits

Author SHA1 Message Date
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
Chris Boesch
4eb949759b changed struct name 'class' into 'role' 2023-08-17 14:55:11 +02:00
Chris Boesch
2e5a49fc68 Merge pull request #346 from ratfactor/i339
changed struct name 'class' into 'role'
2023-08-02 23:39:59 +02:00
Chris Boesch
5a0681948b changed struct name 'class' into 'role' 2023-08-02 23:29:02 +02:00
Chris Boesch
b5d54364cc Merge pull request #342 from ratfactor/v4246
Upgrade to Zig version 4246
2023-07-26 20:28:22 +02:00
Chris Boesch
ac1d003f1e Upgrade to Zig version 4246 2023-07-26 20:20:40 +02:00
Chris Boesch
5865ed5f2e Merge pull request #340 from nchataing/fix-main-build
fix: main entry point is broken with version 0.11.0-dev.4228
2023-07-26 19:46:45 +02:00
Nicolas Chataing
51a88cccf7 fix: main entry point is broken with version 0.11.0-dev.4228 2023-07-25 14:59:17 +02:00
Chris Boesch
477f18ebfc Merge pull request #337 from kimshrier/exercise_096_typo
fix typo
2023-07-03 18:59:54 +02:00
Kim SHrier
db653d29ee fix typo 2023-07-03 02:06:40 -06:00
Chris Boesch
e142d40fb0 Update 078_sentinels3.zig
Changed description of @ptrCast
closes https://github.com/ratfactor/ziglings/issues/334
2023-06-29 21:32:44 +02:00
Chris Boesch
bddff7a0a6 Version updated 2023-06-27 18:49:28 +02:00
Chris Boesch
1070fe5b40 Merge pull request #333 from ratfactor/v3853
Revised exercises due to the changes of Zig version 0.11.0-dev.3853
2023-06-27 00:15:48 +02:00
Chris Boesch
7ad0f06a07 Compatibility checks temporarily disabled (2) 2023-06-27 00:03:16 +02:00
Chris Boesch
496953e9a8 Compatibility checks temporarily disabled 2023-06-27 00:00:53 +02:00
Chris Boesch
d864860201 Unit tests temporarily disabled 2023-06-26 23:55:58 +02:00
Chris Boesch
a5a36337e8 Revised exercises due to the changes of Zig version 0.11.0-dev.3853 2023-06-26 23:43:39 +02:00
Chris Boesch
c3aed336e7 Merge pull request #331 from ratfactor/tokenization
First tokenization exerice
2023-06-26 09:21:26 +02:00
Chris Boesch
a2b0b976a6 First tokenization exerice. 2023-06-26 00:54:39 +02:00
Chris Boesch
2705e16c36 Merge pull request #329 from lorrding/refactor-var-to-const
Change `var` to `const` in some exercises
2023-06-22 16:51:03 +02:00
lording
d52f360731 Update outdated comments 2023-06-22 12:11:24 +00:00
lording
3e502fe69b Merge branch 'main' into refactor-var-to-const 2023-06-22 09:48:10 +00:00
Chris Boesch
9499e12469 Merge pull request #328 from ratfactor/v3747
Changed to zig developer version 3747
2023-06-22 11:44:59 +02:00
lording
d2d3dfa277 var to const when posssible 2023-06-22 09:41:41 +00:00
Chris Boesch
bd4a48c3c9 Changed to zig developer version 3747. 2023-06-22 11:31:46 +02:00
Chris Boesch
40bedacfdf Merge pull request #327 from lorrding/patch_v0.11.0-dev.3747
Fix breaking change in builtin casts functions
2023-06-22 11:25:22 +02:00
lording
ccb580f95d Fix broken builtin name in exercise 96 2023-06-22 08:23:22 +00:00
lording
39952817b3 Fix broken builtin name in exercise 36 2023-06-22 08:23:01 +00:00
Chris Boesch
f09a87c348 Merge pull request #325 from ckafi/what-a-dilema
fix typo
2023-06-18 19:02:24 +02:00
Tobias Frilling
5984444489 fix typo 2023-06-17 09:34:37 +02:00
Chris Boesch
9c9671bb15 Merge pull request #323 from ratfactor/issue318
Issue318
2023-06-11 23:54:05 +02:00
Chris Boesch
2815574e35 Removed debug info. 2023-06-11 23:45:50 +02:00