Metacasanova: an optimized meta-compiler for Domain-Specific Languages