What a mess of fractured syntax - just shows to go what happens when you tke more than 5 hours to write an email. The code I included has been tested on Gambit 4.0.1 and works. There were 2 portability issues: CALL-WITH-OUTPUT-STRING and EVAL. Unfortunately  the CALL-WITH-OUTPUT-STRING issue is solved rather brutishly by redefining it to a form that is more widely compatible across existing Scheme implementations. The EVAL portability issue was able to be handled in a way that does not affect any other code.
<br><br>I am still working on a cleaner version of the entire system, but I thought I should make more clear what I had actually posted.<br><br>- drr<br><br><div class="gmail_quote">On Nov 12, 2007 12:39 PM, David Rush <
<a href="mailto:kumoyuki@gmail.com">kumoyuki@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
On Nov 11, 2007 6:04 PM, Adrien Pierard <<a href="mailto:pierarda@iro.umontreal.ca" target="_blank">pierarda@iro.umontreal.ca</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">


On Tue, Nov 06, 2007 at 11:16:36AM -0800, <a href="mailto:jonnay@jonnay.net" target="_blank">jonnay@jonnay.net</a> wrote :<br></div><div class="Ih2E3d">Would it be possible to have someone develop a webserver which would
<br>accept SXML instead on HTML to describe content of webpages ?
</div></blockquote><div><br>I have an s-expression based template system which should work on any R5RS Scheme. Unfortunately I have not yet completed testing it on Gambit, but I am posting it here anyway, since I said I would earlier. I actually have rather more of a framework available, but I just haven't yet finished porting and checking everything.
Additionally, there is a certain amount of dead weight (like 6KLOC) code in the package as I am sending it due to library dependencies - mainly on SRFIs, but also on some of my private libraries (primarily an Aho-Corasick multi-pattern string matcher which is overkill here, but since it works it saved me some time writing a lighter weight parser).  I am working towards a trimmed down version, but I thought I should get this out sooner rather than later.
<br><br>In addition to the original source modules (2 files, eval-code.s2 and template.s2), there are also a few test data files and a test harness program in the tarball. There is no documentation. I hope that y'all might find it useful anyway.
<br><br></div></div><div><div></div><div class="Wj3C7c">david rush<br>-- <br>Once you label me, you negate me<br>    - Soren Kierkegaard
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Once you label me, you negate me<br>    - Soren Kierkegaard