diff options
Diffstat (limited to 'org/spine.org')
-rw-r--r-- | org/spine.org | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/org/spine.org b/org/spine.org index 241279e..ebd5e95 100644 --- a/org/spine.org +++ b/org/spine.org @@ -100,13 +100,13 @@ string program_name = "spine"; <<spine_init_0>> <<spine_init_1>> <<spine_init_2>> - <<spine_args_0>> - <<spine_args_1>> - <<spine_args_2>> - <<spine_args_3>> - <<spine_args_4>> - <<spine_args_5>> - <<spine_args_6>> + <<spine_args_0_args_init>> + <<spine_args_1_args_get_options_aa>> + <<spine_args_2_args_get_options_aa2str>> + <<spine_args_3_program_info>> + <<spine_args_4_get_configuration_details>> + <<spine_args_5_call_output_hub>> + <<spine_args_6_process_args>> if (_manifests.length > 1 // _manifests[0] initialized dummy element && _opt_action.abstraction) { if (_opt_action.parallelise) { // see else @@ -368,7 +368,7 @@ scope(failure) { - set getopt options ***** initialize -#+NAME: spine_args_0 +#+NAME: spine_args_0_args_init #+BEGIN_SRC d bool[string] opts = [ "abstraction" : false, @@ -446,7 +446,7 @@ string[string] settings = [ ***** set & describe -#+NAME: spine_args_1 +#+NAME: spine_args_1_args_get_options_aa #+BEGIN_SRC d auto helpInfo = getopt(args, std.getopt.config.passThrough, @@ -528,7 +528,7 @@ if (helpInfo.helpWanted) { **** getopt hash to struct - move getopt options to struct -#+NAME: spine_args_2 +#+NAME: spine_args_2_args_get_options_aa2str #+BEGIN_SRC d enum outTask { source_or_pod, sqlite, sqlite_multi, latex, odt, epub, html_scroll, html_seg, html_stuff } struct OptActions { @@ -849,7 +849,7 @@ OptActions _opt_action = OptActions(); **** env - environmental info -#+NAME: spine_args_3 +#+NAME: spine_args_3_program_info #+BEGIN_SRC d @safe auto program_info() { struct ProgramInfo { @@ -881,7 +881,7 @@ auto _env = [ *** get/read site config -#+NAME: spine_args_4 +#+NAME: spine_args_4_get_configuration_details #+BEGIN_SRC d auto _manifested = PathMatters!()(_opt_action, _env, ""); auto _manifests = [ _manifested ]; @@ -916,7 +916,7 @@ if (_opt_action.show_config) { *** use config for operations that do not require file processing -#+NAME: spine_args_5 +#+NAME: spine_args_5_call_output_hub #+BEGIN_SRC d if (!(_opt_action.skip_output)) { if ((_opt_action.debug_do) @@ -935,7 +935,7 @@ if (!(_opt_action.skip_output)) { *** opt action on processing files (loop args) -#+NAME: spine_args_6 +#+NAME: spine_args_6_process_args #+BEGIN_SRC d ConfComposite _make_and_meta_struct = _config; destroy(_config); @@ -1322,15 +1322,15 @@ template spineAbstraction() { <<spine_each_file_do_read_and_split_dr_markup_file_content_into_header_and_body>> <<spine_each_file_do_split_dr_markup_file_header_into_make_and_meta_structs>> <<spine_each_file_do_document_abstraction>> - <<spine_each_file_do_document_matters>> - <<spine_each_file_do_document_matters_0>> - <<spine_each_file_do_document_matters_1>> - <<spine_each_file_do_document_matters_2>> - <<spine_each_file_do_document_matters_3>> - <<spine_each_file_do_document_matters_4>> - <<spine_each_file_do_document_matters_5>> - <<spine_each_file_do_document_matters_6>> - <<spine_each_file_do_document_matters_7>> + <<spine_each_file_do_document_matters_msg_step4_start>> + <<spine_each_file_do_document_matters_0_struct_open>> + <<spine_each_file_do_document_matters_1_detail_program_time>> + <<spine_each_file_do_document_matters_2_meta>> + <<spine_each_file_do_document_matters_3_env>> + <<spine_each_file_do_document_matters_4_opt>> + <<spine_each_file_do_document_matters_5_doc>> + <<spine_each_file_do_document_matters_6_struct_close_gather>> + <<spine_each_file_do_document_matters_msg_step4_end>> auto t = tuple(doc_abstraction, doc_matters); return t; } @@ -1470,7 +1470,7 @@ if ((_opt_action.debug_do) **** verbose message -#+NAME: spine_each_file_do_document_matters +#+NAME: spine_each_file_do_document_matters_msg_step4_start #+BEGIN_SRC d if ((_opt_action.debug_do) || (_opt_action.very_verbose) @@ -1481,14 +1481,14 @@ if ((_opt_action.debug_do) **** DocumentMatters struct { -#+NAME: spine_each_file_do_document_matters_0 +#+NAME: spine_each_file_do_document_matters_0_struct_open #+BEGIN_SRC d struct DocumentMatters { #+END_SRC **** generator related -#+NAME: spine_each_file_do_document_matters_1 +#+NAME: spine_each_file_do_document_matters_1_detail_program_time #+BEGIN_SRC d @safe auto generator_program() { struct Prog_ { @@ -1537,7 +1537,7 @@ struct DocumentMatters { **** config make & meta -#+NAME: spine_each_file_do_document_matters_2 +#+NAME: spine_each_file_do_document_matters_2_meta #+BEGIN_SRC d @safe auto conf_make_meta() { return _make_and_meta_struct; @@ -1549,7 +1549,7 @@ struct DocumentMatters { **** env related -#+NAME: spine_each_file_do_document_matters_3 +#+NAME: spine_each_file_do_document_matters_3_env #+BEGIN_SRC d @safe auto env() { struct Env_ { @@ -1566,7 +1566,7 @@ struct DocumentMatters { **** opt -#+NAME: spine_each_file_do_document_matters_4 +#+NAME: spine_each_file_do_document_matters_4_opt #+BEGIN_SRC d @safe auto opt() { struct Opt_ { @@ -1584,7 +1584,7 @@ struct DocumentMatters { **** output related -#+NAME: spine_each_file_do_document_matters_5 +#+NAME: spine_each_file_do_document_matters_5_doc #+BEGIN_SRC d @safe auto src() { return _manifest.src; @@ -1645,7 +1645,7 @@ struct DocumentMatters { **** } close -#+NAME: spine_each_file_do_document_matters_6 +#+NAME: spine_each_file_do_document_matters_6_struct_close_gather #+BEGIN_SRC d } auto doc_matters = DocumentMatters(); @@ -1653,7 +1653,7 @@ auto doc_matters = DocumentMatters(); **** step complete message -#+NAME: spine_each_file_do_document_matters_7 +#+NAME: spine_each_file_do_document_matters_msg_step4_end #+BEGIN_SRC d if ((_opt_action.debug_do) || (_opt_action.very_verbose) |