@@ -69,6 +69,8 @@ See [[#development][Development]].
6969- [X] ~:tangle-mode~
7070- [ ] ~:comments~
7171- [ ] ~:no-expand~
72+ * Screenshot
73+ [[https://raw.githubusercontent.com/OrgTangle/ntangle/master/doc/img/Screenshot_ntangle_v0.4.2.png][https://raw.githubusercontent.com/OrgTangle/ntangle/master/doc/img/Screenshot_ntangle_v0.4.2.png]]
7274* Usage
7375Add one or more Org files (files with names ending in ".org") or
7476directory names after the ~ntangle~ command. If directory names are
@@ -126,81 +128,6 @@ You need to add *~/.nimble/bin/* to your ~PATH~ environment variable.
126128# cd to the git repo dir
127129./tests/test.sh
128130#+end_src
129-
130- # #+RESULTS:
131-
132- #+begin_example
133- Parsing tests/test1/test1.ORG ..
134- [WARN] Line 4 - ':eval' header argument is not supported at the moment.
135- Writing tests/test1/test_passing.nim (8 lines) ..
136- Writing tests/test1/test_failing.nim (8 lines) ..
137-
138- Parsing tests/tangle_no_yes/tangle_no_yes.org ..
139- Writing tests/tangle_no_yes/tangle_no_yes.nim (2 lines) ..
140- Writing tests/tangle_no_yes/specified_file.nim (2 lines) ..
141-
142- Entering directory tests/src_blocks_with_extra_indentation/ ..
143- Parsing tests/src_blocks_with_extra_indentation/src_blocks_with_extra_indentation.org ..
144- Writing tests/src_blocks_with_extra_indentation/hi2.nim (3 lines) ..
145- Writing tests/src_blocks_with_extra_indentation/hello2.nim (5 lines) ..
146-
147- Entering directory tests/multiple_src_blocks_tangled_to_same_file/ ..
148- Parsing tests/multiple_src_blocks_tangled_to_same_file/multiple_src_blocks_tangled_to_same_file.org ..
149- Writing tests/multiple_src_blocks_tangled_to_same_file/hi.nim (3 lines) ..
150- Writing tests/multiple_src_blocks_tangled_to_same_file/hello.nim (3 lines) ..
151-
152- Parsing tests/wyag/write-yourself-a-git.org ..
153- [WARN] Line 200 - ':noweb' header argument is not supported at the moment.
154- [WARN] Line 226 - ':noweb' header argument is not supported at the moment.
155- [WARN] Line 339 - ':noweb' header argument is not supported at the moment.
156- Writing tests/wyag/wyag (5 lines) ..
157- Writing tests/wyag/wyag-tests (104 lines) ..
158- Writing tests/wyag/libwyag.py (683 lines) ..
159-
160- Parsing tests/shebang/shebang.org ..
161- Writing tests/shebang/echo.sh (3 lines) ..
162-
163- Entering directory tests/global_tangle/ ..
164- Parsing tests/global_tangle/global_tangle.org ..
165- Writing tests/global_tangle/global_tangle.el (2 lines) ..
166- Writing tests/global_tangle/specified_file.nim (2 lines) ..
167- Writing tests/global_tangle/global_tangle.nim (4 lines) ..
168-
169- Parsing tests/global_tangle/global_tangle_lang_specific.org ..
170- Writing tests/global_tangle/global_tangle_lang_specific.nim (2 lines) ..
171-
172- Entering directory tests/org_tangle_rs/ ..
173- Parsing tests/org_tangle_rs/lib.org ..
174- Writing tests/org_tangle_rs/org-parser/lib.rs (64 lines) ..
175-
176- Parsing tests/org_tangle_rs/engine.org ..
177- Writing tests/org_tangle_rs/org-tangle-engine/lib.rs (209 lines) ..
178-
179- Parsing tests/org_tangle_rs/engine_mini.org ..
180- Writing tests/org_tangle_rs/org-tangle-engine/lib_mini.rs (9 lines) ..
181-
182- Entering directory tests/nested_src/ ..
183- Parsing tests/nested_src/nested_src.org ..
184- Writing tests/nested_src/tangled.org (9 lines) ..
185- Writing tests/nested_src/nested_src.nim (14 lines) ..
186-
187- Parsing tests/nested_src/tangled.org ..
188- No tangle blocks found
189-
190- Parsing tests/missing_arg_value/missing_arg_value.org ..
191- [ERROR] Line 1 - The header arg ':tangle' is missing its value.
192-
193- Parsing tests/mkdirp_no/mkdirp_no.org ..
194- [ERROR] Unable to write to `tests/mkdirp_no/./foo/bar/mkdirp_test.sh'. `tests/mkdirp_no/./foo/bar/' directory does not exist.
195-
196- Parsing tests/mkdirp_yes/mkdirp_yes.org ..
197- Writing tests/mkdirp_yes/./foo/bar/mkdirp_test.sh (2 lines) ..
198-
199- Parsing tangle_mode.org ..
200- Writing file_permissions_755 (2 lines) ..
201- Writing file_permissions_600_override_shebang (3 lines) ..
202- Writing file_permissions_644 (2 lines) ..
203- #+end_example
204131* History
205132The ~ntangle.nim~ file was written as an exercise to roughly translate the
206133Python script [[https://github.com/thblt/org-babel-tangle.py][~org-babel-tangle.py~]] (by @thblt) to Nim.
0 commit comments