This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
"Tel" == Tel <telford@eng.uts.edu.au> writes: Tel> How about a system that catches the error from the undefined Tel> (set!), then writes out to an extra file "(define foo #f)" based Tel> on the error that it caught, then issues a (load) on the extra Tel> file (which will be able to alter the top level bindings). When Tel> the script is finished executing, the extra file of (define)s can Tel> be tacked onto the top of the script file and the resulting file Tel> will work in both guile and SIOD. The script translation can be Tel> silent and automated! Aside from the fact that this is icky, a user may not have write access to the script file, if the script is installed in the system-wide scripts directory.