From: Roland Orre <roland.orre@neurologic.se>
Subject: Urgent need for solution: guile to serve the web (+ python?)
Date: Sat, 02 Apr 2005 14:59:48 +0200 [thread overview]
Message-ID: <1112446788.2703.62.camel@localhost> (raw)
My problem: I have invested a lot of development using the guile API
and am now in urgent need to interface my software with the web.
In python I can easily define a web server to serve my needs
(simple GET and POST including cookie handling and file transfers).
I've set up such a server using examples I found in half an hour.
The easiest now would be to make such a server in guile, but I have
searched for such a server but haven't found anything, does anyone
have any hint about such a solution?
Is there any other way? Like including guile in the apache server.
What is essential is that the guile process with its memory
resident data bases and such is active all the time. I don't
know how to do such a thing with apache though (hints?)
I also need an XML parser, the python xml.sax worked very smoothly
but I guess I may be able to do the same using the SSAX module,
even though there exists no books like "O'Reilly Python & XML"...
which made me implement the XML-processor very quick, but here
I guess I can find examples on the web.
The ideal solution as I see it, would be to include guile as a
module to python, so I can do something like
import guile
guile.load("myfile")
guile.eval("(use-modules (bcpnn))")
guile.repl()
etc...
Any hints? If someone has a working webserver in guile serving
GET, POST, cookies, and file transfers, and want to share that
I would become tremendously happy.
I have worked with scheme programming for 14 years (scm + guile)
but consider python to be the ideal scripting language, on the
other hand I love the scheme style (and I have a lot of C-code
written using guile API).
Ideally python and guile would share the internal data structures
as they fundamentally are using similar type systems, so it shouldn't
be that much of a problem. Anyone having ideas in this direction?
Best regards
Roland
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next reply other threads:[~2005-04-02 12:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-02 12:59 Roland Orre [this message]
2005-04-02 14:52 ` Urgent need for solution: guile to serve the web (+ python?) Andreas Rottmann
2005-04-02 17:36 ` Julian Graham
2005-04-02 18:32 ` Thien-Thi Nguyen
2005-04-02 20:06 ` Roland Orre
2005-04-02 23:35 ` Thien-Thi Nguyen
[not found] <200504021331.j32DViTI020852@conch.msen.com>
2005-04-02 17:47 ` Alan Grover
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1112446788.2703.62.camel@localhost \
--to=roland.orre@neurologic.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).