Hi all... We are contemplating using TCC as the backbone engine to generate object code for an eC language Just-In-Time compiler system.
At the moment, the compiler uses C as an intermediate language, outputs intermediate C files, then call GCC on those to produce object code. We're hoping to do everything at once, in-memory for a more lively solution. How would this best be done by using the TCC library? Is there some kind of abstract syntax tree system or other in memory code representation we could plug into directly, as opposed to having TCC do parsing again? This would ideally increase performance a lot.. One of our main worries are the few GCC extensions the intermediate C code makes use of, which I believe TCC does not support... Again this might possibly not be an issue if we're going directly to an in-memory code representation? It is very likely that this project becomes our primary focus for the time to come so we're very interested in any feedback you guys may have, and if there is an opportunity for us to improve TCC at the same time we'd be more than happy to contribute. Thanks. Best regards, Jerome @ Ecere _______________________________________________ Tinycc-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
