diff options
author | Ralph Amissah <ralph@amissah.com> | 2016-12-07 17:28:38 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:13 -0400 |
commit | a74c05a756f541c314792a9f852c98db1f2b1aed (patch) | |
tree | e2f3d45f6f326d9e9f1fd24c97edb5650a7b53ba /org/ao_defaults.org | |
parent | 0.9.4 node info, changes to variables & types (diff) |
0.9.5 org files reorganized, tangles (code structure) to top of file
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 |