diff options
Diffstat (limited to 'org/ao_defaults.org')
-rw-r--r-- | org/ao_defaults.org | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/org/ao_defaults.org b/org/ao_defaults.org index 39cfff8..d991dec 100644 --- a/org/ao_defaults.org +++ b/org/ao_defaults.org @@ -13,8 +13,32 @@ #+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 Outline / Structure (tangles) :tangle: +** 1. defaults: :ao_defaults.d: -* default templates :template:defaults: +#+name: tangle_ao_defaults +#+BEGIN_SRC d :tangle ../src/sdp/ao_defaults.d +/++ + default settings ++/ +<<ao_defaults_templates>> +#+END_SRC + +** 2. rgx: :ao_rgx.d: + +#+name: tangle_ao_rgx +#+BEGIN_SRC d :tangle ../src/sdp/ao_rgx.d +/++ + regex: regular expressions used in sisu document parser ++/ +template RgxInit() { + struct Rgx { + <<ao_rgx>> + } +} +#+END_SRC + +* 1. default templates :template:defaults: [[./sdp.org][sdp]] [[./][org/]] ** template: settings metadata associative array indexes :settings: @@ -483,7 +507,7 @@ template InternalMarkup() { } #+END_SRC -* regex ctRegex :regex: +* 2. 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. @@ -872,28 +896,3 @@ string[string] scr_txt_marker = [ "black" : "\033[30m*\033[0m " ]; #+END_SRC - -* tangles (code structure) :tangle: -** defaults: :ao_defaults.d: - -#+name: tangle_ao_defaults -#+BEGIN_SRC d :tangle ../src/sdp/ao_defaults.d -/++ - default settings -+/ -<<ao_defaults_templates>> -#+END_SRC - -** rgx: :ao_rgx.d: - -#+name: tangle_ao_rgx -#+BEGIN_SRC d :tangle ../src/sdp/ao_rgx.d -/++ - regex: regular expressions used in sisu document parser -+/ -template RgxInit() { - struct Rgx { - <<ao_rgx>> - } -} -#+END_SRC |