<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ccwl/tests, branch v0.2.0</title>
<subtitle>Concise Common Workflow Language (mirror of https://github.com/arunisaac/ccwl)</subtitle>
<id>http://git.systemreboot.net/ccwl/atom?h=v0.2.0</id>
<link rel='self' href='http://git.systemreboot.net/ccwl/atom?h=v0.2.0'/>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/ccwl/'/>
<updated>2021-11-01T20:07:47+00:00</updated>
<entry>
<title>tests: Add input-output-parameters.cwl.</title>
<updated>2021-11-01T20:07:47+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2021-11-01T20:07:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/ccwl/commit/?id=0f1167d8fa95874d952f44492ed851a031ed8a8c'/>
<id>urn:sha1:0f1167d8fa95874d952f44492ed851a031ed8a8c</id>
<content type='text'>
This is a follow-up to 0b359cf2c32cde81b4311d55273c8f6c14ca6b93 where
this file should have been included.

* tests/input-output-parameters.cwl: New file.
* Makefile.am (EXTRA_DIST): Register it.
</content>
</entry>
<entry>
<title>ccwl: Support external CWL workflows.</title>
<updated>2021-11-01T20:01:56+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2021-11-01T19:47:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/ccwl/commit/?id=0b359cf2c32cde81b4311d55273c8f6c14ca6b93'/>
<id>urn:sha1:0b359cf2c32cde81b4311d55273c8f6c14ca6b93</id>
<content type='text'>
* ccwl/ccwl.scm: Import (yaml). Export cwl-workflow?, cwl-workflow,
cwl-workflow-file, cwl-workflow-inputs and cwl-workflow-outputs.
(&lt;cwl-workflow&gt;): New type.
(cwl-workflow, function-input-keys, function-outputs,
function-object): New functions.
(command-input-keys, command-object): Delete functions.
(collect-steps): Replace command-object with function-object,
command-input-keys with function-input-keys and command-outputs with
function-outputs.
* ccwl/cwl.scm (workflow-&gt;cwl-scm): Handle &lt;cwl-workflow&gt; objects.
* tests/ccwl.scm ("read all forms of inputs and outputs from a CWL
workflow"): New test.
* guix.scm: Import (gnu packages guile-xyz) and (guix utils).
(guile-libyaml): New variable.
(ccwl)[inputs]: Add guile-libyaml.
</content>
</entry>
<entry>
<title>tests: Fix quoting of type.</title>
<updated>2021-10-12T11:15:39+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2021-10-12T11:15:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/ccwl/commit/?id=5453bae3d18e92712b0d2ee36c59a5ff191af9e3'/>
<id>urn:sha1:5453bae3d18e92712b0d2ee36c59a5ff191af9e3</id>
<content type='text'>
* tests/ccwl.scm ("stdin input should not have inputBinding"): Fix
quoting of type File.
</content>
</entry>
<entry>
<title>ccwl: Factorize out CWL generation code to separate file.</title>
<updated>2021-10-11T09:21:22+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2021-10-11T09:10:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/ccwl/commit/?id=9a354d0b99da83f60ab68f0151d6f0d5488b7a93'/>
<id>urn:sha1:9a354d0b99da83f60ab68f0151d6f0d5488b7a93</id>
<content type='text'>
This factorization is required to support other compilation targets
such as graphviz, bash, scheme, etc.

* ccwl/cwl.scm: New file.
* Makefile.am (SOURCES): Register it.
* ccwl/ccwl.scm (ccwl): Export command?, command-inputs,
command-outputs, command-args, command-stdin, command-other,
workflow?, workflow-steps, workflow-inputs, workflow-outputs,
workflow-other, input?, input-id, input-type, input-label,
input-default, input-position, input-prefix, input-other, output?,
output-id, output-type, output-binding, output-source, output-other,
step?, step-id, step-run, step-in, step-out, unspecified-default?.
(&lt;workflow&gt;): New type.
(filter-alist): Move to cwl.scm.
(make-workflow): Refactor into workflow-&gt;cwl-scm in cwl.scm.
(output-&gt;cwl): Move to cwl.scm as output-&gt;cwl-scm.
(command-&gt;cwl): Move to cwl.scm as command-&gt;cwl-scm.
(workflow-steps): Rename to collect-steps. Clarify docstring.
(workflow): Use collect-steps instead of workflow-steps. Explicitly
pass empty list as other argument of make-workflow. Add TODO note to
implement it properly.
* scripts/ccwl.in: Import (ccwl cwl) instead of (ccwl yaml). Use
workflow-&gt;cwl instead of scm-&gt;yaml.
* tests/ccwl.scm ("stdin input should not have inputBinding"): Use
command-&gt;cwl-scm from (ccwl cwl) instead of command-&gt;cwl from (ccwl
ccwl).
</content>
</entry>
<entry>
<title>ccwl: Support #:allow-other-keys in lambda** and syntax-lambda**.</title>
<updated>2021-10-04T11:25:21+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2021-10-04T11:25:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/ccwl/commit/?id=8cb1b1972fb00245a8a24d75e51b1cd8d474d1de'/>
<id>urn:sha1:8cb1b1972fb00245a8a24d75e51b1cd8d474d1de</id>
<content type='text'>
* ccwl/utils.scm (lambda**): Support #:allow-other-keys. Update
docstring.
(syntax-lambda**): Update docstring.
* tests/utils.scm ("Allow other keys in lambda**", "Allow other keys
in syntax-lambda**"): New tests.
</content>
</entry>
<entry>
<title>ccwl: Error out on invalid keywords to lambda**.</title>
<updated>2021-10-04T11:04:55+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2021-10-04T11:04:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/ccwl/commit/?id=ffb909bf27158e10a032dc4df0d0c54bba37889b'/>
<id>urn:sha1:ffb909bf27158e10a032dc4df0d0c54bba37889b</id>
<content type='text'>
* ccwl/utils.scm (lambda**): Error out on invalid keywords (that is,
keywords other than #:key, #:key* and #:allow-other-keys).
* tests/utils.scm ("lambda** should error out on unrecognized keywords
in arguments"): New test.
</content>
</entry>
<entry>
<title>tests: Remove stray syntax-lambda** form.</title>
<updated>2021-10-04T10:24:22+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2021-10-04T10:24:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/ccwl/commit/?id=2d9df0fc90e96a39ace2446341cf8cbf7be33c29'/>
<id>urn:sha1:2d9df0fc90e96a39ace2446341cf8cbf7be33c29</id>
<content type='text'>
* tests/utils.scm: Remove stray syntax-lambda** form.
</content>
</entry>
<entry>
<title>ccwl: Make syntax-lambda** more like lambda**.</title>
<updated>2021-07-27T10:28:02+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2021-07-27T09:57:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/ccwl/commit/?id=c9c12e0e396475533ef987e3969b2ec847a8af9f'/>
<id>urn:sha1:c9c12e0e396475533ef987e3969b2ec847a8af9f</id>
<content type='text'>
I have tripped up several times on the differences between lambda**
and syntax-lambda**. No longer! Making syntax-lambda** as close as
possible to lambda** makes the code much more readable and align
better with common sense.

* ccwl/utils.scm (syntax-lambda**): Do not ignore the first
identifier. Accept multiple values as arguments, not a single syntax
object.
* ccwl/ccwl.scm (command): Update use of syntax-lambda**.
* tests/utils.scm ("syntax-lambda**", "syntax-lambda** with default
values"): Update tests.
</content>
</entry>
<entry>
<title>ccwl: Set default value of lambda** n-ary arguments to '().</title>
<updated>2021-07-20T11:28:48+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2021-07-20T11:28:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/ccwl/commit/?id=cdedc54e7c51755103d78014e8a8773d82110c63'/>
<id>urn:sha1:cdedc54e7c51755103d78014e8a8773d82110c63</id>
<content type='text'>
* ccwl/utils.scm (lambda**): Set default value of lambda** n-ary
arguments to the empty list. Document this in the docstring.
* tests/utils.scm ("default value of lambda** unary argument should be
#f", "default value of lambda** n-ary argument should be the empty
list"): New tests.
</content>
</entry>
<entry>
<title>ccwl: Document syntax-lambda** support for default arguments.</title>
<updated>2021-07-20T11:02:50+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2021-07-20T11:02:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.systemreboot.net/ccwl/commit/?id=54d5ce4ecdc414c74afd3cf2b37fbebb82c3cc81'/>
<id>urn:sha1:54d5ce4ecdc414c74afd3cf2b37fbebb82c3cc81</id>
<content type='text'>
* ccwl/utils.scm (syntax-lambda**): Add example to docstring
documenting support for default arguments.
* tests/utils.scm ("syntax-lambda** with default values"): New test.
</content>
</entry>
</feed>
