-
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.
Some restructuring around the concepts and projects chapters
- Loading branch information
Showing
4 changed files
with
40 additions
and
8 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 |
---|---|---|
@@ -1,18 +1,28 @@ | ||
# Summary | ||
|
||
[Getting Started](getting_started.md) | ||
|
||
# Foreword | ||
|
||
- [Getting Started](getting_started.md) | ||
|
||
--- | ||
|
||
# A Glimpse of C3 | ||
|
||
- [General Overview](general/general.md) | ||
- [Hello World!](general/hello_world.md) | ||
- [Modules and Generics](general/modules.md) | ||
|
||
--- | ||
|
||
- [Examples](examples.md) | ||
# Concepts and Projects | ||
|
||
- [Concepts](concepts.md) | ||
- [Using stdio]() | ||
- [Filesystem]() | ||
- [Echo Client/Server]() | ||
- [Calculator Evaluator](./projects/calculator.md) | ||
- [Writing an Allocator]() | ||
- [Compiletime, Macros and Reflection]() | ||
|
||
- [Projects](projects.md) | ||
- [Echo TCP Client/Server]() | ||
- [Writing an Allocator]() | ||
- [Calculator Evaluator](./projects/calculator.md) |
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,12 @@ | ||
# Concepts | ||
|
||
> 🚧 Not all topics are written yet and are a work in progress | ||
From here, we will be covering specific topics in C3. These can range from common operations, to data structures and standard library usage. This is to give more examples on how these features and functions are used. This is in no way a deep dive into these, but enough to hopefully kickstart learning C3's ecosystem. | ||
|
||
> For most of these examples, we will slowly go over each part and then do a code dump at the end. If you're using a project to run these examples, you can use `c3c run` or `c3c build`. Otherwise you can compile and run a file with `c3c compile-run --run-once <thefile>.c3`. | ||
Topics we will cover: | ||
- [Using stdio](): reading and writing to the console with stdio | ||
- [The Filesystem](): reading and writing files | ||
- [Compiletime, Macros and Reflection]() |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Projects | ||
|
||
> 🚧 Not all topics are written yet and are a work in progress | ||
This is a showcase of small projects you could create in C3. These examples are meant to serve as a "real world" usage of the language. | ||
|
||
> For most of these examples, we will slowly go over each part and then do a code dump at the end. If you're using a project to run these examples, you can use `c3c run` or `c3c build`. Otherwise you can compile and run a file with `c3c compile-run --run-once <thefile>.c3`. | ||
Projects: | ||
- [TCP Server](): a basic echo TCP client and server | ||
- [Writing an Allocator](): write a basic allocator that you can use to handle memory | ||
- [Evaluating a basic expression](./projects/calculator.md): create a small parser and evaluator for a calculator |