toTwig is an utility to convert smarty template engine to twig template engine