-
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.
Merge pull request #15 from pedropark99/error-handling
New chapter about error handling and union types
- Loading branch information
Showing
72 changed files
with
5,705 additions
and
4,304 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,22 +1,22 @@ | ||
--- | ||
engine: knitr | ||
knitr: true | ||
syntax-definition: "./Assets/zig.xml" | ||
--- | ||
|
||
```{r} | ||
#| include: false | ||
source("./zig_engine.R") | ||
``` | ||
|
||
|
||
# Building a grayscale image filter | ||
|
||
In this chapter, I want to build a stupid image filter with you, like the ones you have in Instagram or Photoshop. | ||
The image filter we are going to implement here, is a grayscale filter. The basic idea is to | ||
receive an input image and transform it into a grayscale image. | ||
|
||
In this chapter, hopefully, I'm going to teach about vectors in Zig, and also, | ||
about using C libraries. | ||
|
||
|
||
--- | ||
engine: knitr | ||
knitr: true | ||
syntax-definition: "./Assets/zig.xml" | ||
--- | ||
|
||
```{r} | ||
#| include: false | ||
source("./zig_engine.R") | ||
``` | ||
|
||
|
||
# Building a grayscale image filter | ||
|
||
In this chapter, I want to build a stupid image filter with you, like the ones you have in Instagram or Photoshop. | ||
The image filter we are going to implement here, is a grayscale filter. The basic idea is to | ||
receive an input image and transform it into a grayscale image. | ||
|
||
In this chapter, hopefully, I'm going to teach about vectors in Zig, and also, | ||
about using C libraries. | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
|
||
|
||
|
||
# Introduction | ||
|
||
In this chapter, we are going to discuss some Data Structures available from | ||
the Zig Standard Library, specially `ArrayList` and also `HashMap`. We also | ||
are going to talk about generics with linked lists. | ||
|
||
|
||
|
||
# Introduction | ||
|
||
In this chapter, we are going to discuss some Data Structures available from | ||
the Zig Standard Library, specially `ArrayList` and also `HashMap`. We also | ||
are going to talk about generics with linked lists. |
Oops, something went wrong.