[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Using TCC as a backbone for our compiler

From: Jerome St-Louis
Subject: [Tinycc-devel] Using TCC as a backbone for our compiler
Date: Sat, 13 Jun 2009 03:32:42 -0500

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
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.


Best regards,

Jerome @ Ecere

reply via email to

[Prev in Thread] Current Thread [Next in Thread]