Synthesis |
Top Previous Next |
Introduction > Synthesis
The analysis of the text took it to its pieces: the tokens and their sequences. The synthesis performs some semantic actions on the pieces and combines them to a new text. The instructions for the semantic actions are embedded into the definitions of the productions.
The instructions for the synthesis stem from the programming language c++. A sub-system of c++ is integrated in TETRA as an interpreted language that means a certain set of c++ instructions can be executed directly inside of the TETRA environment. (In contrast to this c++ normally is a language, which must be compiled to a separated executable.) For example, by the integrated instructions, you can chain parts of texts into a new order or replace them by other texts and much more.
In the professional version of TETRA program code can be generated, which can be linked in external applications and can use the possibilities of c++ without limitation. |
This page belongs to the TextTransformer Documentation |
Home Content German |