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
Priority:  5 - Normal Item Group:  Run-time exception
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

History

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.16-598c.
Corresponding source code