> How do I write protable code testing different scheme implementation Do you want to write R5RS code?
> like mzscheme and mit-scheme.
Or just code that runs on both MzScheme and MIT-Scheme?
Writing the test code in an R5RS portable fashion can't be done.
An easy way to write code that works in both MzScheme and
MIT-Scheme is to keep two files: mzscheme.scm and mit.scm
in which you put definitions of things that are MzScheme and
MIT-Scheme specific respectively. Then as the first line in
main.scm use (include "mzscheme.scm") or (include "mit.scm").
Jens Axel Sgaard