[plt-scheme] migrating non-modular mzscheme programs to PLT version 4

From: H David Goering (hdg at cox.net)
Date: Sun Nov 16 00:36:54 EST 2008

Unlike MzScheme of version 3, Module seems to require that the top- 
level file of a multi=file program contain a module. Adding '(require  
mzscheme)' is not sufficient.

Converting the top-level file to a module is no hardship, but 'load'  
and 'load/use-compiled' now seem to require that arguments refer to  
modules rather than mere files. If the reference is not a module the  
error message "compile: bad syntax; function application is not  
allowed, because no #%app syntax transformer is bound" is seen.  
Adding '#lang mzscheme' fixes that problem but fragments the  
namespace in a regrettable way.

Will Module accept a multi-file mzscheme program that is not  
modularized?  Or one that is treated as a single module?

Thanks,

David


Posted on the users mailing list.