aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-08-17build-aux: Remove redundant beginning-of-line.•••* build-aux/build-home-page.el (build-website): Remove redundant beginning-of-line. Arun Isaac
2021-08-17build-aux: Link to GitHub repo on website.•••We programmatically add a link to the GitHub repo before building the website. This way, the GitHub link will appear only on the website, and not on the README.org rendered on GitHub. * build-aux/build-home-page.el (build-website): Add a link to the GitHub repo before building the website. Arun Isaac
2021-08-17ccwl: Define output objects using a macro instead of a function.•••This allows us to do sophisticated syntax checking at an early stage, very close to the user interface. That way error messages from ccwl will make a lot more sense. * ccwl/ccwl.scm (output): Re-implement as macro. (command): Use the new macro interface. * doc/capture-output-file-with-parameter-reference.scm, doc/capture-output-file.scm, doc/capture-stdout.scm, doc/checksum.scm, doc/decompress-compile-run.scm: Use new quoting syntax for output types. Arun Isaac
2021-08-17build-aux: Preserve only the LIBRARY_PATH environment in cwltool runs.•••* build-aux/generate-cwl-output.sh.in: Preserve only the LIBRARY_PATH environment variable. Arun Isaac
2021-08-16Makefile: Generate sample output when building documentation.•••* Makefile.am (CLEANFILES): Add doc/*.out. (CLEAN_DIRECTORIES): Add doc/cwl-output. (GENERATE_CWL_OUTPUT): New variable. (doc/capture-output-file.out, doc/capture-output-file-with-parameter-reference.out, doc/capture-stdout.out, doc/checksum.out, doc/decompress-compile-run.out, doc/hello-world.out, doc/pass-stdin.out, doc/hello.tar.out): New targets. * doc/capture-output-file-with-parameter-reference.out, doc/capture-output-file.out, doc/capture-stdout.out, doc/checksum.out, doc/decompress-compile-run.out, doc/hello-world.out, doc/hello.tar.out, doc/pass-stdin.out: Delete files. * build-aux/generate-cwl-output.sh.in, doc/hello.c.gz, doc/hello.tar, doc/hello.txt: New files. * configure.ac: Configure build-aux/generate-cwl-output.sh. * doc/ccwl.skb (Tutorial)[Passing input into the standard input stream of a command]: Replace file "foo" with "hello.txt". * .gitignore: Add build-aux/generate-cwl-output.sh, doc/*.out and doc/cwl-output. Arun Isaac
2021-08-16Makefile: Clean dot files correctly.•••* Makefile.am (CLEANFILES): Clean *.dot, not %.dot. Arun Isaac
2021-08-16Makefile: Allow tabs when editing in Emacs.•••* Makefile.am: Set indent-tabs-mode to t. Arun Isaac
2021-08-16ccwl: Define input objects using a macro instead of a function.•••This allows us to do sophisticated syntax checking at an early stage, very close to the user interface. That way error messages from ccwl will make a lot more sense. * ccwl/ccwl.scm (input): Re-implement as macro. (<input>): Add new functional setters set-input-position and set-input-prefix. (input-spec-id, run-arg-position, run-arg-prefix): New functions. (command, workflow): Use the new macro interface. * doc/capture-output-file-with-parameter-reference.scm, doc/capture-output-file.scm, doc/capture-stdout.scm, doc/checksum.scm, doc/decompress-compile-run.scm, doc/hello-world.scm, doc/pass-stdin.scm: Use new quoting syntax for input types. Arun Isaac
2021-07-27ccwl: Make syntax-lambda** more like lambda**.•••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. Arun Isaac
2021-07-27build-aux: Use #t as the expected value for test-assert tests.•••* build-aux/test-driver.scm.in: Import (ice-9 match). (my-gnu-runner): Use #t as the expected value for test-assert tests. Arun Isaac
2021-07-20ccwl: Do not specify '() as the default value for n-ary arguments.•••Specifying '() as the default value for n-ary arguments is now equivalent to specifying '(()) as the default value. This is wrong. * ccwl/ccwl.scm (command): Do not explicitly specify the emtpy list as the default value for n-ary arguments. Arun Isaac
2021-07-20ccwl: Set default value of lambda** n-ary arguments to '().•••* 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. Arun Isaac
2021-07-20ccwl: Document syntax-lambda** support for default arguments.•••* ccwl/utils.scm (syntax-lambda**): Add example to docstring documenting support for default arguments. * tests/utils.scm ("syntax-lambda** with default values"): New test. Arun Isaac
2021-07-20ccwl: Clarify difference between and lambda** and syntax-lambda**.•••* ccwl/utils.scm (syntax-lambda**): Clarify difference between and lambda** and syntax-lambda**. Arun Isaac
2021-07-20ccwl: Support default values for arguments in lambda**.•••* ccwl/utils.scm (lambda**): Support default values for arguments, both unary and n-ary. * tests/utils.scm ("lambda** with default values"): New test. Arun Isaac
2021-07-20tests: Add tests for ccwl/utils.scm.•••* tests/utils.scm: New file. * Makefile.am (SCM_TESTS): Register it. Arun Isaac
2021-07-20ccwl: Add examples to docstrings.•••* ccwl/utils.scm (pairify, plist->alist, group-keyword-arguments, plist-ref, syntax-lambda**, filter-mapi, mapn, append-mapn, foldn): Add examples to docstrings. Arun Isaac
2021-07-19build-aux: Put website building code into a function.•••This will be useful when we want build-home-page.el to build both a website and a gemini capsule. * build-aux/build-home-page.el (build-website): New function. * Makefile.am (website/index.html): Call build-website. Arun Isaac
2021-07-19ccwl: Add missing syntax in unsyntax-keywords docstring example.•••* ccwl/utils.scm (unsyntax-keywords): Add missing syntax in docstring example. Arun Isaac
2021-07-19tests: Fix order of arguments to test-equal.•••The expected value should be the first argument to test-equal. Getting this order wrong messes up the test logs. * tests/yaml.scm ("dictionary entries with empty arrays and dictionaries for values must render on the same line"): Fix order of arguments to test-equal. Arun Isaac
2021-07-19tests: Fix indentation.•••* tests/ccwl.scm ("stdin input should not have inputBinding"): Fix indentation. Arun Isaac
2021-07-19build-aux: Support disabling of color in tests.•••* build-aux/test-driver.scm.in: Pass argument color? to my-gnu-runner. (color, red, green, magenta, my-gnu-runner): Accept argument color?. Arun Isaac
2021-07-19build-aux: Color test suite names.•••* build-aux/test-driver.scm.in (magenta): New function. (my-gnu-runner): Color test suite name in magenta. Arun Isaac
2021-07-19build-aux: Abstract out colored text.•••* build-aux/test-driver.scm.in (color, red, green): New functions. (my-gnu-runner): Call red and green instead of stuffing escape codes into the format string. Arun Isaac
2021-07-19build-aux: Improve test driver output.•••The test driver output is now much cleaner, and actually logs expected and actual values of failing tests. * build-aux/test-driver.scm.in (my-gnu-runner): Inherit from test-runner-null, and improve output. Arun Isaac
2021-07-06Release version 0.1.0.•••* website/releases/ccwl-0.1.0.tar.lz, website/releases/ccwl-0.1.0.tar.lz.asc: New files. v0.1.0Arun Isaac
2021-07-06NEWS: Update.•••* NEWS: New file. Arun Isaac
2021-07-06.gitignore: Update rules regarding website directory.•••* .gitignore: Replace website with website/index.html and website/manual. Arun Isaac
2021-07-06Makefile: Add release target.•••* Makefile.am (CURRENT_RELEASE): New variable. (release, $(CURRENT_RELEASE), %.asc): New rules. Arun Isaac
2021-07-05ccwl: Remove extra blank lines.•••* ccwl/ccwl.scm: Remove extra blank lines. Arun Isaac
2021-07-05website: Highlight code snippets.•••* website/style.css (code): Set background color to the same gray as pre code snippets. Pad 0.2 em on the left and the right. Arun Isaac
2021-07-05doc: Inline code snippets.•••* doc/ccwl.skb (Tutorial)[Important concepts]: Inline code snippets. Arun Isaac
2021-07-05doc: Add python named arguments example.•••* doc/ccwl.skb (Tutorial)[Important concepts]: Add python named arguments example. Arun Isaac
2021-07-04Makefile: Replace top_builddir with builddir.•••Since we only have a top-level Makefile, top_builddir and builddir are the same. Use builddir in the interest of brevity. * Makefile.am (%.go, SCM_LOG_DRIVER, doc/ccwl.info, doc/ccwl.html): Replace top_builddire with builddir. Arun Isaac
2021-07-04Makefile: Pass image path to skribilo.•••* Makefile.am (SKRIBILO_FLAGS): Add --image-path=$(builddir). Arun Isaac
2021-07-04doc: Use PNG images instead of SVG.•••PNG images are supported by both the info and html engines. * doc/ccwl.skb (Tutorial)[Workflow with multiple steps]: Use PNG images instead of SVG. * Makefile.am (CLEANFILES): Replace doc/*.svg with doc/*.png. (%.svg): Delete rule. (%.png): New rule. * .gitignore: Replace doc/*.svg with doc/*.png. Arun Isaac
2021-07-04Makefile: Pass source path to skribilo.•••* Makefile.am (SKRIBILO_FLAGS): New variable. (doc/ccwl.info, doc/ccwl.html): Pass $(SKRIBILO_FLAGS) to skribilo. Arun Isaac
2021-07-04doc: Search for source-ref referenced files in source-path.•••* doc/skribilo.scm: Import (skribilo parameters). (source-ref): Search for files in source-path. Arun Isaac
2021-07-04doc: Remove redundant file open.•••* doc/skribilo.scm (source-ref): Remove redundant file open. Arun Isaac
2021-07-04Makefile: Distribute documentation.•••* Makefile.am (EXTRA_DIST): Add doc/skribilo.scm, doc/ccwl.skb, $(DOC_OTHER). Arun Isaac
2021-07-04Makefile: Include .depends with automake.•••* bootstrap.sh: Generate .depends. * Makefile.am: Include .depends with automake, not with make. (.depends): Delete rule. (doc/ccwl.html, doc/ccwl.info): Use DOC_OTHER instead of DOC_OTHER_DEPENDENCIES. (CLEANFILES): Remove .depends. * build-aux/find-dependencies.scm: Output DOC_OTHER instead of DOC_OTHER_DEPENDENCIES. _DEPENDENCIES variables are special in automake. Arun Isaac
2021-07-04Makefile: Clean only directories in clean-local.•••* Makefile.am (CLEANFILES): Add .depends, website/index.html. (CLEAN_DIRECTORIES): Add doc/ccwl.html, website/manual. (clean-local): Delete $(CLEAN_DIRECTORIES) only. Arun Isaac
2021-07-04Makefile: Build skribilo documentation in-place.•••* Makefile.am (SKRIBILO_BUILD_DIR): Delete variable. (CLEANFILES): Add doc/*.cwl, doc/*.dot, doc/*.svg, doc/ccwl.info, doc/skribilo.go. ($(SKRIBILO_BUILD_DIR)/%.cwl): Rename to %.cwl. (info-local, install-info-local): Depend on doc/ccwl.info instead of $(SKRIBILO_BUILD_DIR)/ccwl.info. (html-local, install-html-local, website/manual/dev/en): Depend on doc/ccwl.html instead of $(SKRIBILO_BUILD_DIR)/ccwl.html. ($(SKRIBILO_BUILD_DIR)/ccwl.info): Rename to doc/ccwl.info. ($(SKRIBILO_BUILD_DIR)/ccwl.html): Rename to doc/ccwl.html. (clean-local): Do not delete doc/skribilo.go and $(SKRIBILO_BUILD_DIR). * .gitignore: Add doc/*.cwl, doc/*.html, doc/*.info, doc/*.svg. Remove doc/skribilo. * doc/ccwl.skb (Tutorial)[Workflow with multiple steps]: Reference images in the doc directory instead of in the doc/skribilo directory. Arun Isaac
2021-07-04Makefile: List files in a single line.•••There are so few that it makes no sense to list them one on a line. * Makefile.am (SOURCES, SCM_TESTS): List files in a single line. Arun Isaac
2021-07-04scripts: Do not compile ccwl files.•••* scripts/ccwl.in: Do not compile ccwl files. Arun Isaac
2021-07-04Makefile: Do not create website directory.•••The website directory is checked into the git repository and need not be created. * Makefile.am (website/index.html): Do not create website directory. Arun Isaac
2021-07-04Makefile: Add prefix variables for silencing commands.•••* Makefile.am (CCWL_GEN*, CWLTOOL_GEN*, DOT_GEN*, EMACS_GEN*, GUILD_GEN*, SKRIBILO_GEN*): New variables. (%.go): Prefix with GUILD_GEN instead of AM_V_GEN. ($(SKRIBILO_BUILD_DIR)/%.cwl): Prefix with CCWL_GEN instead of AM_V_GEN. (%.dot): Prefix with CWLTOOL_GEN instead of AM_V_GEN. (%.svg): Prefix with DOT_GEN. ($(SKRIBILO_BUILD_DIR)/ccwl.info, $(SKRIBILO_BUILD_DIR)/ccwl.html): Prefix with SKRIBILO_GEN instead of AM_V_GEN. (website/index.html): Prefix with EMACS_GEN. Arun Isaac
2021-07-03doc: Use emph instead of quotes for emphasis.•••* doc/ccwl.skb (Tutorial)[First example, Capturing the standard output stream of a command]: Use emph instead of double quotes for emphasis. Arun Isaac
2021-07-03doc: Move skribilo configuration into doc directory.•••* ccwl/skribilo.scm: Move to ... * doc/skribilo.scm: ... here. * doc/ccwl.skb: Import (doc skribilo) instead of (ccwl skribilo). * Makefile.am ($(SKRIBILO_BUILD_DIR)/ccwl.info, $(SKRIBILO_BUILD_DIR)/ccwl.html): Depend on doc/skribilo.go instead of ccwl/skribilo.go. * Makefile.am (clean-local): Delete doc/skribilo.go instead of ccwl/skribilo.go. Arun Isaac
2021-07-03Makefile: Build skribilo configuration before documentation.•••* Makefile.am ($(SKRIBILO_BUILD_DIR)/ccwl.info, $(SKRIBILO_BUILD_DIR)/ccwl.html): Depend on ccwl/skribilo.go instead of ccwl/skribilo.scm. * Makefile.am (clean-local): Delete ccwl/skribilo.go. Arun Isaac