From ead05e253861cc796eaf21d19cae1ae3707bef9e Mon Sep 17 00:00:00 2001
From: Arun Isaac
Date: Sat, 27 Feb 2021 18:51:48 +0530
Subject: Rename project to ccwl.
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.
---
ccwl/ccwl.scm | 214 ++++++++++++++++++++++++++++++++++++++++++
ccwl/yaml.scm | 85 +++++++++++++++++
generate-cwl/generate-cwl.scm | 214 ------------------------------------------
generate-cwl/yaml.scm | 85 -----------------
4 files changed, 299 insertions(+), 299 deletions(-)
create mode 100644 ccwl/ccwl.scm
create mode 100644 ccwl/yaml.scm
delete mode 100644 generate-cwl/generate-cwl.scm
delete mode 100644 generate-cwl/yaml.scm
diff --git a/ccwl/ccwl.scm b/ccwl/ccwl.scm
new file mode 100644
index 0000000..1f69d41
--- /dev/null
+++ b/ccwl/ccwl.scm
@@ -0,0 +1,214 @@
+;;
+;; CWL generator
+;;
+;; This file implements a generator to generate CWL files.
+
+(define-module (ccwl ccwl)
+ #:use-module (rnrs records syntactic)
+ #:use-module (srfi srfi-1)
+ #:use-module (srfi srfi-71)
+ #:use-module (ice-9 match)
+ #:export (clitool
+ workflow
+ input
+ output
+ step
+ workflow-output
+ intermediate
+ clitool-step))
+
+(define-record-type ( make-input input?)
+ (fields (immutable id input-id)
+ (immutable type input-type)
+ (immutable default input-default)
+ (immutable label input-label)
+ (immutable other input-other)))
+
+(define-record-type unspecified-default)
+
+(define* (input id #:key type label (default (make-unspecified-default)) (other '()))
+ "Build and return an object."
+ (make-input id type default label other))
+
+(define-record-type (