Christoffer Lerno
Christoffer Lerno
From what I can see "Run Time" is merely invoking the compiler. It doesn't run the `main` created and so consequently the "Run Time" goes down with number of functions....
Includes all of defer. Also changes C code to always output { } even for simple if, while etc. This simplifies defer code generation. Tracking defer adds several parts to...
The following code gives an error, even though it's correct: ``` type Foo i32; type Bar enum Foo { Baz } ``` This is due to C2C disallowing any alias...
This is related to #100 which usually occurs together with STL usage. In my research std::unordered_map/std::map are not very efficient for the special cases we want to use them for....
Struct, Enum, Function and ModuleType is missing debug descriptions. I think @bvdberg is best suited to decide what should go into those.
This code is accepted by the analyser but is not valid C. a = argc + 1 = 1;
There are basically two possible approaches for C2: 1. Distinguish between integer types, so that an integer constant may have a specific bit width. In order to affect this we...
Literal parsing currently has vestiges of Clang C parsing. Remove those according to the simplified requirements of C2 (only maxfloat type / bigint)
Unary Operations are not yet implemented. I'm currently working on this in a branch.
Clang emits various debugging pointers which helps debugging the code. Since the code generation is already based on Clang, we should probably add this to C2's code generation as well....