Stackless python and microthreads

Michele Simionato michele.simionato at poste.it
Sun May 16 00:41:22 EDT 2004


Valentino Volonghi aka Dialtone <dialton3#NOSPAM#.despammed at virgilio.it> wrote in message news:<87oeopl44w.fsf at vercingetorix.caesar.org>...
> Hi Michele :).
> 
> If all you need is s-expr you maybe can look at Nevow (pronounced
> 'nuevo'), which is the new web toolkit built on top of twisted.web.
> 
> It has a template syntax that is similar to ZPT.
> 
> And it has stan which is an s-expr-like syntax.
> 
> Here is a little helloworld example:
> 
>     docFactory = rend.stan(
>         T.html[
>             T.head[
>                 T.title['Hello'],
>                 ],
>             T.body[
>                 T.p['Welcome to the wonderful world of Nevow!'],
>                 ],
>             ]
>         )

Interesting. But I have to check which facilities it provides to manipulate
s-expressions; if I was in a pervers mood, I could even generate nevow s-
expressions from Scheme ;)

        Michele



More information about the Python-list mailing list