From e31e98f5cc3c2289ad47198a506d8d03a063512c Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 7 May 2017 16:07:11 -0400 Subject: 0.15.0 named modules --- org/sdp.org | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) (limited to 'org/sdp.org') diff --git a/org/sdp.org b/org/sdp.org index edf258e..827a00f 100644 --- a/org/sdp.org +++ b/org/sdp.org @@ -23,7 +23,7 @@ struct Version { int minor; int patch; } -enum ver = Version(0, 14, 0); +enum ver = Version(0, 15, 0); #+END_SRC * 1. sdp (sisu document parser) :sdp: @@ -39,13 +39,13 @@ enum ver = Version(0, 14, 0); ** 0. sdp src/sdp.d :template: -#+BEGIN_SRC d :tangle ../src/sdp.d :shebang #!/usr/bin/env rdmd +#+BEGIN_SRC d :tangle ../src/sisu_d_parser.d :shebang #!/usr/bin/env rdmd /+ sdp +/ import - compile_time_info, - abstraction; + sdp.compile_time_info, + sdp.abstraction; <> <> <> @@ -88,18 +88,18 @@ unittest { #+BEGIN_SRC d /+ sdp: sisu document parser, see http://sisudoc.org +/ import - abstraction_summary, - ao_abstract_doc_source, - ao_conf_make_meta, - ao_conf_make_meta_native, - ao_conf_make_meta_sdlang, - ao_defaults, - ao_doc_debugs, - ao_read_config_files, - ao_read_source_files, - ao_rgx, - output_hub, - paths_source; + sdp.abstraction_summary, + sdp.ao_abstract_doc_source, + sdp.ao_conf_make_meta, + sdp.ao_conf_make_meta_native, + sdp.ao_conf_make_meta_sdlang, + sdp.ao_defaults, + sdp.ao_doc_debugs, + sdp.ao_read_config_files, + sdp.ao_read_source_files, + sdp.ao_rgx, + sdp.output_hub, + sdp.paths_source; #+END_SRC ****** notes @@ -440,10 +440,11 @@ writeln("no recognized filename"); break; // terminate, stop #+END_SRC -* 2. _document abstraction functions_ -** 0. abstraction template [#A] :template: +* 2. _document abstraction functions_ :module:sdp:abstraction: +** 0. module template #+BEGIN_SRC d :tangle ../src/sdp/abstraction.d +module sdp.abstraction; template SiSUabstraction() { <> <> @@ -615,10 +616,11 @@ struct DocumentMatters { auto doc_matters = DocumentMatters(); #+END_SRC -* 3. document abstraction _summary_ :summary:doc: -** 0. template: :template: +* 3. document abstraction _summary_ :module:sdp:abstraction_summary: +** 0. module template #+BEGIN_SRC d :tangle ../src/sdp/abstraction_summary.d +module sdp.abstraction_summary; template SiSUabstractionSummary() { auto SiSUabstractionSummary(S,T)( auto return ref const S doc_abstraction, @@ -640,8 +642,8 @@ template SiSUabstractionSummary() { #+name: abstraction_summary_imports #+BEGIN_SRC d import - ao_defaults, - ao_rgx; + sdp.ao_defaults, + sdp.ao_rgx; import std.array, std.exception, -- cgit v1.2.3