Compiler framework