Re: mod_lisp support for guile-www

2010-06-17 Thread Thien-Thi Nguyen
() Neil Jerram () Sun, 07 Mar 2010 23:00:13 + I'm working on a project that needs a web data server, and I'd like to use Apache + mod_lisp + Guile for that. [extending Guile-WWW: background, rationale, etc] [patch] I'd like to add this support to Guile-WWW. Has there been any

Re: Converting s-expressions to XML

2010-06-17 Thread Thien-Thi Nguyen
() "d...@mac.com" () Thu, 17 Jun 2010 15:21:08 -0400 (with-xml-tag 'em (make-raw "A Better Way")) yields A Better Way See also ‘peel’ and ‘expand’ in module (ttn-do zzz publishing): http://www.gnuvola.org/software/ttn-do/ttn-do.html.gz#zzz-publishing Module (ttn-do zzz xhtml-tree) uses ‘expa

Re: Converting s-expressions to XML

2010-06-17 Thread dsmich
Josef Wolf wrote: > Hello, > > I am trying to write a (simple) function to convert s-expressions to XML. Guile 1.9/2.x has sxml modules. So (use-modules (sxml simple)) (define (sexp->xml s) (sxml->xml s)) Ought to get you pretty close. (untested) -Dale

Re: Converting s-expressions to XML

2010-06-17 Thread dsmich
Josef Wolf wrote: > Hello, > > I am trying to write a (simple) function to convert s-expressions to XML. Guile 1.9/2.x has sxml modules. So (use-modules (sxml simple)) (define (sexp->xml s) (sxml->xml s)) Ought to get you pretty close. (untested) -Dale

Re: Converting s-expressions to XML

2010-06-17 Thread d...@mac.com
Here's an excerpt from my sexp to XML interface for Proverb: Generating XML in Scheme Proverb lets you generate and present XML-valued objects from Scheme with little fuss. The most crude interface is the procedure make-raw . This procedure is called with a valid XML fragment as a string an

[ANN] NLopt, a nonlinear optimization library, now with Guile interface

2010-06-17 Thread Steven G. Johnson
The NLopt library, available from http://ab-initio.mit.edu/nlopt provides a common interface for a large number of algorithms for both global and local nonlinear optimizations, both with and without gradient information, and including both bound constraints and nonlinear equality/inequal

Converting s-expressions to XML

2010-06-17 Thread Josef Wolf
Hello, I am trying to write a (simple) function to convert s-expressions to XML. I've come up with following function, which (somehow) works: (use-modules (ice-9 rdelim)) (use-modules (ice-9 pretty-print)) (define atom? (lambda (x) (and (not (pair? x)) (not (null? x) (

Re: Can guile scripts be compiled?

2010-06-17 Thread Cecil Westerhof
Op woensdag 16 jun 2010 17:42 CEST schreef No Itisnt: >> I just found out about guile. I am thinking about using it for >> scripting. Because of this I was wondering if guile scripts can be >> compiled for faster executing? > > Guile was not compiled until recently. Most distributions only have up

Re: [r6rs] quest to make the makers package work

2010-06-17 Thread Marco Maggi
"Andy Wingo" wrote: > Interesting test. So, with current git it does run, but > fails with: > > ERROR: In procedure string-ref: > ERROR: Wrong type argument in position 1 (expecting string): # With commit a4082ab57e81c1826906c1a8601593e8dea5078c I get, running twice "make gtest" after cleanin