>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. _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tinycc-devel