[sugar] Education?

Antoine van Gelder hummingbird
Mon Mar 12 02:56:25 EDT 2007


Andrew Clunis wrote:
> Antoine van Gelder wrote:
>> Don Hopkins wrote:
>>> Of course it might just be more powerful and efficient to re-implement
>>> something like Klik-and-Play from scratch in Python, as a plug-in
>>> visual scripting component, which can be used to script a
>>> HyperCard-like gui environment, and games built on top of it like
>>> SimCity and Robot Odyssey.
>>
>> Anyone know the current status of being able to turn an AST tree emitted
>> by the Python compiler module back into code after it has been modified ?
> 
> I've been looking into this for Develop activity, but it seems that path
> has never been explored.  Best approach seems to be to write a
> pretty-printer to walk the tree.


*nod* - came across another example here:

http://codespeak.net/svn/user/mwh/pydoctor/trunk/pydoctor/ast_pp.py

Comments are still an unresolved issue with all of this.

  - antoine




More information about the Sugar-devel mailing list