[plt-scheme] Breaking hygiene
At Wed, 13 Apr 2005 14:41:28 +0100, Matt Jadud wrote:
> (define-pass s-exp-passM
> (export expr)
> (new
> [expr ;;<-- and I'd like this to expand
> (id) ;; to a definition for <expr>...
Is it just that the identifier `<expr>' is derived from the identifier
`expr'?
If so, generate the identifier with this:
(define (production-id->bracketed-id id)
(datum->syntax-object id
(string->symbol (format "<~a>" (syntax-e id)))))
But I suspect that I'm missing something.
Matthew