|
|
|
|
|
by komerdoor
3311 days ago
|
|
I once started experimenting with (GNU) C macros:
https://gist.github.com/machuidel/d7cc099ddc4970c6ddf4 It became an abomination consisting out of many C-preprocessor hacks and impossible to debug. I never put it online (and I never will). In the end if you want to use C at a more abstract level you may as well use Nim (not C, but it compiles to C89), C++ (of course) or write your own code generator (using libclang with annotations for ex.). |
|