-
Notifications
You must be signed in to change notification settings - Fork 0
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
Showing
11 changed files
with
108 additions
and
14 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
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 |
---|---|---|
|
@@ -3,3 +3,6 @@ authors = [] | |
language = "en" | ||
multilingual = false | ||
src = "src" | ||
|
||
[build] | ||
build-dir = "docs" |
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
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
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
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
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,3 +1,3 @@ | ||
# Summary | ||
|
||
- [Chapter 1](./chapter_1.md) | ||
[Getting Started](getting_started.md) |
This file was deleted.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Getting Started | ||
|
||
[![](https://img.shields.io/github/stars/Caleb-o/c3-cookbook?style=square&color=#30a14e)](https://github.com/Caleb-o/c3-cookbook/stargazers) | ||
|
||
*"C3 is a programming language that builds on the syntax and semantics of the C language, with the goal of evolving it while still retaining familiarity for C programmers."* | ||
|
||
## Installing C3 | ||
|
||
Use one of the following sources to download or build the C3 compiler from source: | ||
- [Website](https://c3-lang.org/) | ||
- [Github Release](https://github.com/c3lang/c3c/releases) | ||
- [More options](https://github.com/c3lang/c3c) on their github page, to build from source or use an OS repository | ||
|
||
## About this book | ||
|
||
> [!NOTE] | ||
> This book is being written with 0.6.x in mind. It may include nightly releases that have fixed problems with 0.6.2. | ||
> If an example doesn't quite work with 0.6.2, try using the latest compiler. | ||
This was inspired by the [Zig Cookbook](https://github.com/zigcc/zig-cookbook) which displays common and more idiomatic ways to use Zig around certain problems. I wanted to create a community driven book, that would do the same for C3. I believe it is something that can help developers pickup C3, as it provides another source to browse. | ||
|
||
I have used new languages where documentation and community driven media was scarce, which made it very hard to get an understanding of the language in a more practical manner. Hopefully this book can help with this issue and get some more people into C3. | ||
|
||
### Contributing to the book | ||
- Found a typo or example code does not work? [Create an issue here](https://github.com/Caleb-o/c3-cookbook/issues/new) | ||
- Want to add more examples? [Create a fork](https://github.com/Caleb-o/c3-cookbook) |