Prime K Compiler