From bc6971c1d19d4dcb80f872de6aa1f39a1584b738 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 27 Jan 2017 20:58:33 -0500 Subject: read src file and split into head and body, template --- org/ao_read_source_files.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'org/ao_read_source_files.org') diff --git a/org/ao_read_source_files.org b/org/ao_read_source_files.org index 350ee19..c362f9a 100644 --- a/org/ao_read_source_files.org +++ b/org/ao_read_source_files.org @@ -75,12 +75,25 @@ template SiSUconfigSDLangHub() { +/ template SiSUmarkupRaw() { private import + ao_rgx; + private import + std.array, std.exception, + std.path, std.regex, std.stdio, + std.traits, + std.typecons, std.utf, std.conv : to; + mixin SiSUrgxInit; auto rgx = Rgx(); + auto rawsrc = MarkupRaw(); + auto SiSUmarkupRaw(Fn)(Fn fn_src) { + auto _0_header_1_body_content_2_insert_filelist_tuple = + rawsrc.sourceContentSplitIntoHeaderAndBody(rawsrc.sourceContent(fn_src), fn_src); + return _0_header_1_body_content_2_insert_filelist_tuple; + } struct MarkupRaw { final sourceContent(in string fn_src) { auto raw = MarkupRawUnit(); -- cgit v1.2.3