Structure of Data Compiler's files
version 1.02
To save results of its work, the Fragmentator can produce two types of files:
- special files with .dc extension (result of Encode function)
- plain text files with .txt extension (result of Decode function)
The .dc files contain the following sections:
Comments
User's comment, if any. Begins with # sign. Is usually placed at the first line of .dc files.
DataCode
Actual data code. (Required)
See its syntax.
BaseText
There is an option of either integrating the complete BaseText into file.dc,
or specifying a reference to the location of BaseText's file.
In the latter case, variables
BaseTextFile and
BaseTextFileDate are used instead of the
BaseText.
Examples:
file-1.dc
file-2.dc
Notes:
- Each section begins at the new line.
- Date and time of the .dc file creation are inserted automatically.
- Some characters, e.g., \, \n, #, !, :, are represented in the .dc files with using Escape codes.
Also, the Fragmentator uses Entity references to display the characters which have a special meaning in the Data Compiler, e.g., " --> ". If the sign # is a part of text, it's represented as ^\#.
The .txt files are conventional plain text files. Usually they contain a result of conversion of the most recent Data Code into textual content. However, they can also be used to append new results to the previous ones.
Copyright(C) S. Beloy