On Fri, Sep 29, 2006 at 10:42:52AM -0700, [EMAIL PROTECTED] wrote:
> Can you please point me to some web pages describing at a high level
> the architecture of tinycc??

Look at chapter 8 of this document:

  http://fabrice.bellard.free.fr/tcc/tcc-doc.html

> Was tinycc's way of creating a C compilers easier or harder
> than using an abstract syntax tree?

It started out as an entry for the Obfuscated C Contest and grew from
that into a full C compiler:

  http://fabrice.bellard.free.fr/otcc/

Its goals include being very small and very fast.  As a result it
doesn't always follow normal compiler design principles.  If you're
trying to study how a _typical_ compiler is designed, tcc may not be
the best choice.

On the other hand its small size and simple design means that it's
much easier to examine at the code level than a typical compiler.  For
example the bulk of it is a single .c file that you can easily edit
and experiment with.

                                                  -Dave Dodge


_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to