I randomly scribbled : > Mark Dufour wrote: > >> This >> latest release adds basic support for iterators and generators > > Oooh, I may try our miniaxon tutorial against shed skin in that case. > (ie http://kamaelia.sourceforge.net/MiniAxon/)
I thought some people may be interested to hear that I did do this, and whilst ShedSkin does have some limitations, and needs one piece of manual assistance, Shed Skin *can* compile a Kamaelia Mini-Axon. A Kamaelia Mini-Axon is something we use for teaching how a Kamaelia core can be created, but still features the core message passing, compositional nature of Kamaelia. It's essentially the smallest sufficient subset. Personally I think ShedSkin is pretty spectacular for being able to do this, and also generate highly readable C++ code as a result. The code it compiles to C++, the thing I had to manually assist shedskin with, & the code shed skin generates for that are attached on this page: http://yeoldeclue.com/cgi-bin/blog/blog.cgi?rm=viewpost&nodeid=1172157410 I was half expecting as I went through doing this that this would fail at some point, but for me this is a relatively complex, relatively substantial system that *does* compile. (It also shows me that Kamaelia's approach is implementable in C++ beyond a naive approach, which is a nice bonus :) Shedskin home: http://mark.dufour.googlepages.com Many congrats to Mark on this :-) Michael. -- Kamaelia Project Lead http://kamaelia.sourceforge.net/Home http://yeoldeclue.com/blog -- http://mail.python.org/mailman/listinfo/python-list