aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/sdp.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/sdp.org')
-rw-r--r--org/sdp.org124
1 files changed, 26 insertions, 98 deletions
diff --git a/org/sdp.org b/org/sdp.org
index a48fbfa..fe66ef3 100644
--- a/org/sdp.org
+++ b/org/sdp.org
@@ -65,41 +65,18 @@ private import
#+END_SRC
**** sdp :import:sdp:
-***** TODO lib/sdp.d
+***** TODO src/sdp.d
-├── lib_
+├── src
│   ├── sdp.d
-    ├── version.txt
-    └── sdp
-    ├── ao_abstract_doc_source.d
-    ├── ...
-    └── compile_time_info.d
-
-#+NAME: sdp_imports_use
-#+BEGIN_SRC d
-/+ sdp sisu document parser +/
-import
- lib.sdp.compile_time_info, // sdp/compile_time_info.d
- lib.sdp.ao_abstract_doc_source, // sdp/ao_abstract_doc_source.d
- lib.sdp.ao_defaults, // sdp/ao_defaults.d
- lib.sdp.ao_read_source_files, // sdp/ao_read_source_files.d
- lib.sdp.ao_output_debugs, // sdp/ao_output_debugs.d
- lib.sdp.ao_rgx, // sdp/ao_rgx.d
- lib.sdp.ao_ansi_colors; // sdp/ao_ansi_colors.d
- // std.conv;
-#+END_SRC
-
-***** TODO lib/sdp/std.d (rdmd) :rdmd:
-
-├── lib_
│   └── sdp
-    ├── ao_abstract_doc_source.d
-    ├── ...
-    ├── compile_time_info.d
-    ├── sdp.d
-    └── version.txt
+│    ├── ao_abstract_doc_source.d
+│    ├── ...
+│    └── compile_time_info.d
+└── views
+   └── version.txt
-#+NAME: sdp_imports_rdmd
+#+NAME: sdp_imports_use
#+BEGIN_SRC d
/+ sdp sisu document parser +/
import
@@ -324,25 +301,27 @@ break;
* tangles (code structure) :tangle:
** sdp :sdp.d:
-*** TODO lib/sdp.d
+*** TODO src/sdp.d
-├── lib_
+├── src
│   ├── sdp.d
-    ├── version.txt
-    └── sdp
-    ├── ao_abstract_doc_source.d
-    ├── ...
-    └── compile_time_info.d
-
-├── lib_
+│   └── sdp
+│    ├── ao_abstract_doc_source.d
+│    ├── ...
+│    └── compile_time_info.d
+├── views
+│   └── version.txt
+
+├── src
│   ├── sdp
-    │   ├── ao_abstract_doc_source.d
-    │   ├── ...
-    │   └── compile_time_info.d
-    ├── sdp.d
-    └── version.txt
-
-#+BEGIN_SRC d :tangle ../lib/sdp.d :shebang #!/usr/bin/env rdmd
+│   │   ├── ao_abstract_doc_source.d
+│   │   ├── ...
+│   │   └── compile_time_info.d
+│   └── sdp.d
+├── views
+│   └── version.txt
+
+#+BEGIN_SRC d :tangle ../src/sdp.d :shebang #!/usr/bin/env rdmd
/+
sdp
sdp.d
@@ -366,57 +345,6 @@ void main(string[] args) {
}
#+END_SRC
-*** TODO lib/sdp/sdp.d :rdmd:
-
-├── lib_
-│   └── sdp
-    ├── ao_abstract_doc_source.d
-    ├── ...
-    ├── compile_time_info.d
-    ├── sdp.d
-    └── version.txt
-
-rdmd needs different paths (simple structure) to build, this solution could be
-used by both but so far I prefer the other for dmd & ldc
-
-#+BEGIN_SRC d :tangle ../lib/sdp/sdp.d :shebang #!/usr/bin/env rdmd
-// [used by rdmd]
-/+
- sdp
- sdp.d
-+/
-<<sdp_imports>>
-<<sdp_imports_rdmd>>
-<<sdp_version_mixin>>
-mixin CompileTimeInfo;
-mixin RgxInit;
-void main(string[] args) {
- <<sdp_compilation>>
- <<sdp_args>>
- foreach(fn_src; fns_src) {
- if (!empty(fn_src)) {
- <<sdp_each_file_do>>
- } else {
- <<sdp_no_filename_provided>>
- }
- }
-}
-#+END_SRC
-
-** version.txt :version:
-
-*** TODO lib/version.txt
-#+BEGIN_SRC d :tangle ../lib/version.txt
-/+ obt - org generated file +/
-<<version_txt>>
-#+END_SRC
-
-*** TODO lib/sdp/version.txt :rdmd:
-#+BEGIN_SRC d :tangle ../lib/sdp/version.txt
-/+ obt - org generated file +/
-// [used by rdmd]
-<<version_txt>>
-#+END_SRC
* TODO work on
- figure out best program dir structure, issue with rdmd