Unit_dependence

Top  Previous  Next

Examples > Unit_dependence

 

You should know the most essential operation elements of TETRA.

 

Problem definition:

 

Texts in different files frequently depend on each other. Programming languages are a typical example of it. Here the dependence is indicated by so-called Include directives. In this project shall be demonstrated, how to use these directives to access the presupposed texts. A list of all the files a Pascal source text directly and indirectly depends on shall be produced. To get this list, it is necessary also to parse all presupposed texts.

 

 

TETRA Program:

 

The project is in the directory:

 

\TextTransformer\Examples\Unit_dependence

 

In this project some of the commands are used for the path and file treatment and it is shown how texts are loaded to process them in sub-parsers.



This page belongs to the TextTransformer Documentation

Home  Content  German