On Fri, Oct 24, 2008 at 7:02 PM, Russell Wallace <[EMAIL PROTECTED]> wrote: > On Fri, Oct 24, 2008 at 3:58 PM, J Marlow <[EMAIL PROTECTED]> wrote: >> You can get the parse tree for an arbitrary string of Python (and even make >> it somewhat human readable), but I'm not sure if you can get it for >> underlying tree. Once you have a parse tree, I believe that you can execute >> it. >> >> Josh >> Look into the parser module. > > Ah! In that case, Python might be a good choice of language for an AGI > project. >
But you can get hold of internal representation of any language and emulate/compile/analyze it. It's not really the point, the point is simplicitly of this process. Where simplicity matters is the question that needs to be answered before that. -- Vladimir Nesov [EMAIL PROTECTED] http://causalityrelay.wordpress.com/ ------------------------------------------- agi Archives: https://www.listbox.com/member/archive/303/=now RSS Feed: https://www.listbox.com/member/archive/rss/303/ Modify Your Subscription: https://www.listbox.com/member/?member_id=8660244&id_secret=117534816-b15a34 Powered by Listbox: http://www.listbox.com