SchemeUnit SISC port update

Andrew Wilcox <schematics-dev-1nkB91yrSd/a/[email protected]> Tue, 24 May 2005 15:15:04 -0700 (PDT)
Newsgroups gmane.lisp.scheme.plt.schematics
Message-ID <[email protected]>
Here's an update on the port of SchemeUnit to SISC...

I've converted 170 unit tests in my own code to use SchemeUnit, and
these are now running in both PLT and SISC.

I'm trying out the approach of having language specific wrappers
around the language independent source files.  To avoid tedious work
in creating these wrappers, I'm writing a build system which
automatically generates the wrappers.

From my point of view, this isn't as ideal as if it were possible to
have macros expand into modules, however it isn't too bad:

   * The original source file is included by the wrapper, so all the
     host language integration features still work.

   * You can load the source file directly into the Scheme top level,
     for when you're busy working on that particular module and just
     want to access the definitions directly.

   * You only need to generate the wrapper when you've changed which
     identifiers you're exporting from the module.  So you don't need
     to regenerate the wrapper on every little change.

   * A distribution of the library includes both the original source
     files and the wrappers, and so an end user doesn't need anything
     different or special to use the library.

Andrew Wilcox


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005