Fw: [Python-Dev] anonymous blocks

Ben.Young at risk.sungard.com Ben.Young at risk.sungard.com
Thu Apr 21 10:15:10 CEST 2005


Reply to Michael Sparks ...
>

Thats very bizzare! I've done almost exactly the same thing, though in may 
case I was playing around with a python-like language.

In my language, code uses "ast  literals" to allow things like class 
:foo(bar): suite to be handled programmatically within the language. This 
can be used to implement anonymous blocks.

If anyone is interested I've attached the files. Use them for whatever 
purpose you want:



Run frameparser for an example. Sorry about the code quality. I hadn't 
intended to release it to anyone yet!

Cheers,
Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: frame.zip
Type: application/zip
Size: 6856 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20050421/f232a821/frame.zip


More information about the Python-Dev mailing list