PS-HTML is indeed what I wanted, or almost (see below). I'm glad this
discussion came up. By the way, the documentation page you linked
to, which I hadn't looked at in a long time, is very nice.
I pushed two small patches to the repository to make PS-HTML do
what we need:
1. Use the string-buffer-join technique for concatenating HTML at
runtime, since the + operator is notoriously slow when the strings
aren't small, at least in older browsers.
2. Expanded the amount of compile-time constant folding of strings
that PS-HTML is able to do. For example, if you give it a character,
or an expression that macroexpands to a string, these are now joined
in with the string literals PS-HTML emits. Apart from reducing the
amount of joining needed at runtime, this makes the emitted HTML
more readable.
If either of these strikes anyone as inappropriate, speak up so we
can figure it out together.
I'm glad we had this discussion. I did not want to write yet another
sexp-html library.
Daniel
On Sun, Jun 20, 2010 at 1:41 PM, Daniel Gackle
<danielgackle@gmail.com> wrote:
<Or am I being dumb and you're talking about something else? >
Not at all, I forgot about it. I think it didn't do what I wanted way
back when, but I'll check it out again and report back. Thanks for
reminding me.