Where are the guile libraries?
I'm a newbie so please be gentle. Suppose I want to write a substantial program in guile. Where can I find the "batteries"? For example, I want to read and write Berkeley DB files (or any simple persistent hash format). Do I really have to write my own code for that? I see that there used to be a guile-db package in Debian, but it depended in guile 1.6 which was some time ago :-) And anyway it is gone from current stable and testing, and there's no upstream link for me to follow and check if it's any good for current guile. And this is just one example. JSON, YAML, RFC 822 parsing, etc. Basically all the stuff that's in Python standard library. Note I'm _not_ complaining that's guile doesn't bundle it like Python does. I'm asking if it exists, anywhere, at all, possibly in small pieces, but ready to be reused. -- Please *no* private copies of mailing list or newsgroup messages. Rule 420: All persons more than eight miles high to leave the court.
Re: Where are the guile libraries?
Am Freitag, 28. August 2015, 12:31:45 schrieb Ian Zimmerman: > I'm asking if it exists, anywhere, at all, possibly in small pieces, > but ready to be reused. Disclaimer: The following is just my limited knowledge. Some Batteries are in the Guildhall: https://github.com/ijp/guildhall Some might be packaged in Guix: http://gnu.org/s/guix (you can install and use Guix as simple user) Others are the SRFIs: http://srfi.schemers.org/final-srfis.html They aren’t directly visible, but you can get many of them with (use-modules (srfi srfi-N)) ; with N the SRFI number. And some more are mentioned on IRC (#guile @ irc.freenode.net)¹ and summarily not documented. Many of these can be found on Github. ¹: https://webchat.freenode.net/?randomnick=1&channels=guile Best wishes, Arne -- Ich hab' nichts zu verbergen – hab ich gedacht: - http://draketo.de/licht/lieder/ich-hab-nichts-zu-verbergen signature.asc Description: This is a digitally signed message part.
Re: Where are the guile libraries?
Le 2015-08-28 21:31, Ian Zimmerman a écrit : I'm a newbie so please be gentle. Héllo Ian! Suppose I want to write a substantial program in guile. Where can I find the "batteries"? It depends of what you mean by batteries. bsddb is not part of Python as of Python 3. For example, I want to read and write Berkeley DB files (or any simple persistent hash format). Do I really have to write my own code for that? Regarding Berkeley DB there is no bindings for it. But there is for gdbm [1] and wiredtiger [2]. Wiredtiger is similar to bsddb but faster. I've done those bindings recently I don't use it in real applications. But I will fix any bug you find and help you get it running. There is an example database build on top wiredtiger in the repository. [1] https://github.com/ijp/guile-gdbm [2] https://git.framasoft.org/a-guile-mind/guile-wiredtiger I see that there used to be a guile-db package in Debian, but it depended in guile 1.6 which was some time ago :-) And anyway it is gone from current stable and testing, and there's no upstream link for me to follow and check if it's any good for current guile. And this is just one example. JSON, YAML, RFC 822 parsing, etc. Basically all the stuff that's in Python standard library. There a json library somewhere on github. Note I'm _not_ complaining that's guile doesn't bundle it like Python does. It seems like you are complaining :) I'm asking if it exists, anywhere, at all, possibly in small pieces, but ready to be reused. I can't help you further, without more precise request. -- Amirouche ~ amz3 ~ http://www.hyperdev.fr
Re: Where are the guile libraries?
On 2015-08-29 00:15 +0200, Arne Babenhauserheide wrote: > Some Batteries are in the Guildhall: https://github.com/ijp/guildhall That sounds a lot like what I was looking for, thanks. I cloned it and built it. However, I'm confused how it is supposed to work, because I have no "guild" exacutable, and none is built or installed by make, just guile modules. -- Please *no* private copies of mailing list or newsgroup messages. Rule 420: All persons more than eight miles high to leave the court.