资 源 简 介
unPython is a Python to C compiler. unPython compiles a type-annotated subset of Python to C code.Type annotations are added through decorators or as strings discarded by the Python interpreter. Thus your annotated source is still 100% pure python and will run unmodified on the interpreter. unPython also aims to be numpy aware i.e. be able to compile numpy constructs.
About
unPython was originally developed at as part of a research project at the Systems Lab, Dept of Computing Science, University of Alberta by me (Rahul Garg) under the supervision of Prof Amaral for my MS Thesis. I have graduated and now continuing to work on unPython
Update
A considerably rewritten version is scheduled to be released in December 2010 and includes GPU support. An academic version can be found at this DOI
Example
```
@unpython.type("int",