-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9e5d69
commit 3a1a2b3
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
engine: knitr | ||
knitr: true | ||
syntax-definition: "../Assets/zig.xml" | ||
--- | ||
|
||
```{r} | ||
#| include: false | ||
source("../zig_engine.R") | ||
knitr::opts_chunk$set( | ||
auto_main = TRUE | ||
) | ||
``` | ||
|
||
|
||
# Structs, Modules and Control Flow | ||
|
||
We are going to discuss a lot of different things in | ||
this chapter. First, we bring structs and modules into focus. | ||
Then, we talk about modules, and how they relate to structs in Zig. | ||
Finally, we end this chapter discussing all the different keywords and structures | ||
in Zig related to control flow (like loops and if statements). | ||
|