[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-janitors] #1183: Syntax bound via let-syntax not bound in s
From: |
Chicken Trac |
Subject: |
Re: [Chicken-janitors] #1183: Syntax bound via let-syntax not bound in syntax-rules in its body |
Date: |
Sat, 31 Oct 2015 15:30:33 -0000 |
#1183: Syntax bound via let-syntax not bound in syntax-rules in its body
-----------------------+--------------------
Reporter: syn | Owner:
Type: defect | Status: closed
Priority: minor | Milestone: 4.11.0
Component: expander | Version: 4.9.x
Resolution: wontfix | Keywords:
-----------------------+--------------------
Changes (by sjamaan):
* status: new => closed
* resolution: => wontfix
Comment:
This would require that macros close over their local macro environment,
which is much trickier than it sounds. In CHICKEN, macros are not handled
as closures, but as a "relatively" simple renaming mechanism.
It looks like Chibi and Guile don't work like that either, nor do Gauche,
Scheme48 or even Racket with its fancy syntax objects. MIT Scheme doesn't
grok it at all; it gets confused about the definition even: "Syntactic
binding value must be a keyword: foo"
I agree adding this would be Very Cool, but on the other hand, it's
probably not worth the effort (and resulting explosion of bugs): it
requires hacking this into the compiler ''and'' the interpreter, I think.
Plus, it wouldn't buy us much because portable code can't rely on it
anyway, and probably not many people will need this feature. We have
enough other brokenness to worry about :)
--
Ticket URL: <http://bugs.call-cc.org/ticket/1183#comment:2>
CHICKEN Scheme <http://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Chicken-janitors] #1183: Syntax bound via let-syntax not bound in syntax-rules in its body,
Chicken Trac <=