From 41139a3438a6dfd3f52ed4cd3e0e7e70ffb01f96 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 4 Mar 2016 15:06:34 -0500 Subject: track --- org/sdp.org | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'org/sdp.org') diff --git a/org/sdp.org b/org/sdp.org index 885f022..d93825f 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -9,11 +9,11 @@ #+OPTIONS: ^:nil _:nil #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport -#+FILETAGS: :sdp:hub: +#+FILETAGS: :sdp:rel:hub: #+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) -* sdp.d sisu document parser :sdp.d: -[[../maker.org][maker.org makefile]] +* sdp.d sisu document parser +[[../maker.org][maker.org makefile]] [[./][org/]] Deal with imports. Take command line instructions and process files as instructed. @@ -22,7 +22,8 @@ Take command line instructions and process files as instructed. [[./ao_assertions.org][ao_assertions]] [[./ao_defaults.org][ao_defaults]] [[./ao_emitters_and_interfaces.org][ao_emitters_and_interfaces: ao_emitter; ao_interface]] -[[./ao_markup_source_raw.org][ao_markup_source_raw]] +[[./ao_read_markup_source.org][ao_read_markup_source]] +// [[./ao_read_markup_source.org][ao_read_markup_source]] [[./ao_object_setter.org][ao_object_setter]] [[./ao_output_debugs.org][ao_output_debugs]] [[./ao_rgx.org][ao_rgx]] @@ -54,7 +55,7 @@ import lib.sdp.ao_defaults, // sdp/ao_defaults.d lib.sdp.ao_emitter, // sdp/ao_emitter.d lib.sdp.ao_interface, // sdp/ao_interface.d - lib.sdp.ao_markup_source_raw, // sdp/ao_markup_source_raw.d + lib.sdp.ao_read_markup_source, // sdp/ao_read_markup_source.d lib.sdp.ao_object_setter, // sdp/ao_object_setter.d lib.sdp.ao_output_debugs, // sdp/ao_output_debugs.d lib.sdp.ao_rgx, // sdp/ao_rgx.d @@ -63,6 +64,7 @@ import // std.conv; import std.conv : to; #+END_SRC + ** argv [+3] :argv: *** argv mixins & init #+name: sdp_argv @@ -116,6 +118,7 @@ scope(failure) { // writeln("1"); } #+END_SRC + *** argv loop #+name: sdp_argv #+BEGIN_SRC d :exports none @@ -129,6 +132,7 @@ foreach(cmdlnins; argv) { } } #+END_SRC + *** each file [+2] :file: **** filename provided [+1] ***** scope :scope: @@ -161,8 +165,9 @@ enforce( "not a sisu markup filename" ); #+END_SRC + ***** read file :file:read: -[[./ao_markup_source_raw.org][ao_markup_source_raw]] +[[./ao_read_markup_source.org][ao_read_markup_source]] #+name: sdp_each_file_do #+BEGIN_SRC d :exports none @@ -180,6 +185,7 @@ debug(insert) { writeln(m.captures[2]); } #+END_SRC + ****** incorporate any inserts [[./ao_scan_inserts.org][ao_scan_inserts]] @@ -202,6 +208,7 @@ debug(raw) { } } #+END_SRC + ***** send for processing :processing: #+name: sdp_each_file_do #+BEGIN_SRC d :exports none @@ -217,6 +224,7 @@ auto bookindex_unordered_hashes = t[3]; auto biblio = t[4]; // destroy(t); #+END_SRC + ***** debug document parts (checkdoc) #+name: sdp_each_file_do #+BEGIN_SRC d :exports none @@ -235,6 +243,7 @@ debug(checkdoc) { // compose abstract document markup state // append book index #+END_SRC + ***** on exit #+name: sdp_each_file_do #+BEGIN_SRC d :exports none @@ -249,6 +258,7 @@ scope(exit) { destroy(biblio); } #+END_SRC + **** no filename provided #+name: sdp_no_filename_provided #+BEGIN_SRC d :exports none @@ -257,6 +267,7 @@ writeln("no recognized filename"); break; // terminate, stop #+END_SRC + * tangles :tangle: ** code structure :sdp.d: #+name: tangle_sdp -- cgit v1.2.3