[pypy-dev] Miasma: x86 machine code generation in Python

Darius Bacon darius at accesscom.com
Thu Jan 23 11:20:28 CET 2003


I've just written a Python module to emit x86 machine code using
assembler-like function calls, plus another module in C to invoke the
generated code:

http://accesscom.com/~darius/software/miasma/

It comes with a little test program that compiles RPN expressions.  I
realize nobody's talking about compiling direct to native code yet,
but this was just so easy to hack up using code already lying around
that I couldn't resist.  Perhaps some of the hackers on this list will
enjoy playing with it.

Darius


More information about the Pypy-dev mailing list