It is possible to run TDL scripts in "stand-alone" mode (i.e. without a working build of Timba). Of course, no forests will actually be generated, but at least you can check your scripts for syntax errors and consistency. To run TDL stand-alone, you need the following:

The easiest way to set up the Timba modules are as follows:

You can now run a TDL script simply by typing python name.tdl. To print more debugging messages, use python name.tdl -dtdl=2. Use a number higher or lower than 2 for more or less verbosity. Output such as:

indicates the script has been successfully processed. Syntax errors are reported by Python in the usual way:

Logical errors are accumulated in a list and reported by TDL itself:

The above is a list of all logical errors detected in the script. For each error message the list also contains a filename and line number.

StandAloneTDL (last edited 2005-07-11 12:50:03 by OlegSmirnov)