Guile Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set! (The GIMP! By gum, I forgot all about it!)
"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.
Guile Home |
Main Index |
Thread Index