I've published Marc Nieper-Wißkirchen's revised version of the SRFI 147 implementation.  Note that this does not change the SRFI document — only the reference implementation.

Marc, should we apply this change to the reference implementation of SRFI 148, which currently contains a copy of the SRFI 147 reference implementation?

Here is the diff:

https://github.com/scheme-requests-for-implementation/srfi-147/commit/2d68efd27fbe09d0ae73f10ae7739a8a731dc502

Here are Marc's notes on the changes:

The sample implementation is now compatible with Schemes where literal identifiers in syntax-rules are lexically scoped (that is, an identifier pattern is a literal identifier if and only if it is bound-identifier=? to a literal appearing in the list of literals).

Commit Summary

  • Special-case Larceny's let(rec)-syntax
  • WIP
  • Fix hygiene problem for implementations that detect literals in patterns with bound-identifier=?

File Changes

M srfi/147.scm (38)
M srfi/147.sld (25)

Regards,


SRFI Editor