Skip to content

Commit 38b4008

Browse files
authored
Merge pull request #15 from pedropark99/error-handling
New chapter about error handling and union types
2 parents 4df2986 + 7b25588 commit 38b4008

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+5705
-4304
lines changed

Chapters/02-debugging.qmd

+333-333
Large diffs are not rendered by default.

Chapters/04-http-server.qmd

+1,040-1,040
Large diffs are not rendered by default.

Chapters/05-pointers.qmd

+509-509
Large diffs are not rendered by default.

Chapters/06-vectors.qmd

+22-22
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
1-
---
2-
engine: knitr
3-
knitr: true
4-
syntax-definition: "./Assets/zig.xml"
5-
---
6-
7-
```{r}
8-
#| include: false
9-
source("./zig_engine.R")
10-
```
11-
12-
13-
# Building a grayscale image filter
14-
15-
In this chapter, I want to build a stupid image filter with you, like the ones you have in Instagram or Photoshop.
16-
The image filter we are going to implement here, is a grayscale filter. The basic idea is to
17-
receive an input image and transform it into a grayscale image.
18-
19-
In this chapter, hopefully, I'm going to teach about vectors in Zig, and also,
20-
about using C libraries.
21-
22-
1+
---
2+
engine: knitr
3+
knitr: true
4+
syntax-definition: "./Assets/zig.xml"
5+
---
6+
7+
```{r}
8+
#| include: false
9+
source("./zig_engine.R")
10+
```
11+
12+
13+
# Building a grayscale image filter
14+
15+
In this chapter, I want to build a stupid image filter with you, like the ones you have in Instagram or Photoshop.
16+
The image filter we are going to implement here, is a grayscale filter. The basic idea is to
17+
receive an input image and transform it into a grayscale image.
18+
19+
In this chapter, hopefully, I'm going to teach about vectors in Zig, and also,
20+
about using C libraries.
21+
22+

Chapters/07-build-system.qmd

+904-904
Large diffs are not rendered by default.

Chapters/09-data-structures.qmd

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
2-
3-
4-
# Introduction
5-
6-
In this chapter, we are going to discuss some Data Structures available from
7-
the Zig Standard Library, specially `ArrayList` and also `HashMap`. We also
8-
are going to talk about generics with linked lists.
1+
2+
3+
4+
# Introduction
5+
6+
In this chapter, we are going to discuss some Data Structures available from
7+
the Zig Standard Library, specially `ArrayList` and also `HashMap`. We also
8+
are going to talk about generics with linked lists.

0 commit comments

Comments
 (0)