diff options
Diffstat (limited to 'org/sdp.org')
-rw-r--r-- | org/sdp.org | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/org/sdp.org b/org/sdp.org index d93825f..0130f39 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -3,10 +3,10 @@ #+EMAIL: ralph.amissah@gmail.com #+STARTUP: indent #+LANGUAGE: en -#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t +#+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+OPTIONS: author:nil email:nil creator:nil timestamp:nil -#+OPTIONS: ^:nil _:nil +#+PROPERTY: header-args :padline no :exports none :noweb yes #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport #+FILETAGS: :sdp:rel:hub: @@ -31,7 +31,7 @@ Take command line instructions and process files as instructed. [[./ao_utils.org][ao_utils]] #+name: sdp_imports -#+BEGIN_SRC d :exports none +#+BEGIN_SRC d /+ sdp sisu document parser +/ import std.algorithm, @@ -68,7 +68,7 @@ import std.conv : to; ** argv [+3] :argv: *** argv mixins & init #+name: sdp_argv -#+BEGIN_SRC d :exports none +#+BEGIN_SRC d mixin SiSUheader; mixin SiSUbiblio; mixin SiSUrgxInitFlags; @@ -121,7 +121,7 @@ scope(failure) { *** argv loop #+name: sdp_argv -#+BEGIN_SRC d :exports none +#+BEGIN_SRC d foreach(cmdlnins; argv) { if (match(cmdlnins, rgx.flag_action)) { flag_action ~= " " ~ cmdlnins; @@ -137,7 +137,7 @@ foreach(cmdlnins; argv) { **** filename provided [+1] ***** scope :scope: #+name: sdp_each_file_do -#+BEGIN_SRC d :exports none +#+BEGIN_SRC d scope(success) { debug(checkdoc) { writeln( @@ -170,7 +170,7 @@ enforce( [[./ao_read_markup_source.org][ao_read_markup_source]] #+name: sdp_each_file_do -#+BEGIN_SRC d :exports none +#+BEGIN_SRC d auto markup_sourcefile_content = raw.markupSourceContentRawLineArray(fn_src); // alternative call // raw.markupSourceLineArray(raw.markupSourceString(fn_src)); // alternative calls (milliseconds faster?) @@ -190,7 +190,7 @@ debug(insert) { [[./ao_scan_inserts.org][ao_scan_inserts]] #+name: sdp_each_file_do -#+BEGIN_SRC d :exports none +#+BEGIN_SRC d if (match(fn_src, rgx.src_fn_master)) { /+ if master file scan document source for document imports (inserted sub-documents) +/ auto ins = new Inserts(); @@ -211,7 +211,7 @@ debug(raw) { ***** send for processing :processing: #+name: sdp_each_file_do -#+BEGIN_SRC d :exports none +#+BEGIN_SRC d /+ process document ao_abstract_doc_source SiSUdocAbstraction::Abstraction return abstraction as tuple +/ auto t = abs.abstract_doc_source(msc); @@ -227,7 +227,7 @@ auto biblio = t[4]; ***** debug document parts (checkdoc) #+name: sdp_each_file_do -#+BEGIN_SRC d :exports none +#+BEGIN_SRC d // DocumentParts debug(checkdoc) { dbg.abstract_doc_source_debugs( @@ -246,7 +246,7 @@ debug(checkdoc) { ***** on exit #+name: sdp_each_file_do -#+BEGIN_SRC d :exports none +#+BEGIN_SRC d scope(exit) { destroy(msc); destroy(t); @@ -261,7 +261,7 @@ scope(exit) { **** no filename provided #+name: sdp_no_filename_provided -#+BEGIN_SRC d :exports none +#+BEGIN_SRC d /* no recognized filename provided */ writeln("no recognized filename"); break; @@ -271,7 +271,7 @@ break; * tangles :tangle: ** code structure :sdp.d: #+name: tangle_sdp -#+begin_src d :tangle ../lib/sdp.d :shebang #!/usr/bin/env rdmd :exports none :noweb yes +#+BEGIN_SRC d :tangle ../lib/sdp.d :shebang #!/usr/bin/env rdmd /* sdp sdp.d |