Re: [Chicken-users] two-dimensional syntax-rules

2017-03-11 Thread Alex Shinn
It's not a bug, it's the template which is an error. See the discussion on the chibi list: https://groups.google.com/d/msg/chibi-scheme/7fTzofNrPrI/Yy_aibRdBQAJ -- Alex On Fri, Mar 10, 2017 at 7:16 PM, Peter Bex wrote: > On Fri, Mar 10, 2017 at 11:10:35AM +0100, Sascha

Re: [Chicken-users] two-dimensional syntax-rules

2017-03-10 Thread Peter Bex
On Fri, Mar 10, 2017 at 11:10:35AM +0100, Sascha Ziemann wrote: > 2017-03-10 10:55 GMT+01:00 Peter Bex : > > > > Gauche and Racket accept this macro application, Scheme48 rejects it (but > > that's expected, because our syntax-rules is originally from Scheme48). > > > > But

Re: [Chicken-users] two-dimensional syntax-rules

2017-03-10 Thread Sascha Ziemann
2017-03-10 10:55 GMT+01:00 Peter Bex : > > Gauche and Racket accept this macro application, Scheme48 rejects it (but > that's expected, because our syntax-rules is originally from Scheme48). > But Gauche fails like Chibi. They silently ignore the last ellipsis. $

Re: [Chicken-users] two-dimensional syntax-rules

2017-03-10 Thread Peter Bex
On Fri, Mar 10, 2017 at 09:31:38AM +0100, Sascha Ziemann wrote: > I am not sure if it is a bug, because Chibi and Gambit fail, too. But > Petite Chez does it like Guile. > > Is it a bug? Hello Sascha, At first glance, it looks like a bug to me. I'll have to investigate further, because this

[Chicken-users] two-dimensional syntax-rules

2017-03-10 Thread Sascha Ziemann
I have the following macro: (define-syntax define-facts (syntax-rules () ((_ (name a0 a1 ...) ((v00 v01 ...) (v10 v11 ...) ...)) '(define (name a0 a1 ...) (conde ((== a0 v00) (== a1 v01) ...) ((== a0 v10) (== a1 v11) ...) ...) In Guild 2.0.9