Ticket #97 (writing defect)

Opened 18 months ago

Last modified 15 months ago

syntax-rules special literals

Reported by: alexshinn Owned by: alexshinn
Priority: major Milestone:
Component: WG1 - Macros Keywords:
Cc:

Description

... and with the result of #6 also _ have special meaning
in syntax-rules patterns, so they are not treated as pattern
variables by default.

However their behavior when used in the literals list of
syntax-rules is ambiguous, and simply breaks in most implementations.

Rather than breaking, it makes sense to go ahead and treat
them as normal literals, overriding their special meanings.

In particular, there are many existing R5RS macros which
make use of _ in the literals and are thus broken outright
by #6. Allowing them as literals fixes these macros.

Change History

comment:1 Changed 16 months ago by cowan

  • Status changed from new to closed
  • Resolution set to fixed

WG1 chose to make them literals.

comment:2 Changed 16 months ago by alexshinn

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:3 Changed 16 months ago by alexshinn

  • Owner alexshinn deleted
  • Status changed from reopened to assigned

comment:4 Changed 16 months ago by alexshinn

  • Status changed from assigned to decided

comment:5 Changed 15 months ago by alexshinn

  • Owner set to alexshinn
  • Status changed from decided to writing
Note: See TracTickets for help on using tickets.