Re: build-lexical-var vs. -Wunused-variable

2012-02-22 Thread Mark H Weaver
Andy Wingo writes: > On Fri 17 Feb 2012 12:00, l...@gnu.org (Ludovic Courtès) writes: > >> Commit f9685f437312ea790981373ddc375b2a26ba9c4f changes >> ‘build-lexical-var’ like this: >> >> (define-syntax-rule (build-lexical-var src id) >> - (gensym (string-append (symbol->string id) " ")))

[PATCH] tree-il->scheme: avoid gensyms and begin; use cond, and, or, and let*

2012-02-22 Thread Mark H Weaver
Hello all, Here's a preliminary patch that greatly improves our 'tree-il->scheme' decompiler. With this patch, psyntax-pp.scm is now less than half of its previous size (over 800 kilobytes saved), and is _far_ more readable. In almost all cases the original source identifiers are used instead of

Re: TODO list for Guile R7RS support

2012-02-22 Thread Alex Shinn
On Thu, Feb 23, 2012 at 7:06 AM, Andy Wingo wrote: > >> * datum labels for circular and shared substructures > > Yes! Note this is one thing a reference implementation will be provided for. >> * nan? and finite? now accept complex numbers >>   (should probably change inf? and infinite? as well)

Re: TODO list for Guile R7RS support

2012-02-22 Thread Andy Wingo
Hi Mark! Hope all is well. I'm behind as usual. Just an additional perspective here. On Thu 09 Feb 2012 06:09, Mark H Weaver writes: > R7RS TODO I think you probably agree, but we should be clear about it in any case: the current drafts are not final. I look forward to R7RS being a report t

Re: TODO list for Guile R7RS support

2012-02-22 Thread Andy Wingo
Hi, On Thu 16 Feb 2012 22:05, l...@gnu.org (Ludovic Courtès) writes: > I’m actually arguing that these feature symbols are largely useless, for > they cannot be rigorously specified and would almost certainly lead to > misuses. I very much agree. I think that the R7RS should specify no features

Re: wip-threads-and-fork

2012-02-22 Thread Andy Wingo
Hi all, An update on this issue. For context: On Wed 08 Feb 2012 23:10, Andy Wingo writes: > I was testing out the threaded web server and it was working well. Then > I tried it out with tekuti, a blog engine that uses git as the backend. > It uses (ice-9 popen) to talk to the git binaries.

Re: manual examples - self contained or not?

2012-02-22 Thread Ludovic Courtès
Hi Ian, Ian Price skribis: > Some manual examples, however, do include imports > https://www.gnu.org/software/guile/manual/html_node/Hash-Table-Reference.html > includes srfis 1 and 13. An example in > https://www.gnu.org/software/guile/manual/html_node/Dynamic-FFI.html > includes (rnrs bytevec

Re: Dotted pair call argument

2012-02-22 Thread David Kastrup
Mark H Weaver writes: > David Kastrup writes: > >>> Scheme has a very useful property which your proposed syntax would >>> destroy: any valid expression can be substituted for any other valid >>> expression, and the result has the same meaning except for the >>> substitution. >> >> guile> (displ