<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ccwl/scripts, branch main</title>
<subtitle>Concise Common Workflow Language (mirror of https://github.com/arunisaac/ccwl)
</subtitle>
<id>http://git.genenetwork.org/ccwl/atom?h=main</id>
<link rel='self' href='http://git.genenetwork.org/ccwl/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/ccwl/'/>
<updated>2024-03-22T01:48:25+00:00</updated>
<entry>
<title>ccwl: Implement js-expression.</title>
<updated>2024-03-22T01:48:25+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2024-03-22T01:29:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/ccwl/commit/?id=e430937727b881be2b2428ad0f09a32ea0aaf198'/>
<id>urn:sha1:e430937727b881be2b2428ad0f09a32ea0aaf198</id>
<content type='text'>
js-expression corresponds to ExpressionTool in the CWL specification.

* ccwl/ccwl.scm (&lt;js-expression&gt;): New type.
(js-expression): New macro.
(function-inputs, function-outputs, function-object): Support
&lt;js-expression&gt; objects.
(function-input-keys): Mention &lt;js-expression&gt; objects in docstring.
* ccwl/cwl.scm (function-&gt;cwl, workflow-&gt;cwl-scm): Support
&lt;js-expression&gt; objects.
(command-&gt;cwl-scm): Move staging requirements handling to ...
(staging-requirements): ... this new function.
(js-expression-&gt;cwl, js-expression-&gt;cwl-scm): New functions.
* ccwl/graphviz.scm (function-&gt;dot): Support &lt;js-expression&gt; objects.
(command-&gt;graph): Abstract to ...
(single-node-workflow-&gt;graph): ... this new function.
(js-expression-&gt;dot, js-expression-&gt;graph): New functions.
* scripts/ccwl (main): Support &lt;js-expression&gt; objects.
* doc/ccwl.skb (Cookbook){Javascript expressions via ExpressionTool}:
New section.
* doc/js-expression-iota.scm: New file.
</content>
</entry>
<entry>
<title>scripts: Use unified function terminology.</title>
<updated>2024-03-22T00:00:03+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2024-03-22T00:00:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/ccwl/commit/?id=d005c17106add8bd9ab07eddc30e9cf9b17de544'/>
<id>urn:sha1:d005c17106add8bd9ab07eddc30e9cf9b17de544</id>
<content type='text'>
Call workflows and commands by our unified notion of "function". This
makes it more succinct when adding more kinds of functions.

* ccwl/cwl.scm (workflow-or-command-&gt;cwl): Rename to function-&gt;cwl.
* ccwl/graphviz.scm (workflow-or-command-&gt;dot): Rename to
function-&gt;dot.
* scripts/ccwl (main): Use function-&gt;cwl and function-&gt;dot.
</content>
</entry>
<entry>
<title>scripts: When ccwl crashes, say so explicitly.</title>
<updated>2023-11-18T23:48:50+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2023-11-18T23:48:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/ccwl/commit/?id=cd2be030233d529d0319a4b73dd9dbc0eea007f3'/>
<id>urn:sha1:cd2be030233d529d0319a4b73dd9dbc0eea007f3</id>
<content type='text'>
* scripts/ccwl (main): When ccwl crashes, say so explicitly.
</content>
</entry>
<entry>
<title>scripts: Raise exception when file does not return supported object.</title>
<updated>2023-09-28T22:51:21+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2023-09-28T22:50:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/ccwl/commit/?id=d58e5585b62bd284a7e27045e748c2cf1d31a649'/>
<id>urn:sha1:d58e5585b62bd284a7e27045e748c2cf1d31a649</id>
<content type='text'>
* scripts/ccwl (main): Raise exception when file returns neither
workflow nor command.
</content>
</entry>
<entry>
<title>scripts: Support returning command objects from ccwl files.</title>
<updated>2023-09-28T22:47:45+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2023-09-28T22:47:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/ccwl/commit/?id=efc929b3f65595255f57f069769a60a4544b9c72'/>
<id>urn:sha1:efc929b3f65595255f57f069769a60a4544b9c72</id>
<content type='text'>
* scripts/ccwl (main): Replace workflow-&gt;cwl and workflow-&gt;dot with
workflow-or-command-&gt;cwl and workflow-or-command-&gt;dot.
</content>
</entry>
<entry>
<title>scripts: Catch and report &amp;formatted-message conditions.</title>
<updated>2023-09-28T21:39:22+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2023-09-28T21:36:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/ccwl/commit/?id=03376c2c7c23b538d6b3e90b8c6d8534e367ab7a'/>
<id>urn:sha1:03376c2c7c23b538d6b3e90b8c6d8534e367ab7a</id>
<content type='text'>
* scripts/ccwl (main): Catch and report &amp;formatted-message conditions.
</content>
</entry>
<entry>
<title>scripts: Ignore quit exceptions when requesting the user report bugs.</title>
<updated>2023-09-20T09:35:08+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2023-09-20T09:35:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/ccwl/commit/?id=1ec0bef2bdc8c1b937eef71f93d35e98f0f2f688'/>
<id>urn:sha1:1ec0bef2bdc8c1b937eef71f93d35e98f0f2f688</id>
<content type='text'>
* scripts/ccwl: Import (ice-9 exceptions).
(main): Do not print backtrace or request the user to report a bug for
quit exceptions.
</content>
</entry>
<entry>
<title>scripts: Set scheme mode in Emacs.</title>
<updated>2023-09-20T09:19:33+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2023-09-20T09:19:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/ccwl/commit/?id=ca6df72041e1c397b4b0d12d6b26088d404c4ea1'/>
<id>urn:sha1:ca6df72041e1c397b4b0d12d6b26088d404c4ea1</id>
<content type='text'>
* scripts/ccwl: Set scheme mode in Emacs.
</content>
</entry>
<entry>
<title>scripts: Catch uncaught exceptions and request the user report them.</title>
<updated>2023-09-20T09:17:58+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2023-09-20T09:17:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/ccwl/commit/?id=cdc3704e226ff8b802001436f7ab785e320b522b'/>
<id>urn:sha1:cdc3704e226ff8b802001436f7ab785e320b522b</id>
<content type='text'>
* scripts/ccwl (main): Catch uncaught exceptions and request the user
report them to the issue tracker.
</content>
</entry>
<entry>
<title>scripts: Allow script to be loaded without executing main.</title>
<updated>2023-09-20T08:42:36+00:00</updated>
<author>
<name>Arun Isaac</name>
</author>
<published>2023-09-20T08:36:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.genenetwork.org/ccwl/commit/?id=1f23b23775dfe2fcdedf7cb660cda521ed2f2285'/>
<id>urn:sha1:1f23b23775dfe2fcdedf7cb660cda521ed2f2285</id>
<content type='text'>
Call main from the shebang command instead of calling it
directly. This allows us to run "guile -l scripts/ccwl" without
actually running main. This seems to be important for Emacs Geiser as
it freezes up without this fix.

* scripts/ccwl: Call main from shebang. Do not call main directly.
(main): Accept args as regular argument instead of as a rest argument.
</content>
</entry>
</feed>
