Re: [Python-Dev] Localized Type Inference of Atomic Types in Python

2005-05-25 Thread Armin Rigo
Hi Brett, On Tue, May 24, 2005 at 04:11:34PM -0700, Brett C. wrote: My thesis, Localized Type Inference of Atomic Types in Python, was successfully defended today for my MS in Computer Science at the California Polytechnic State University, San Luis Obispo. Congratulations ! Nitpickingly...

Re: [Python-Dev] AST manipulation and source code generation

2005-05-25 Thread Andy Gross
I wrote something like this (called pyunparse) a little while ago. It's not the cleanest code in the world, but it worked for my original use case (debugging Logix, which uses python ASTs as an IR): http://www.pycs.net/users/445/stories/7.html Cheers, /arg On May 24, 2005, at 9:56

Re: [Python-Dev] AST manipulation and source code generation

2005-05-25 Thread Chad Whitacre
Ka-Ping, FWIW, I've also got an implementation, which is based on the parser module rather than the compiler module. Much simpler, imo, but whitespace isn't preserved (could be perhaps?). Anyway, take it or leave it. Links follow. chad - Subversion repository:

Re: [Python-Dev] Localized Type Inference of Atomic Types in Python

2005-05-25 Thread Brett C.
Armin Rigo wrote: Hi Brett, On Tue, May 24, 2005 at 04:11:34PM -0700, Brett C. wrote: My thesis, Localized Type Inference of Atomic Types in Python, was successfully defended today for my MS in Computer Science at the California Polytechnic State University, San Luis Obispo.