TP Compilation