[BangPypers] converting python to assembly..

Vishal vsapre80 at gmail.com
Thu May 31 08:10:45 CEST 2012


Does anybody know of any effort that can covert a relatively static version
of python code into assembly for use with microcontrollers ?

CorePy did it but not for microcontrollers
P14p (or PyMite) actually creates a python interpreter in C and puts it
inside the microcontroller, and its GPL.
PyPy as you know is not yet for microcontrollers and only creates assembly
when the JIT kicks in.
Cython/Pyrex would convert python with type specifications into extension
module...but it will not fit into microcontrollers.

I am looking for something more "simple", i.e. instead of writing C and
compiling it to machine instructions...write python (restricted set..may
be) and convert it to machine instructions.

Any pointers will be of big help..

Thanks and best regards,
Vishal Sapre

More information about the BangPypers mailing list