Re: Guile 2.0.6 - some tests fail

2012-10-16 Thread Ludovic Courtès
Hi Jan, Jan Synacek skribis: > Running ftw.test > ERROR: ftw.test: file-system-fold: test-suite - arguments: ((match-error > "match" "no matching pattern")) > > ;;; (never-enter ((error "/test-suite"))) > FAIL: ftw.test: file-system-fold: test-suite (never enter) > > ;;; (flat ((error "/test-su

Re: Needed: per-port reader options

2012-10-16 Thread Ludovic Courtès
Hi, Mark H Weaver skribis: > I recently tried to implement reader directives, e.g.: > > #!fold-case (from R7RS) > #!no-fold-case (from R7RS) > #!curly-infix (from SRFI-105) > > However, I ran into a rather serious problem. Guile's reader options > are global to the entire process,

Re: [PATCH] Implement SRFI-105 curly infix expressions.

2012-10-16 Thread Ludovic Courtès
Hi! My understanding was that the sweet-expressions folks already had something, no? And there as also this preliminary patch: http://lists.gnu.org/archive/html/guile-devel/2012-03/msg00129.html What about applying first, then one above, then anything beyond? Ludo’.

Re: [PATCH] Implement per-port reader options and #!fold-case

2012-10-16 Thread Ludovic Courtès
Hi, Mark H Weaver skribis: > From 005465769504c4173f3469d7d3958bb0945d1e3b Mon Sep 17 00:00:00 2001 > From: Mark H Weaver > Date: Sat, 13 Oct 2012 20:28:27 -0400 > Subject: [PATCH 1/3] Improve formatting of options help given long option > names > > * module/ice-9/boot-9.scm (define-option-int

Re: Needed: per-port reader options

2012-10-16 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Mark H Weaver skribis: > >> I recently tried to implement reader directives, e.g.: >> >> #!fold-case (from R7RS) >> #!no-fold-case (from R7RS) >> #!curly-infix (from SRFI-105) >> >> However, I ran into a rather serious problem. Guile's reader

Re: [PATCH] Implement SRFI-105 curly infix expressions.

2012-10-16 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > My understanding was that the sweet-expressions folks already had > something, no? The implementation they have (which they call a "demo") reimplements the entire reader from scratch. There are several problems with this, the worst of which is that it stro

Re: Needed: per-port reader options

2012-10-16 Thread Ludovic Courtès
Hi Mark, Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: >> Mark H Weaver skribis: >> >>> I recently tried to implement reader directives, e.g.: >>> >>> #!fold-case (from R7RS) >>> #!no-fold-case (from R7RS) >>> #!curly-infix (from SRFI-105) >>> >>> However, I ran i

Re: Needed: per-port reader options

2012-10-16 Thread Noah Lavine
Hello, On Tue, Oct 16, 2012 at 5:39 PM, Ludovic Courtès wrote: > I think ‘current-reader’ should remove the need to have a port-to-reader > mapping, no? > > Thanks for looking into this! > > Ludo’. > I might not understand this correctly, but aren't the reader flags only supposed to affect the s

Re: Needed: per-port reader options

2012-10-16 Thread Ludovic Courtès
Hi Noah, Noah Lavine skribis: > I might not understand this correctly, but aren't the reader flags > only supposed to affect the specific file they're reading from? That's > why we need a different set of reader options for each port. Of > course, there could be one global reader that has a > po

Re: Needed: per-port reader options

2012-10-16 Thread Mark H Weaver
Hi Ludovic! l...@gnu.org (Ludovic Courtès) writes: > Mark H Weaver skribis: >> l...@gnu.org (Ludovic Courtès) writes: >>> Mark H Weaver skribis: >>> I recently tried to implement reader directives, e.g.: #!fold-case (from R7RS) #!no-fold-case (from R7RS) #!cur

Re: Guile 2.0.6 - some tests fail

2012-10-16 Thread Jan Synacek
Hello Ludovic, On 10/16/2012 04:28 PM, Ludovic Courtès wrote: > Hi Jan, > > Jan Synacek skribis: > >> Running ftw.test >> ERROR: ftw.test: file-system-fold: test-suite - arguments: ((match-error >> "match" "no matching pattern")) >> >> ;;; (never-enter ((error "/test-suite"))) >> FAIL: ftw.tes