Re: [ sisc-Bugs-742013 ] eval performs syntax expansion in wrong environment
| Newsgroups | gmane.comp.java.sisc.devel |
|---|---|
| Message-ID | <[email protected]> |
Actually, eval does work in the passed environment, but apparently syntactic keywords are global (probably in *sc-expander*). Maybe thats what has changed in psyntax 6.9a. Scott On Thu, May 22, 2003 at 02:48:36PM -0700, SourceForge.net wrote: > 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 > _______________________________________________ > SISC-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sisc-devel > --
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+zWdzr9IW4v3mHtQRAhGWAJ92QqLURqDtn/OVLB+7Jc28n9TlJACeLl9t wjBm4MUAQa8/KmtjKfngS+0= =id86 -----END PGP SIGNATURE-----