This section explains the MAD format through an example MAD file
and its corresponding Tcl file.
Example: MAD File
The following is an example of an MAD file for a sample application called
option psf_version = 2.1;
option is a keyword identified by the tool.
The option name following the option keyword is
a directive to the tool to do a specific action.
of the MAD file is defined
to be 2.1 in this example. This is the only option that can occur before a BEGIN
BEGIN APPLICATION my_application
The BEGIN APPLICATION
construct defines the
start of an application named my_application
option NAME = myapplication
option DESCRIPTION = "My custom application"
Note: Application NAME should match the return value of Tcl proc swapp_get_name in
application Tcl file described above.