[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: potluck saturday!
From: |
Aleix Conchillo Flaqué |
Subject: |
Re: potluck saturday! |
Date: |
Fri, 15 Feb 2013 10:57:06 -0800 |
On Fri, Feb 15, 2013 at 12:28 AM, Andy Wingo <address@hidden> wrote:
>
> The mailing list sounds good to me, then someone can pull them together
> for the article on planet gnu (through the savannah news feed).
>
Not sure if this is what you wanted. These are the only two things
I've done this month.
They are not programs though...
===
http://github.com/aconchillo/guile-json
guile-json parses JSON documents according to the http://json.org
specification. It also allows creating JSON documents dynamically:
$ (define doc (json (object ("foo" (array 1 2 3))
("bar" "try Guile!"))))
and pretty print them:
$ (scm->json doc #:pretty #t)
{
"foo" : [1, 2, 3],
"bar" : "try Guile!"
}
===
http://github.com/aconchillo/guile-xmlrpc
guile-xmlrpc combines sxml with some macros and procedures that
simplifies the creation and parsing of XMLRPC documents.
A client can generate a request very easily:
(sxmlrpc (request 'Hello "Guile"))
And the server can also easily build a response:
(sxmlrpc (response "Hello!"))