bugKawa - Bugs: bug #9483, R5RS macro (problem in let binding...

 
 

bug #9483: R5RS macro (problem in let binding ...)

Submitter:  None
Submitted:  Mon 28 Jun 2004 08:05:29 PM UTC
   
 
Category:  Scheme language Severity:  3 - Normal
Item Group:  Run-time exception Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 09 Nov 2004 01:04:15 AM UTC, comment #1: 

This now works in CVS thanks to the macro handling rewrite.
The testcase is checked into the Kawa testsuite.

Per Bothner <bothner>
Group administrator
Mon 28 Jun 2004 08:05:29 PM UTC, original submission:  


(define-syntax macro-chain
 (syntax-rules ()
  ((macro-chain . z)
   (letrec-syntax
    ((m1 (syntax-rules () ((m1 x) (id (m2 x)))))
    (m2 (syntax-rules () ((m2 x) (id (m3 x)))))
    (m3 (syntax-rules () ((m3 x) (quote x))))
    (id (syntax-rules () ((id x) x))))
   (m1 z)))))

The latest CVS version (2004.06.27) doesn't run the macro. It works as an identity macro giving back its input: (macro-chain 1) => (1), etc.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-11-09 bothner StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code