Dear Pypy group, Let me start by thanking you all for being so helpful in the past while I was learning to work with Pypy. I am trying to do research on how to type-def variables in Python at compile time. I have been reading different papers on bounds checking and static detection with scripting languages (for security), but I have not been able to find a feasible solution with Python. I was wondering if anyone knew some good references. I honestly cannot think of any way to type-def Python, except using heuristics to make guesses at what a variable might possibly be. Thank you in advance for your help, Brian
Hi Brian, On Tue, Apr 18, 2006 at 10:38:51PM -0700, Brian C. Lum wrote:
I was wondering if anyone knew some good references. I honestly cannot think of any way to type-def Python, except using heuristics to make guesses at what a variable might possibly be.
This is a well-known fact. The standard reference is Brett Cannon's thesis "Localized Type Inference of Atomic Types in Python". About guessing types, this is what RPython is about: http://codespeak.net/pypy/dist/pypy/doc/dynamic-language-translation.html Armin
participants (2)
-
Armin Rigo
-
Brian C. Lum