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

 
 

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

Submitted by:  None
Submitted on:  Mon 28 Jun 2004 08:05:29 PM UTC  
 
Category: Scheme languageSeverity: 3 - Normal
Item Group: Run-time exceptionStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

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

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 09 Nov 2004 01:04:15 AM UTCbothnerStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1