Patent ID: 7313785

Claim:
A compiler executing on a processor, the compiler for compiling source code into object code, the source code including a print command, the print command for abstracted printing of a complex data structure accessible by the compiler, the object code including code for directing a data processing system to print the complex data structure, the compiler comprising: an identifier module for recognizing the print command in the source code; a type module for identifying the complex data structure of the print command from a set of user-defined data types; a format module for determining output settings for the complex data structure, the determination dependent upon at least one print parameter associated with the print command; a settings module for including at least one optional flag setting of the print command in the output settings; and a generator module for dynamically generating, based on the determination of the output setting, program logic for the print command, the generator module also for creating, based on the program logic, object code for the print command.