Re: read-all ?

2013-01-12 Thread Ludovic Courtès
Hi! Andy Wingo skribis: > I find myself writing (read-delimited "" p) to slurp in a file as a > string, but it's not a very straightforward way to say that. > > What about `read-all'? We could add it to `(ice-9 rdelim)', I guess. > R6RS calls this `read-string-all'. Sounds like a good idea. (

Re: [PATCH] Colorized REPL

2013-01-12 Thread Ludovic Courtès
Hi Daniel, Daniel Hartwig skribis: > On 11 January 2013 22:33, Ludovic Courtès wrote: [...] >> I still think that using a disjoint type for >> colors would be better than symbols. > > These are arbitrary control codes and can be applied in any > combination. Essentially, the best you can do

Re: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-25-g990b11c

2013-01-12 Thread Ludovic Courtès
Hi! Mark H Weaver skribis: > FWIW, I agree with Andy that it would be good to support texinfo markup > in docstrings. At present, the docstrings for procedures implemented in > C are much nicer looking than the Scheme ones. Hmm, they just look the same since they are already rendered. > I've

read-all ?

2013-01-12 Thread Andy Wingo
I find myself writing (read-delimited "" p) to slurp in a file as a string, but it's not a very straightforward way to say that. What about `read-all'? We could add it to `(ice-9 rdelim)', I guess. R6RS calls this `read-string-all'. Thoughts? Andy -- http://wingolog.org/

Re: [PATCH] Colorized REPL

2013-01-12 Thread Noah Lavine
Hello, On Fri, Jan 11, 2013 at 6:26 PM, Ludovic Courtès wrote: > Hello, > > > I know that supporting other peoples' r6rs programs is also a reason, > but I > > think that Guile should be able to use the libraries it itself > > bundles. > > I agree in general, yes. But when the run-time footpri

Re: Guile Lua

2013-01-12 Thread Nala Ginrut
On Sat, 2013-01-12 at 09:37 -0500, Noah Lavine wrote: > I sent an email about that, but it was only an idea. I thought it > would be nice if we could work with the Clisp people. However, I can > see some barriers to actually doing that, and I don't intend to work > on it any time soon. > Thanks fo

Collecting suggestions of Guildhall

2013-01-12 Thread Nala Ginrut
Hi folks! We'd like to start up guildhall.gnu.org, which is a guilers community MAYBE based on savannah to let you guys share/fetch Guile packages. Just like rubygems.org does. ;-) Since savannah provides many VCS-systems: CVS/subversion/GNU Arch/Mercurial/Bazaar, guilers may choose their favorite

Re: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.7-25-g990b11c

2013-01-12 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: >> Incidentally, it would be nice to start using texinfo in docstrings, and >> use (texinfo serialize) to render them. > > That’d be ideal, but I wonder whether there are tools around that would > end up displaying raw Texinfo, such as a

Re: Guile API for foreign languages: proposing SCM scm_list_0(void)

2013-01-12 Thread Andy Wingo
Hi Alexei, On Mon 02 Jul 2012 13:11, Alexei Matveev writes: > To raise this question again: I ended up with a wrapper > function for a Fortran project equivalent to the scm_list_0() > quoted below. The reason is accessing macros from languages > other than C is cumbersome. > > Contrary to scm_fr

Re: Guile Lua

2013-01-12 Thread Noah Lavine
I sent an email about that, but it was only an idea. I thought it would be nice if we could work with the Clisp people. However, I can see some barriers to actually doing that, and I don't intend to work on it any time soon. Noah On Sat, Jan 12, 2013 at 3:43 AM, Nala Ginrut wrote: > On Wed, 20

Re: digest modules (was [PATCH] md5: fix errors when input size modulo 64 is > 55 bytes)

2013-01-12 Thread Nala Ginrut
On Sat, 2013-01-12 at 16:46 +0800, Daniel Hartwig wrote: > On 12 January 2013 16:35, Nala Ginrut wrote: > > I suggest add a 'digest' module implemented in C code in Guile to > > provide common see 'digest algorithm', since these things are very > > useful nowadays. I believe they should be in ice-

Re: [PATCH] Colorized REPL

2013-01-12 Thread Nala Ginrut
hi Daniel & Ludo! === ** Here are the changes: 1. Use srfi-9 record & fields comment But I still like r6rs record, since it's less code to write. The only good point for me is easy to comment each field. ;-P 2. Fix function define convention I'm not aware of that, but are

Re: digest modules (was [PATCH] md5: fix errors when input size modulo 64 is > 55 bytes)

2013-01-12 Thread Daniel Hartwig
On 12 January 2013 16:35, Nala Ginrut wrote: > I suggest add a 'digest' module implemented in C code in Guile to > provide common see 'digest algorithm', since these things are very > useful nowadays. I believe they should be in ice-9. Like Ruby does. > I've started a project guile-digest. I'll se

Re: Guile Lua

2013-01-12 Thread Nala Ginrut
On Wed, 2012-11-21 at 16:51 +0100, Stefan Israelsson Tampe wrote: > Hi, > > In terms of strategy, I think Guile’s focus should remain primarily > on > > Scheme variants, and ELisp. Other language front-ends are of course > > welcome, but we must keep an eye on what the demand is. > > What about c

Re: [PATCH] md5: fix errors when input size modulo 64 is > 55 bytes

2013-01-12 Thread Nala Ginrut
On Sat, 2013-01-12 at 14:56 +0800, Daniel Hartwig wrote: > On 12 January 2013 14:43, Daniel Hartwig wrote: > > > > Originally reported as . > > > > Triggered when input has size modulo 64 is 56–63 bytes. > > > > scheme@(guile-user)> (use-modules (md5)) > > … from gu