Re: scheme -> (X)HTML

2008-07-03 Thread Neil Jerram
2008/6/21 Sebastian Tennant <[EMAIL PROTECTED]>: > > Out of pure curiosity, whats the significance of '31' in the make-module > call in process-template? I believe it's the initial size of the module's hash table for storing bindings (from identifiers to variable locations). (I believe that prime

Re: scheme -> (X)HTML

2008-06-21 Thread Sebastian Tennant
Quoth "Neil Jerram" <[EMAIL PROTECTED]>: > OK, I've checked now, and it appears that the code already posted is > the most up to date that I have. Noted. >> guile> (process-template "/path/to/version.html" ((foo 'bar)) (ice-9 rdelim)) >> [...] >> :1:1: Unbound variable: begin >> ABORT: (unbound-v

Re: scheme -> (X)HTML

2008-06-16 Thread Neil Jerram
2008/6/13 Sebastian Tennant <[EMAIL PROTECTED]>: > Neil Jerram <[EMAIL PROTECTED]> writes: >> As a further option, please see attached [template.scm]. If you're >> interested in this, please let me know, because I may have a more up >> to date version somewhere. > > I'd be interested in getting ho

Re: scheme -> (X)HTML

2008-06-13 Thread Sebastian Tennant
Neil Jerram <[EMAIL PROTECTED]> writes: > As a further option, please see attached [template.scm]. If you're > interested in this, please let me know, because I may have a more up > to date version somewhere. I'd be interested in getting hold of the latest version of template.scm as it does exact

Re: scheme -> (X)HTML

2008-04-02 Thread Thien-Thi Nguyen
Another way is to use modules (ttn-do zzz xhtml-tree)[0] and (ttn-do zzz publishing)[1]. All of gnuvola's html, modulo texinfo output, is rendered that way. Likewise, the servers grumi[2] and sizzweb[3] compose using those modules. Same idea as the others proposed, different dependencies. thi

Re: scheme -> (X)HTML

2008-03-31 Thread Francesco Salvestrini
Hi Paul, Sorry for bothering you off the list but I've hit some troubles with guile mailing lists lately so I'm writing to you directly. There's a package I've put on savannah that uses SXML (via guile) in order to build HTML. Maybe it could be of some help to you. This is its main URL:

Re: scheme -> (X)HTML

2008-03-31 Thread Paul Emsley
Julian Graham wrote: On Tue, Mar 25, 2008 at 3:37 PM, Paul Emsley <[EMAIL PROTECTED]> wrote: Dear Guilers, I have in mind to write a little script that makes a web page about the state of various files. I'd like to use some schemey way of doing this. s-expression -> HTML perhaps.

Re: scheme -> (X)HTML

2008-03-25 Thread Francesco Salvestrini
Hi Paul, On Tuesday 25 March 2008, Paul Emsley wrote: > Dear Guilers, > > I have in mind to write a little script that makes a web page about the > state of various files. > > I'd like to use some schemey way of doing this. s-expression -> HTML > perhaps. Links that could be useful: http://en.w

Re: scheme -> (X)HTML

2008-03-25 Thread Neil Jerram
"Julian Graham" <[EMAIL PROTECTED]> writes: > Hi Paul, > > There are several good tools out there for doing this: Oleg Kiselyov > has written a Scheme-based port of SAX called SSAX [1] that can read > and emit S-expressions in a format he calls SXML. It's available for > Guile as part of Andy Win

Re: scheme -> (X)HTML

2008-03-25 Thread Julian Graham
Hi Paul, There are several good tools out there for doing this: Oleg Kiselyov has written a Scheme-based port of SAX called SSAX [1] that can read and emit S-expressions in a format he calls SXML. It's available for Guile as part of Andy Wingo's guile-lib [2]. For permissive HTML parsing, Neil V

scheme -> (X)HTML

2008-03-25 Thread Paul Emsley
Dear Guilers, I have in mind to write a little script that makes a web page about the state of various files. I'd like to use some schemey way of doing this. s-expression -> HTML perhaps. What is the thinking guile-user's way of approaching this? Cheers, Paul.