aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/ao_header_extract.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2016-07-02 00:19:35 -0400
committerRalph Amissah <ralph@amissah.com>2019-04-04 14:48:18 -0400
commit7d46a06145afd16e5161695daed11b6870b6a29f (patch)
treef5e01e8f73b00051bb40f5654a1d3a4a90e9323f /org/ao_header_extract.org
parentassociated array, refactor (diff)
rename files ao_conf_make_meta.d from ao_header_extract.d (org/ output)
Diffstat (limited to 'org/ao_header_extract.org')
-rw-r--r--org/ao_header_extract.org24
1 files changed, 12 insertions, 12 deletions
diff --git a/org/ao_header_extract.org b/org/ao_header_extract.org
index ead930c..f660147 100644
--- a/org/ao_header_extract.org
+++ b/org/ao_header_extract.org
@@ -15,7 +15,7 @@
[[./sdp.org][sdp]] [[./][org/]]
* 0. sdlang to AA
-#+name: ao_header_extract_sdl
+#+name: ao_conf_make_meta_sdl
#+BEGIN_SRC d
private auto sdlangToAAmake(string[string][string] conf, Tag conf_sdlang) {
foreach (maintag, subtags; conf) {
@@ -36,7 +36,7 @@ private auto sdlangToAAmake(string[string][string] conf, Tag conf_sdlang) {
* A. conf settings sdlang
-#+name: ao_header_extract_sdl
+#+name: ao_conf_make_meta_sdl
#+BEGIN_SRC d
private auto configSettingsSDLangToAAmake(Tag conf_sdlang) {
auto conf = sdlangToAAmake(conf_aa, conf_sdlang);
@@ -46,7 +46,7 @@ private auto configSettingsSDLangToAAmake(Tag conf_sdlang) {
* B. conf make sdlang
-#+name: ao_header_extract_sdl
+#+name: ao_conf_make_meta_sdl
#+BEGIN_SRC d
private auto documentMakeSDLangToAAmake(Tag document_make_sdlang) {
auto dochead_make = sdlangToAAmake(make_aa, document_make_sdlang);
@@ -402,7 +402,7 @@ private auto headerNativeToAA(in char[] src_header) {
* C.b. header sdlang :header:sdl:
** sdlang header parse and extract root Tag :sdlang:root:tag:
-#+name: ao_header_extract_sdl
+#+name: ao_conf_make_meta_sdl
#+BEGIN_SRC d
final private auto headerMakeSDLang(in string src_header) {
scope(failure) {
@@ -434,7 +434,7 @@ final private auto headerMakeSDLang(in string src_header) {
** sdlang header get :sdlang:get:src:
-#+name: ao_header_extract_sdl
+#+name: ao_conf_make_meta_sdl
#+BEGIN_SRC d
private auto headerSDLangGet(in char[] src_header) {
char[][] source_header_arr =
@@ -464,7 +464,7 @@ private auto headerSDLangGet(in char[] src_header) {
** sdlang header to associative array make sdlTag in :sdlang:aa:
-#+name: ao_header_extract_sdl
+#+name: ao_conf_make_meta_sdl
#+BEGIN_SRC d
private auto headerSDLangToAAmake(Tag header_sdlang, string[string][string] dochead_make) {
dochead_make = sdlangToAAmake(dochead_make, header_sdlang);
@@ -570,7 +570,7 @@ private auto headerSDLangToAAmake(Tag header_sdlang, string[string][string] doch
** hub: get sdlang header and convert to associative array :hub:sdlang:aa:
-#+name: ao_header_extract_sdl
+#+name: ao_conf_make_meta_sdl
#+BEGIN_SRC d
private auto headerSDLangToAA(char[] header_sdlang_src, string[string][string] conf_doc_make_aa) {
auto header_sdlang_tag = headerSDLangGet(header_sdlang_src); // sdlang.ast.Tag
@@ -589,7 +589,7 @@ with a regex check if whether it contains the "native header" required tag/field
converting the metadata and make instructions to a common json format used by
program internally. Moved to associative array.
-#+BEGIN_SRC d :tangle ../src/sdp/ao_header_extract.d
+#+BEGIN_SRC d :tangle ../src/sdp/ao_conf_make_meta.d
/+
extract native/orig header return associative array
+/
@@ -619,7 +619,7 @@ template SiSUheaderExtractHub() {
** 2a. Header Native :ao_markup_header_extract_native:
-#+BEGIN_SRC d :tangle ../src/sdp/ao_header_extract_native.d
+#+BEGIN_SRC d :tangle ../src/sdp/ao_conf_make_meta_native.d
/+
extract native/orig header return associative array
+/
@@ -645,7 +645,7 @@ template SiSUheaderExtractNative() {
** 2b. Header SDLang :ao_markup_header_extract_sdlang:
-#+BEGIN_SRC d :tangle ../src/sdp/ao_header_extract_sdlang.d
+#+BEGIN_SRC d :tangle ../src/sdp/ao_conf_make_meta_sdlang.d
/+
extract sdl header return sdl
+/
@@ -658,8 +658,8 @@ template SiSUheaderExtractSDLang() {
mixin SiSUregisters;
mixin RgxInit;
auto rgx = Rgx();
- <<ao_header_extract_sdl>>
- <<ao_header_extract_sdl_to_aa>>
+ <<ao_conf_make_meta_sdl>>
+ <<ao_conf_make_meta_sdl_to_aa>>
}
}
#+END_SRC