make codegenerator for base "print"