﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
1306	The body of a syntax definer should be allowed to be a macro call	johnwcowan		"Currently Chicken doesn't support things like this:

{{{
(define (baz) 32)

(define-syntax foo
  (syntax-rules ()
    ((foo) (syntax-rules () ((bar) (baz)))))))

(define-syntax quux (foo)) ; fails with ""foo not defined""

}}}

On most Schemes that support macro varieties other than syntax-rules (and therefore extend R5RS in this situation), macro calls are expanded in this position, and `(quux)` evaluates to 32.  However, on Chicken they aren't.  They should be."	defect	closed	major	someday	unknown	4.11.0	invalid			
