Modular compiler