[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: #1832: Exported syntaxes are not fully hygienic
From: |
Chicken Trac |
Subject: |
Re: #1832: Exported syntaxes are not fully hygienic |
Date: |
Wed, 03 Apr 2024 08:16:14 -0000 |
#1832: Exported syntaxes are not fully hygienic
-------------------------------------+-------------------------------------
Reporter: Dominik Joe | Owner: (none)
Pantůček |
Type: defect | Status: new
Priority: major | Milestone: someday
Component: compiler | Version: 5.3.0
Resolution: | Keywords: syntax hygiene modules
Estimated difficulty: hard |
-------------------------------------+-------------------------------------
Comment (by sjamaan):
Replying to [comment:1 sjamaan]:
> A potential solution might involve something akin to `canonicalize-
expression` on the syntax form
Hm, after thinking about this some more, I believe this would require
teaching the compiler about `syntax-rules` and how to canonicalize its
"templates".
Somehow that "feels" Very Wrong - we don't want to have to special case
something like this. Users should be able to add their own expanders
without requiring a special case for it.
--
Ticket URL: <https://bugs.call-cc.org/ticket/1832#comment:2>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.