Previous: Example Pre-Scheme compiler usage, Up: Pre-Scheme


9.7 Running Pre-Scheme as Scheme

To facilitate the operation of Pre-Scheme systems within a high-level Scheme development environment, Scheme48 simply defines the prescheme, ps-memory, ps-record-types, ps-flonums, and ps-receive structures in terms of Scheme; Pre-Scheme structures can be loaded as regular Scheme structures because of this. Those structures and the interfaces they implement are defined in the files scheme/prescheme/interface.scm and scheme/prescheme/package-defs.scm from the main Scheme48 distribution; simply load these files into the config package before loading any Pre-Scheme configuration files.

The Pre-Scheme emulation layer in Scheme has some shortcomings: