Compiling and Executing a Tao Script

A Tao script is executed using the tao command, which takes as its only argument the name of the script with a .tao suffix. Although from the user's point of view the language seems to be interpreted, since this one command interprets and executes the script, in reality a Tao script is compiled into an executable file, which is then invoked automatically.

The executable produced is stored in a file with the same name as the original script but with a .exe suffix. Once a script has been compiled with the tao command, it can be executed several times without having to recompiled, provided the script isn't altered in the meantime. A .exe executable has a number of command line options which are described below:

-g
Enables the instrument visualisation window . if this option is omitted the synthesis will proceed without any graphics at all. This is useful for background batch processing of Tao scripts.


©1999,2000 Mark Pearson m.pearson@ukonline.co.uk April 30, 2000