Hey Mobi,
Sorry for not responding to this sooner. I have two suggestions. First, if you have not already done so, I recommend reading
this book about Object Oriented C. It will likely give you all of the technical background that you need to implement what you want. Second, tcc is a one-shot parser. If you want any preprocessing, you'll need to implement that yourself. Of course, you can write a simple preprocessor in Perl which would take some almost-C syntax and produce an ANSI-C file for you, which you then feed into tcc or gcc or whatever. Alternatively, you can write your own executable that links to libtcc. You would do some string preprocessing, then send the final output to tcc_compile_string. If you are comfortable with Perl, you can write an experimental preprocessor and feed the resulting strings straight into tcc using the C::TinyCompiler module.