摘要 |
<p>A system and method for generating a script conforming with the interactive television standard for embedment in an entertainment device includes retrieving a header file containing definitions of functions present in the interactive television standard. A code file includes a string that does not conform to the interactive television standard for code, The string is broken into substrings based on the presence of the ";"' character. In substrings with a "typedef" keyword, a data type is selected based upon occurring immediately succeeding the "typedef keyword up to the ";" character and creating variables with values representative of the data type. Automatically selecting from a plurality of strings in the header, a suitable string in accord with the variables creates resulting substring in a form acceptable according to the interactive television standard. The resulting code is stored in a memory storage for execution by the entertainment device.</p> |