1. A method for a code generation system, said method comprising: receiving an input code, by an input code parser of the code generation system, wherein the input code comprises a program code and an annotation, wherein the program code is a text describing a computer program in a programming language, and wherein the annotation is a set of comments in the programming language of the program code, the annotation comprising at least one code generating instruction; parsing, by the input code parser, the input code into data items of the program code and data items of said at least one code generating instruction, said parsing performed by a processor; generating a model comprising the parsed data items of the program code such that the generated model represents all parameters in the program code; producing a template as a result of applying said at least one code generation instruction to the parsed data items of the program code such that the template comprises a respective variable that holds a respective instance of the generated model for each parameter in the program code; and transferring, to at least one output device, the generated model and the produced template.