Re: [Guile-commits] GNU Guile branch, syncase-in-boot-9, updated. e3c5df539640a36eb1493f581087d54a4714f337

2009-06-04 Thread Neil Jerram
Andy Wingo wi...@pobox.com writes: (1) Doesn't #'x = (syntax x) need to apply only in the lexical RHS of a syntax-case syntax transformer? Perhaps then we could implement this meaning of #'x only in this limited scope, and retain the older meaning in other scopes? Yes, although you can't

Re: [Guile-commits] GNU Guile branch, syncase-in-boot-9, updated. e3c5df539640a36eb1493f581087d54a4714f337

2009-06-02 Thread Neil Jerram
Andy Wingo wi...@pobox.com writes: * module/ice-9/boot-9.scm: Remove #' read-hash extension, which actually didn't do anything at all. It's been there since 1997, but no Guile code I've ever seen uses it, and it conflicts with #'x = (syntax x) from modern Scheme. I

Re: [Guile-commits] GNU Guile branch, syncase-in-boot-9, updated. e3c5df539640a36eb1493f581087d54a4714f337

2009-05-30 Thread Ludovic Courtès
Hi! Andy Wingo wi...@pobox.com writes: commit 34f3d47df9311852ba7eab6f8d1c36535c3774dd Author: Andy Wingo wi...@pobox.com Date: Thu May 28 14:49:33 2009 +0200 [...] * module/ice-9/boot-9.scm: Remove #' read-hash extension, which actually didn't do anything at all. It's been

syncase-in-boot-9 merged to master; savannah down

2009-05-29 Thread Andy Wingo
Hey all, With Ludovic's blessing, I went ahead and merged syncase-in-boot-9 into master. Unfortunately I can't push it, because savannah is down. It appears they have had catastrophic disk failure. So what I've done is reset my origin/master ref to my master ref: git update-ref refs

request review: syncase-in-boot-9

2009-05-22 Thread Andy Wingo
Hey folks! The syncase-in-boot-9 branch puts syntax-case expansion at the heart of Guile -- as the default expander, all Guile Scheme code would run through it; and as the first pass of the compiler, it analyzes all Scheme code, producing typed output. It makes syntax-rules and syntax-case

Re: [Guile-commits] GNU Guile branch, syncase-in-boot-9, updated. ce09ee19892d391f3b2ca13e0616d343929c2c14

2009-05-18 Thread Ludovic Courtès
Hello Andy! Andy Wingo wi...@pobox.com writes: * test-suite/lib.scm (pass-if, expect-fail, pass-if-exception) (expect-fail-exception): Rewrite as syntax-rules macros. In a very amusing turn of events, it turns out that bindings introduced by hygienic macros are not

Re: [Guile-commits] GNU Guile branch, syncase-in-boot-9, updated. 3d5f3091e100550052abc698e980b3e86cc01b65

2009-04-30 Thread Ludovic Courtès
Hello! Andy Wingo wi...@pobox.com writes: * libguile/macros.h: Add API for syncase macros. Perhaps these should be made `SCM_INTERNAL'? +SCM_DEFINE (scm_make_syncase_macro, make-syncase-macro, 2, 0, 0, +(SCM type, SCM binding), + Return a @dfn{macro} that requires

Re: [Guile-commits] GNU Guile branch, syncase-in-boot-9, updated. 6a952e0ee9093424cdc8f300406d09ce195ebf5c

2009-04-30 Thread Ludovic Courtès
Andy Wingo wi...@pobox.com writes: * module/ice-9/boot-9.scm (and-map, or-map): Move these definitions up so psyntax can use them. (andmap): Remove, yay. I'm not sure how the latter relates to the rest of the commit. Make sure to at least have a `NEWS' entry for this.

Re: [Guile-commits] GNU Guile branch, syncase-in-boot-9, updated. 6a952e0ee9093424cdc8f300406d09ce195ebf5c

2009-04-30 Thread Andy Wingo
Hi, On Thu 30 Apr 2009 12:32, l...@gnu.org (Ludovic Courtès) writes: Andy Wingo wi...@pobox.com writes: * module/ice-9/boot-9.scm (and-map, or-map): Move these definitions up so psyntax can use them. (andmap): Remove, yay. I'm not sure how the latter relates to the rest of

Re: [Guile-commits] GNU Guile branch, syncase-in-boot-9, updated. 3d5f3091e100550052abc698e980b3e86cc01b65

2009-04-30 Thread Andy Wingo
Hi, On Thu 30 Apr 2009 12:30, l...@gnu.org (Ludovic Courtès) writes: Andy Wingo wi...@pobox.com writes: * libguile/macros.h: Add API for syncase macros. Perhaps these should be made `SCM_INTERNAL'? The functions should probably be public, as they are public to Scheme. The

syncase in boot-9

2009-04-24 Thread Andy Wingo
Hello all, A brief note. I have syncase in boot-9, with define-macro implemented in terms of syntax-case. This work can be found on the syncase-in-boot-9 branch. It's not quite ready yet, as there are some Scheme bits that still don't compile. I had to add docstring support to psyntax