Words are looked up in vocabularies at parse time. Normally, when a file is being loaded with run-file or require, the use and in are set at parse time according to any USING: and IN: declarations the file may have. The file's top-level form, which is run after parsing, does not have access to the use or in variables (or the file variable, or any other parse-time state).
Slava On Sun, Apr 19, 2009 at 5:31 PM, Jose A. Ortega Ruiz <[email protected]> wrote: > sorry if i'm being dumb, but i want the quotation to be called with the > in/use values set during parsing, which are lost outside the with-scope, > no? or will the quotation, when called, remember the context where it > was parsed? > > (for instance, the quotation corresponds to evaluating a word definition > in a vocab that the user is editing, and i want 'in' to be that vocab and > 'use' to contain the corresponding USINGs) ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
