[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Basic questions about *implementation details* of tin
From: |
PerfectDark |
Subject: |
Re: [Tinycc-devel] Basic questions about *implementation details* of tinycc please.... |
Date: |
Fri, 29 Sep 2006 10:47:24 +0400 (MSD) |
>I'm curious what are the best/simplest/most powerful techniques
>to convert output of a parser to assembly code that tinycc uses.
>
>I'm a newbie trying to learn compilers and tinycc looked interesting.
>
>Does it use clever nice tricks to convert a C program's abstract
>syntax tree to assembly?
>
>Any info would be greatly appreciated.
>
>Chris
TCC is not use AST or any middle end (often very `voracious' part); code
generation - last stage of backend, `connected' with parser steps - this make
it very fast. TCC also use only primitive optimizations.