[plt-scheme] Scheme server pages

From: Robby Findler (robby at cs.uchicago.edu)
Date: Fri Dec 24 12:21:55 EST 2004

You can use XML boxes and run your script with mred -qr instead of 
mzscheme -qr.

Robby

On Dec 24, 2004, at 11:10 AM, Daniel Pinto de Mello e Silva wrote:

>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> 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
>
>



Posted on the users mailing list.