port of SchemeUnit assert to SISC
Andrew Wilcox <schematics-dev-1nkB91yrSd/a/[email protected]> Mon, 2 May 2005 14:10:26 -0700 (PDT)
| Newsgroups | gmane.lisp.scheme.plt.schematics |
|---|---|
| Message-ID | <[email protected]> |
I've completed an initial port of SchemeUnit's assert.ss to SISC.
In SISC, DATUM->SYNTAX-OBJECT has to be passed a syntax object
generated by (syntax ...) as its first argument. Thus in
DEFINE-ASSERTION I changed (datum->syntax-object stx ...) to
(datum->syntax-object #'define-assertion ...).
mzcompatibility.scm now implements an ad-hoc version of EXN-MESSAGE.
I went back and renamed the test assertion exceptions back to the
names that they have in the original SchemeUnit source code for
MzScheme. I became more aware of the cost of having divergent source
code, and in this case I wasn't seeing any real need or benefit to use
SRFI-35 style names.
The code may be browsed here:
http://code.andrewwilcox.name/browse/dev/src/schemeunit/
and is available within a GNU Arch project named
code-1nkB91yrSd/a/[email protected]/dev--a--0
inside the src/schemeunit directory.
The archive is published at:
http://code.andrewwilcox.name/2005
and may be accessed from GNU Arch with commands such as:
tla register-archive http://code.andrewwilcox.name/2005
tla get code-1nkB91yrSd/a/[email protected]/dev--a--0
Andrew Wilcox
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20