|
|
@ -111,16 +111,11 @@ to zig-cache/bin with:
|
|
|
|
zig build 19_install
|
|
|
|
zig build 19_install
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## TODO
|
|
|
|
## What's Covered
|
|
|
|
|
|
|
|
|
|
|
|
Contributions are very welcome! I'm writing this to teach myself and to create
|
|
|
|
I've decide to limit Ziglings to the core language and not
|
|
|
|
the learning resource I wished for. There will be tons of room for improvement:
|
|
|
|
attempt coverage of the Standard Library. Perhaps you can change
|
|
|
|
|
|
|
|
my mind?
|
|
|
|
* Wording of explanations
|
|
|
|
|
|
|
|
* Idiomatic usage of Zig
|
|
|
|
|
|
|
|
* Additional exercises
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Planned exercises:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Core Language
|
|
|
|
Core Language
|
|
|
|
|
|
|
|
|
|
|
@ -154,25 +149,17 @@ Core Language
|
|
|
|
* [x] Sentinel termination
|
|
|
|
* [x] Sentinel termination
|
|
|
|
* [x] Quoted identifiers @""
|
|
|
|
* [x] Quoted identifiers @""
|
|
|
|
* [x] Anonymous structs/tuples/lists
|
|
|
|
* [x] Anonymous structs/tuples/lists
|
|
|
|
* [ ] Async
|
|
|
|
* [ ] Async <--- IN PROGRESS!
|
|
|
|
* [ ] Working with C?
|
|
|
|
|
|
|
|
|
|
|
|
## Contributing
|
|
|
|
Modules and the Zig Standard Library
|
|
|
|
|
|
|
|
|
|
|
|
Contributions are very welcome! I'm writing this to teach myself and to create
|
|
|
|
* [ ] Imports
|
|
|
|
the learning resource I wished for. There will be tons of room for improvement:
|
|
|
|
* [ ] Allocators
|
|
|
|
|
|
|
|
* [ ] Arraylist
|
|
|
|
* Wording of explanations
|
|
|
|
* [ ] Filesystem
|
|
|
|
* Idiomatic usage of Zig
|
|
|
|
* [ ] Readers and Writers
|
|
|
|
* Maybe additional exercises?
|
|
|
|
* [ ] Formatting
|
|
|
|
|
|
|
|
* [ ] Random Numbers
|
|
|
|
Please see CONTRIBUTING.md in this repo for the full details.
|
|
|
|
* [ ] Crypto
|
|
|
|
|
|
|
|
* [ ] Threads
|
|
|
|
|
|
|
|
* [ ] Hash Maps
|
|
|
|
|
|
|
|
* [ ] Stacks
|
|
|
|
|
|
|
|
* [ ] Sorting
|
|
|
|
|
|
|
|
* [ ] Iterators
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The initial topics for these exercises were unabashedly cribbed from
|
|
|
|
|
|
|
|
[ziglearn.org](https://ziglearn.org/). I've since moved things around
|
|
|
|
|
|
|
|
in an order that I think best lets each topic build upon each other.
|
|
|
|
|
|
|
|