PyCompiler is a project mainly written in ..., it's free.
Simple way to build a compiler in python
Simple way to build a compiler in python. The methods are converted in assembly instructions.
To make a static executable::
>>> from pycompiler import compile, Executable
>>> executable = Executable()
>>> executable.write("foo")
>>> compile(executable, ".test.out")
Then a executable was created::
$ ./test.out
foo
Install using latest version::
$ git clone [email protected]:angelonuffer/PyCompiler.git
# python setup.py install
*NOTE: the second command needs be runned with root user, you can use the sudo application for this