[Asdf-devel] converting asdf build & test to Lisp

Faré fahree at gmail.com
Mon May 19 23:34:46 UTC 2014


My latest procrastination was to convert the ASDF Makefile and
supporting build and test scripts to CL.

On the one hand, the Makefile didn't translate into asdf secondary
targets, like I expected: it's all regular CL functions, modulo some
slightly elaborate calling conventions so that the appropriate
functions can be called from the Makefile like before, as in:
   make t l=clisp t="test-utilities.script test-program.script"
   make bump-version v=4.0
etc.

It's all in the minimakefile branch. Dave, can you test that branch on Windows?
I'm particularly curious about LispWorks on Windows,
since it's the implementation that has always given us
the most trouble with argument passing on Windows;
but other Windows implementations make me curious too:
there is this elaborate compose-eval-string in tools/invoke-lisp.lisp
that produces a string without space, single or double quote or backslash,
that is hopefully suitable for passing to the worst implementations
of Windows command-line parsers.

The infrastructure now in asdf/tools/ could serve as the basic for a
cross-implementation testing framework. I'm not interested in
developing one,
but those of you who deliver code on a lot of platforms might be.

Death to shell scripts, long live Lisp scripts!

—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org
The rule is perfect: in all matters of opinion our adversaries are insane.
        — Mark Twain




More information about the asdf-devel mailing list