Abstract:
This paper describes an approach to designing a substitution language for generating electronic documents based on the contents of databases and files. The proposed language involves the ability to work both with a single database and with a large number of databases with a similar structure. It has a modular structure, where additional auxiliary languages are used for generating complex document elements. One such auxiliary language is the language for generation of tables having a complex structure with subtables and extended cells. This auxiliary language will make it possible to group in a readable form a large amount of various data. It is also assumed that the substitution language and its auxiliary languages will not be bound to any input or output data formats, which will allow using any suitable formats by writing an appropriate module for the interpreter.