summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-03-06Re-order fields of <input> type.Arun Isaac
* ccwl/ccwl.scm (<input>): Re-order <input> fields to be consistent with its constructor.
2021-03-06Combine <workflow-output> type into <output> type.Arun Isaac
The user should not have to distinguish between regular outputs and workflow outputs. * ccwl/ccwl.scm (<output>): Add source field. (output): Add source field to constructor. (<workflow-output>): Delete type. (workflow-output): Delete function.
2021-03-06Migrate to SRFI-9 records.Arun Isaac
Functional setters from (srfi srfi-9 gnu) are very useful. * ccwl/ccwl.scm (<input>, unspecified-default, <output>, <intermediate>, <workflow-output>, <step>): Redefine using SRFI-9 records.
2021-02-27Rewrite parse-command using break-pair.Arun Isaac
* ccwl/ccwl.scm (parse-command): Rewrite using break-pair.
2021-02-27Add break-pair utility.Arun Isaac
* ccwl/ccwl.scm (break-pair): New function. * tests/ccwl.scm: New file. * tests/ccwl.scm ("break-pair", "break-pair: check last elemet handling"): New test cases.
2021-02-27Display dictionary entries with empty values on the same line.Arun Isaac
* ccwl/yaml.scm (display-dictionary-entry): If value is an empty array or dictionary, display it on the same line. (scm->yaml): Go to next line after printing empty array. * tests/yaml.scm: New file. * tests/yaml.scm ("dictionary entries with empty arrays and dictionaries for values must render on the same line"): New test case.
2021-02-27Add scm->yaml-string.Arun Isaac
* ccwl/yaml.scm (scm->yaml-string): New function.
2021-02-27Rename project to ccwl.Arun Isaac
ccwl stands for Concise Common Workflow Language. * generate-cwl/ccwl.scm: Move to ccwl/ccwl.scm. * generate-cwl/yaml.scm: Move to ccwl/yaml.scm.
2021-02-25Support embedding clitool into a workflow step.Arun Isaac
* generate-cwl/generate-cwl.scm: Export intermediate and clitool-step. (<intermediate>): New type. (clitool-step): New function. (workflow): Pull out inputs and intermediate put into <step> objects by clitool-step.
2021-02-23Initial commitArun Isaac