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] |
This is probably an issue for the eventual usage of guile-lang, but for me it arised because I wanted to generate code and eval it on the fly from input from a file... something like this (let ((somevar (getline)) (someval (getline)) ... (local-eval `(set! ,(string->symbol somevar) ,someval)) the idea being that somevar is a local variable, which contains the result of reading in some variable name from a file, and someval is some string read from a file. suppose for example that all the names that could arise from (string->symbol somevar) have been bound.. I've been reading the docs, and this is the closest I got to being able to do what I'm trying to do. The docs have the procedure named "local-eval!" but that's wrong according to the interpreter. when I do such a thing, it complains about an improperly interned symbol... ??? any help or suggestions??? thanks, Dan Lakeland ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com