A computerized method (300) and software product (200) is provided for
querying and modifying a Multi-Level Data Structure (106) stored in a
Text-to-Speech (100) engine of a data processing system having a Central
Processing Unit (202), a processing system memory (203), and an operating
system (201), using an application program written in an interpretive
programming language. The method includes the steps of initializing (302)
by means of the CPU implementing a set of commands, a data processing
environment for processing the application program, processing (306) the
application program, where the processing includes identifying a marked
command that encapsulates a DPMS program, and upon identifying a marked
command, operating (318) on the MLDS using a DPMS interpreter for
producing a result from the MLDS, the result available to the application
program during execution of the application program.