diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-01-29 16:54:15 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | 4f20bd5582bc9ed864f0e43f030a4e76259cf6f0 (patch) | |
tree | bbbc5ba31d4154d154405c8be2de14b24b1b60e2 /org/ao_defaults.org | |
parent | 0.12.1 abstraction template (diff) |
org file reorganise
Diffstat (limited to 'org/ao_defaults.org')
-rw-r--r-- | org/ao_defaults.org | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/org/ao_defaults.org b/org/ao_defaults.org index 3184077..908a449 100644 --- a/org/ao_defaults.org +++ b/org/ao_defaults.org @@ -13,8 +13,10 @@ #+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) [[./sdp.org][sdp]] [[./][org/]] -* 0. Code Skeleton / Outline / Structure (tangles) :tangle: -** 1. defaults: :ao_defaults: +* 0. default templates :template:defaults: +[[./sdp.org][sdp]] [[./][org/]] + +** 0. defaults: :ao_defaults: #+name: tangle_ao_defaults #+BEGIN_SRC d :tangle ../src/sdp/ao_defaults.d @@ -33,23 +35,6 @@ template SiSUregisters() { <<ao_defaults_template_language_codes>> #+END_SRC -** 2. rgx: :ao_rgx: - -#+name: tangle_ao_rgx -#+BEGIN_SRC d :tangle ../src/sdp/ao_rgx.d -/++ - regex: regular expressions used in sisu document parser -+/ -template SiSUrgxInit() { - private import ao_defaults; - struct Rgx { - <<ao_rgx>> - } -} -#+END_SRC - -* 1. default templates :template:defaults: -[[./sdp.org][sdp]] [[./][org/]] ** template: imports #+name: ao_defaults_imports @@ -690,7 +675,7 @@ template SiSUpaths() { return chainPath(seg(fn_src), seg_filename ~ ".html").array; } // string fn_css(string fn_src) { - // // // return chainPath(seg(fn_src), "html.css").array; + // return chainPath(seg(fn_src), "html.css").array; // } } struct EpubPaths { @@ -763,13 +748,28 @@ template InternalMarkup() { } #+END_SRC -* 2. regex ctRegex :regex: +* 1. regex ctRegex :regex: [[./sdp.org][sdp]] [[./][org/]] http://dlang.org/phobos/std_regex.html - Plain string, in which case it's compiled to bytecode before matching. - Regex!char (wchar/dchar) that contains a pattern in the form of compiled bytecode. - StaticRegex!char (wchar/dchar) that contains a pattern in the form of compiled native machine code. +** 0. rgx code template: :ao_rgx: + +#+name: tangle_ao_rgx +#+BEGIN_SRC d :tangle ../src/sdp/ao_rgx.d +/++ + regex: regular expressions used in sisu document parser ++/ +template SiSUrgxInit() { + private import ao_defaults; + struct Rgx { + <<ao_rgx>> + } +} +#+END_SRC + ** misc :misc: #+name: ao_rgx |