The source code generator for gltools