Patent ID: 8060861

Claim:
A method performed by a processor of a server in operative connection with an entertainment device, the method for generating a script for embedment from the server to the entertainment device, the script conforming with an interactive television standard, the method comprising: retrieving: a header file containing definitions of functions present in the interactive television standard, and a code file including a string that does not conform to the interactive television standard for code; breaking the string into substrings in accord with the placement of a â€œ;â€ character; in substrings with a â€œtypedefâ€ keyword, selecting a data type immediately succeeding the â€œtypedefâ€ keyword up to the â€œ;â€ character and creating variables with values representative of the data type; in substrings without the â€œtypedefâ€ keyword but having an â€œenumâ€ keyword, using the words immediately succeeding the â€œenumâ€ character up to the â€œ;â€ character to create a suitable â€œenumâ€ structure to selectively retrieve suitable script language from the header file; in substrings without the â€œtypedefâ€ keyword but having a â€œstructâ€ keyword, using the words immediately succeeding the â€œstructâ€ character up to the â€œ;â€ character to create a suitable â€œstructâ€ structure to selectively retrieve suitable script language from the header file; for each substring, examine the variables created and based upon the variables, typing substring information from strings stored in the header file by automatically selecting from a plurality of strings in the header a suitable string in accord with the variables created, whereby the resulting substring is form acceptable according the interactive television standard; store the resulting code in a memory storage for execution by the entertainment device.