When Compi is reborn, his nest is:
-r,-schema and he inherits a rudimentary schema.
(This schema can be viewed in menu\Control\View Compiled Schema):
-schema \\..l .compile_schema
.
This explains why token "\\" triggers compiling of Schema when
this token first met in first text in project.
When Compi finishes parsing schema,
he drops state -schema if full nest is
*,-schema and
* is not empty.
Moreover, if * is -r, then
Compi fiers event .bot to imitate beginning of new text for case if
after schema there is text to be converted.
Programmer can easily modify conditions
for second entry to compile-schema mode and
for exit from this mode.
For convenience:
at the end of top-project-folder and enf-of-project:
following variables are set to values:
p_extension of p_source
p_file = p_source
p_file_for_GUI = p_file
abs_umbrella_for_save = Umbrella\shield
abs_umbrella_for_include = Umbrella
Empty converted files are not saved and not created.
Saving/creation outside
of RESULT_FILES folder is not allowed
to disable this protection, set:
..no_change_outside_result.False
Before and after finishing text and
after finished dialog without file:
Queue,Streams,Condition, and Indent are reset.