mirror of https://github.com/rui314/chibicc
44bba965cb
_Bool isn't just a 1-bit integer because when you convert a value to bool, the result is 1 if the original value is non-zero. This is contrary to the other small integral types, e.g. char, as you can see below: char x = 256; // x is 0 _Bool y = 256; // y is 1 |
||
---|---|---|
test | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
chibicc.h | ||
codegen.c | ||
main.c | ||
parse.c | ||
strings.c | ||
tokenize.c | ||
type.c |
README.md
This is the reference implementation of https://www.sigbus.info/compilerbook.