blob: 30741082dbebd5c882e7ac85b994c615bc31a0dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
This is a C11 compiler using [QBE] as a backend.
There is still much to do and the code is a little rough, but it currently
implements most of the language and is self-hosting.
Still TODO:
- Come up with a name so it can be installed alongside the system `cc`.
- The preprocessor (currently we are just using the system `cpp`).
- Bit-fields.
- Passing structs with embedded unions by value.
- Variable-length arrays.
- `volatile`-qualified types (requires support from QBE).
- `_Thread_local` storage-class specifier (requires support from QBE).
- `long double` type (requires support from QBE).
- Inline assembly (requires support from QBE).
[QBE]: https://c9x.me/compile/
|