Candycorn compiler