From 3a1a2b342634c5beeb857da632aaa55af5cdf0e7 Mon Sep 17 00:00:00 2001 From: pedropark99 Date: Tue, 30 Jul 2024 22:55:12 -0300 Subject: [PATCH] Add content --- Chapters/03-structs.qmd | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Chapters/03-structs.qmd diff --git a/Chapters/03-structs.qmd b/Chapters/03-structs.qmd new file mode 100644 index 0000000..f48830e --- /dev/null +++ b/Chapters/03-structs.qmd @@ -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). +