- Aug 24, 2019
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
self.sh modifies source files for chibicc so that they are more friendly for self-hosting. The script is used to create a chibicc binary that consists of object files partly genearted by gcc and the others by chibicc. chibicc can now compile main.c and type.c with the script.
-
Rui Ueyama authored
-
- Aug 23, 2019
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
- Aug 21, 2019
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
- Aug 20, 2019
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
- Aug 19, 2019
-
-
Rui Ueyama authored
`foo(void)` indicate that function foo does not take a parameter.
-
Rui Ueyama authored
A global variable can be initialized with an address of other global variable, so the following code is legal. int x[3]; int &y = x; In addition to that, an address can have an addend, so the following code is also legal int x[3]; int &y = x+2;
-
Rui Ueyama authored
-
- Aug 18, 2019
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
So that you can write something like `int x[] = {1, 2, 3}` instead of `int x[3] = {1, 2, 3}`.
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
- Aug 17, 2019
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
- Aug 16, 2019
-
-
Rui Ueyama authored
-
- Aug 15, 2019
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
- Aug 14, 2019
-
-
Rui Ueyama authored
-
- Aug 13, 2019
-
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-
Rui Ueyama authored
-