aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-06-29 14:53:07 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-07-01 12:52:54 -0400
commit3ff7241bb2bfef1d85c3fb0f880cac250c8de1bc (patch)
tree6218f65068862e97d06bfed8177c92ccbeac2276 /org/spine.org
parentdigest tuple rearrange (diff)
markup source digests (write to terminal)
Diffstat (limited to 'org/spine.org')
-rw-r--r--org/spine.org33
1 files changed, 13 insertions, 20 deletions
diff --git a/org/spine.org b/org/spine.org
index 879424b..e66ad47 100644
--- a/org/spine.org
+++ b/org/spine.org
@@ -1480,14 +1480,14 @@ template spineAbstraction() {
<<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_msg_step4_start>>
- struct DocumentMatters {
+ struct ST_DocumentMatters {
<<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>>
}
- auto doc_matters = DocumentMatters();
+ auto doc_matters = ST_DocumentMatters();
<<spine_each_file_do_document_matters_msg_step4_end>>
auto t = tuple(doc_abstraction, doc_matters);
return t;
@@ -1533,9 +1533,10 @@ if ((_opt_action.debug_do)
}
auto _header_body_insertfilelist_imagelist
= spineRawMarkupContent!()(_opt_action, _manifest.src.path_and_fn);
-writeln("src doc digest: ", _header_body_insertfilelist_imagelist.doc_digest.markup_doc.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.markup_doc.toHexString.length);
-writeln("header: ", _header_body_insertfilelist_imagelist.doc_digest.header.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.header.toHexString.length);
-writeln("text: ", _header_body_insertfilelist_imagelist.doc_digest.text.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.text.toHexString.length);
+// writeln("src doc digest: ", _header_body_insertfilelist_imagelist.doc_digest.markup_doc.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.markup_doc.toHexString.length);
+// writeln("header: ", _header_body_insertfilelist_imagelist.doc_digest.header.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.header.toHexString.length);
+// writeln("text: ", _header_body_insertfilelist_imagelist.doc_digest.text.toHexString, " ", _header_body_insertfilelist_imagelist.doc_digest.text.toHexString.length);
+auto doc_digests = _header_body_insertfilelist_imagelist.doc_digest;
if ((_opt_action.debug_do)
|| (_opt_action.debug_do_stages)
) {
@@ -1640,11 +1641,6 @@ if ((_opt_action.debug_do)
**** DocumentMatters struct {
-#+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_detail_program_time
@@ -1694,19 +1690,22 @@ auto generated_time() {
}
#+END_SRC
-**** config make & meta
+***** config make & meta
#+NAME: spine_each_file_do_document_matters_2_meta
#+BEGIN_SRC d
auto conf_make_meta() {
return _make_and_meta_struct;
}
+auto doc_digest() {
+ return doc_digests;
+}
auto has() {
return _doc_has_struct;
}
#+END_SRC
-**** env related
+***** env related
#+NAME: spine_each_file_do_document_matters_3_env
#+BEGIN_SRC d
@@ -1723,7 +1722,7 @@ auto env() {
}
#+END_SRC
-**** opt
+***** opt
#+NAME: spine_each_file_do_document_matters_4_opt
#+BEGIN_SRC d
@@ -1741,7 +1740,7 @@ auto opt() {
}
#+END_SRC
-**** output related
+***** output related
#+NAME: spine_each_file_do_document_matters_5_doc
#+BEGIN_SRC d
@@ -1814,12 +1813,6 @@ auto srcs() {
**** } close
-#+NAME: spine_each_file_do_document_matters_6_struct_close_gather
-#+BEGIN_SRC d
-}
-auto doc_matters = DocumentMatters();
-#+END_SRC
-
**** step complete message
#+NAME: spine_each_file_do_document_matters_msg_step4_end