Prototype of code generator