Re: load in environment

2007-07-07 Thread Marco Maggi
"Jon Wilson" wrote: >I'm writing a function to load up some data from a file and >stick it in a hash table. Lemmesee if I get it: 1. data representation is stored in a file; 2. the representation format is an Application Specific Language (ASL), so the file is really a script in ASL; 3. A

Guile Introspection

2007-07-07 Thread Mike Gran
Hi- Is it possible to get introspection information out of Guile (preferably without having to load GOOPS)? For example, how can I write a function that prints its own name? Or, what is the scheme version of the following C code printf("%s %d\n", __FILE__, __LINE__); Thanks in advance, Mike G

Re: Guile Introspection

2007-07-07 Thread Issac Trotts
On 7/7/07, Mike Gran <[EMAIL PROTECTED]> wrote: Hi- Is it possible to get introspection information out of Guile (preferably without having to load GOOPS)? For example, how can I write a function that prints its own name? You can define a macro to make this happen: (defmacro define-named (