[BangPypers] converting python to assembly..
karra.etc at gmail.com
Fri Jun 1 20:40:02 CEST 2012
On Fri, Jun 1, 2012 at 6:44 PM, Vishal <vsapre80 at gmail.com> wrote:
> > a) "test.py" a very simple 1KB python file with a main function
> > b) "_c_test.c" a 35KB file that is generated by 2c-py
> > (b) gets generated by the following cmd line:
> > > 2c-py -c test.py
> > As you can see the 'c' file generated references python's internals.
> > What I am looking for is something that would either create a functional
> > equivalent in C or the ASM for the target microcontroller.
OK; I understand. I wonder what the real point of 2c.py is. You start with
a python source file, and end up creating a dll/so that can be imported as
a python module in another python program? Obfuscation, I suppose. But a
misleading name for a project, if there ever was one... Hm. Anyway,
apologies for wasting your time.
More information about the BangPypers