A hacky and lightweight compiler framework