[plt-scheme] match library for r6rs

From: Derick Eddington (derick.eddington at gmail.com)
Date: Sun May 11 13:10:12 EDT 2008

On Fri, May 9, 2008 at 3:32 PM, Derick Eddington
<derick.eddington at gmail.com> wrote:
> However, the additional dependencies are
> minimal and I've already made a port of this matcher which is portable
> and would run on MzScheme if it weren't for another issue related to the
> one I mention in my last comment below

JTMI, I've made this matcher work in MzScheme now.  That other issue I
mentioned above was the same as:

#!r6rs
(import (rnrs))

(define-syntax B
  (lambda (stx) 1))

(define-syntax A
  (lambda (stx)
    (syntax-case stx ()
      [(_) (B)])))

(write (A)) (newline)

ERROR=>

expand: unbound variable in module (transformer environment) in: B


That works in Ikarus but MzScheme requires `B' to be moved to another
library imported at phase `expand'.

--
: Derick
----------------------------------------------------------------


Posted on the users mailing list.