Thiago Adams

Results 62 comments of Thiago Adams

obs: C23 also added _BitInt(N) and _Decimal32, _Decimal64, and _Decimal128. C99 has complex. Converting any of these types to C89 would require a review in expressions and this work could...

At visit.c is where the conversion happens we can do expr1 operator expr2 We need - convert token operator to ',' - convert the first token of expr1 to "op_name("...

This is also useful to create a debug "checked runtime" against oveflows. Maybe attribute [[overflow]] expression;

To be practical, I guess this introspection should run at compile time right? Otherwise the compiler generates, let's say a constant for numfieldsof but then the programmer has to run...

In the same way we can generate json files with the AST, we also could generate C data types with the AST. ```c struct X { int i; }; ```...

(closed the feature by mistake - reopening it)

I am adding a static_debug that prints information about static analysis I could create a static_reflection and print on compiler output the reflection text. For instance a json, or c...

Speaking on C++. ```c auto s = "text"; /* in C++ s is const char* and in C is char* */ ```

This site can be used to see auto in C++ https://cppinsights.io/

bug: Attributes are lost using auto. ```c [[maybe_unused]] auto a = 1; ```