Re: Neat hacks for a birthday

2012-02-10 Thread Ludovic Courtès
Hi! Nala Ginrut skribis: > The easy way is to write a loadable builtin command for Bash which can do > the simple Scheme evaluation work with Guile core. And I finished it: git:// > gitorious.org/nacre/big.git > PS: 'BIG' for Bash Inner Guile Excellent. :-) [...] > It's so easy that almost u

Re: Some I/O Questions

2012-02-10 Thread Ian Price
Luiji Maryo writes: > Hello, > > I have some questions regarding Guile I/O and byte order. If you are dealing with binary data, you should be using bytevectors and binary ports, rather than strings. > 1. Is there an I/O function for reading a fixed set of bytes into a > buffer, i.e. if I wanted

Some I/O Questions

2012-02-10 Thread Luiji Maryo
Hello, I have some questions regarding Guile I/O and byte order. 1. Is there an I/O function for reading a fixed set of bytes into a buffer, i.e. if I wanted to read a 56-byte string from a binary archive? 2. Is there a way to specifically read a 8/16/32/64-bit string from a file/port? 3. Is ther

Re: Neat hacks for a birthday

2012-02-10 Thread Atom X
l...@gnu.org (Ludovic Courtès) writes: > Hello Guilers! > > Next week, on February 16th, is the first anniversary of Guile 2.0! > “… [A]nd from the shimmering lake of parens rose a Scheme, small yet strong, bestowing upon the righteous the gift of Elegance and the power to tame the mighty beast k

Re: Neat hacks for a birthday

2012-02-10 Thread Nala Ginrut
On Thu, Feb 9, 2012 at 9:38 AM, Ian Price wrote: > l...@gnu.org (Ludovic Courtès) writes: > > > So, here’s a suggestion: let’s write neat hacks that integrate Guile > > with some other piece of software, preferably GNU packages. Examples > > include extending GCC or GDB extension in Guile, work

Re: Neat hacks for a birthday

2012-02-10 Thread Nala Ginrut
Well done! Since you mentioned GPG, I recall that I've wrote libgcrypt-guile last year. It's here git://gitorious.org/nacre/libgcrypt-guile.git But I just did the Message Digest Algorithm part, because I need md5 at that time. Then I thrown it to the corner... Anyway, I think it's useful for some g

Re: Neat hacks for a birthday

2012-02-10 Thread Atom X
l...@gnu.org (Ludovic Courtès) writes: > Hello Guilers! > > Next week, on February 16th, is the first anniversary of Guile 2.0! > “… [A]nd from the shimmering lake of parens rose a Scheme, small yet strong, bestowing upon the righteous the gift of Elegance and the power to tame the mighty beast k