cblc
cblc
Indeed, I feel that every C compiler should have offered this feature for years now, because it's really useful.
Is there a place in the Cake source code where I could just modify the AST replacing every operator occurrence by a function invocation taking one or two arguments depending...
Getting the field identifier as a C string would definitely be necessary for implementing serialization formats that are made of token-value pairs, so at least I foresee the need for...
Yes, I believe that the hypothetical **numfieldsof()**, **fieldof()** and **fieldident()** would behave just like **sizeof()** and **offsetof()** in which they evaluate at compile time, but however their evaluation is used...
Actually, I think **idx** is not needed at all. Why do you need to know the position of a field in a struct? The offset in bytes of the field...
I believe your suggestion for `cake source.c -reflect` would be exactly what I need. The only thing I would add is to be able to specify attributes for each member,...
Do you mean that the output of `static_reflection()` would be used-defined? Or do you mean that your idea is to implement in Cake the reflection for C (which would be...
(I need this feature for automatic serialization, so if your plan is to implement the json reflection, that would be great and would save me lots of time, but what...
Ah, BTW, don't forget to include support for attributes in the C reflection output, because I need to tag fields with the "flavours" that each field has (as I said...
Ok, thanks!!,I will try building with `-DXNE_TEXTFIELD`. But, are you sure international characters don't work for you in the text editor on MacOS? I'm using a Mac and that works...