Four uses of productions

Top  Previous  Next

Introduction > Four uses of productions


It is the main task of the productions to represent the grammar of a text so that it can be parsed with them. However, it is also possible in the TextTransformer to use productions for tasks which are subordinated to this main task.


Altogether, there are four uses of productions in TETRA:


1. as constituents of the main parser

2. to the look-ahead in the text

3. for parsing text inclusions

4. as sub-parsers in semantic actions


This page belongs to the TextTransformer Documentation

Home  Content  German