My favorites | Sign in
Project Logo
Project hosting will be READ-ONLY Wednesday at 8am PST due to brief network maintenance.
                
Blogs:
Feeds:
Groups:
People details
Project owners:
  codedivine

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 is being developed as part of a research project at the Systems Lab, Dept of Computing Science, University of Alberta. Currently the primary developer is Rahul Garg and is being supervised by Prof Amaral.

Example

@unpython.type('int','int','int')
def f(x,y):
    #type of temp is inferred by compiler to be 'int'
    temp = x+y 
    return temp

Schedule

Version 0.0.4 is scheduled for August 30, 2008. This version will include preliminary support for tuples, lists, ufuncs, numpy methods and parallel loops.

Version 0.0.3 was released on July 22, 2008. This version has prelim support for parallel loops.

Feedback

As an open source project, community feedback is very very important. If you had problems in downloading or running the compiler do let me know. You can file bugs on this site. You can also contact or report problems through the mailing list (look at the right side-bar for link) or directly emailing whycode at the domain gmail.com. I guarantee a fast response to bug reports, comments, feature requests, flames.









Hosted by Google Code