[ sisc-Bugs-742013 ] eval performs syntax expansion in wrong environment
"SourceForge.net" <[email protected]>
| Newsgroups | gmane.comp.java.sisc.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #742013, was opened at 2003-05-22 13:48 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379534&aid=742013&group_id=23735 Category: None Group: None Status: Open Resolution: None Priority: 7 Submitted By: Matthias Radestock (mradestock) Assigned to: Nobody/Anonymous (nobody) Summary: eval performs syntax expansion in wrong environment Initial Comment: eval is performing the syntax expansion in the current environment. For instance (define-syntax foo (syntax-rules () ((_ x) (display 'x)))) (eval '(foo hello) (scheme-report-environment 5)) displays hello when it should be producing an error. More significantly, if we redefine an r5rs form in the interaction-environment then a subsequent use of eval in the scheme-report-environment will use the changed definition rather than the original. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=379534&aid=742013&group_id=23735 ------------------------------------------------------- This SF.net email is sponsored by: ObjectStore. If flattening out C++ or Java code to make your application fit in a relational database is painful, don't do it! Check out ObjectStore. Now part of Progress Software. http://www.objectstore.net/sourceforge