Transforming a RTG into a LTG or a
STTG
How to use our software
Install ASF+SDF meta-environment on your computer (the stable
realease).
A binary distribution for Linux 32 bits is given,
otherwise you should compile the source distribution.
ASF+SDF web site: http://www.meta-environment.org/Meta-Environment/Download
Follow the instructions mentioned on the web page to install ASF+SDF.
Then, to run ASF+SDF, execute the shell script
(when using the binary distribution 32 bits):
~/asfsdf-meta-2.0.3-linux-i386/bin/asfsdf-meta.
Download RTGalgorithms.zip, and unzipped it. The directory under which you have unzipped is called 'RTG-directory' in the following.
To run our algorithm, type in a shell terminal:
cd RTG-directory/RTGalgorithms
~/asfsdf-meta-2.0.3-linux-i386/bin/asfsdf-meta.
Then click on Module/Open and choose RTGrProperties.sdf
In the window on the right, a graph shows the links between modules. Richt-click on RTGrProperties, and click on "Edit/Term". Choose the regular grammar you want to transform into a LTG or a STTG (for example, click on example5.trm).
The syntax contains (see the sub-window example5.trm):