[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed iden
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed identifiers which can be captured by module imports |
Date: |
Sun, 20 Feb 2011 14:41:29 -0000 |
#511: Syntax-rules expansion uses unprefixed identifiers which can be captured
by
module imports
-----------------------+----------------------------------------------------
Reporter: sjamaan | Owner: felix
Type: defect | Status: assigned
Priority: critical | Milestone: 4.7.0
Component: expander | Version: 4.6.x
Resolution: | Keywords: declare, macro-expanded code
-----------------------+----------------------------------------------------
Comment(by sjamaan):
syntax-rules is a macro. Its expansion includes renamed identifiers for
"length", among others.
But this renaming doesn't appear to work properly; if there are imported
procedures with the same name, those are used instead of the ones from
library.scm. So yes, I think the problem is "that the expansion of a
syntax-rules contains expander-specific code that captures identifiers".
I think this has something to do with the fact that it's a macro-
generating macro. I will try to come up with a simpler testcase.
--
Ticket URL: <https://bugs.call-cc.org/ticket/511#comment:9>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #511: Expander problem with "declare" triggered by snowtar, Chicken Trac, 2011/02/19
- [Chicken-janitors] Re: #511: Expander problem with "declare" triggered by snowtar, Chicken Trac, 2011/02/19
- [Chicken-janitors] Re: #511: Expander problem with "declare" triggered by snowtar, Chicken Trac, 2011/02/19
- [Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed identifiers which can be captured by module imports (was: Expander problem with "declare" triggered by snowtar), Chicken Trac, 2011/02/19
- [Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed identifiers which can be captured by module imports, Chicken Trac, 2011/02/19
- [Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed identifiers which can be captured by module imports, Chicken Trac, 2011/02/19
- [Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed identifiers which can be captured by module imports, Chicken Trac, 2011/02/19
- [Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed identifiers which can be captured by module imports, Chicken Trac, 2011/02/20
- [Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed identifiers which can be captured by module imports, Chicken Trac, 2011/02/20
- [Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed identifiers which can be captured by module imports,
Chicken Trac <=
- [Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed identifiers which can be captured by module imports, Chicken Trac, 2011/02/20
- [Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed identifiers which can be captured by module imports, Chicken Trac, 2011/02/22
- [Chicken-janitors] Re: #511: Syntax-rules expansion uses unprefixed identifiers which can be captured by module imports, Chicken Trac, 2011/02/22