[plt-scheme] Scheme server pages
Hi, I want to use embed a bit of server-side Scheme on my HTML pages.
So far I threw together a translator to let me write this:
<html>
<body>
<p><scheme> (string-append "Hello" " " "world") </scheme>
User is: <scheme>user</scheme>
</p>
<p> Now testing map... </p>
<p> Files in the current directory:
<ul>
<scheme-splice> (map (lambda (file-path)
<li><scheme>(path->string file-path))</scheme></li>
(directory-list))</scheme-splice>
</ul>
</p>
</body>
</html>
but I was wondering if someone already did this, in which case I'll
throw away my reinvented wheel...
Daniel