[plt-scheme] Modules, structs and environments

From: Joel J. Adamson (jadamson at partners.org)
Date: Mon Nov 19 12:41:53 EST 2007

Chongkai Zhu <czhu at cs.utah.edu> writes:

> In this case, I would start a read-eval-print-loop, feed the
> "struct.ss" to it (i.e. the reader), and then continue with what ever
> you want to do.

Can you phrase this in code?  How do I "feed" the module to the REPL?
On top of that, how do I feed in all my other modules (the actual
program imports seven modules so far and that list will probably only
grow.

Do you mean import the modules in the input file?  That seems to defy
the purpose of having a main program to run things.  Do you mean start
MzScheme (interactively?) and then import the modules?  

My goal with this program is to make an environment available to
the user, i.e. this is meant to be a stand-alone application that uses
Scheme as a scripting language.

Thanks,
Joel
-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.




Posted on the users mailing list.