ECOOP 2015
Sun 5 - Fri 10 July 2015 Prague, Czech Republic
Mon 6 Jul 2015 16:50 - 17:10 at Moravia III - Gradual Typing

We present the preliminary stage of stypy, a static type checker for Python. stypy translates each Python program into Python code that type-checks the original program. The generated code replaces each variable with a type variable, evaluating expression types instead of their values. The generated type checker detects many type errors in tricky Python idioms, and ensures termination.

Towards a Static Type Checker for Python (ortin-v2.pdf)114KiB