Grant Olson wrote:

We use Pyrex to statically compile dynamically generated
source code. The compiled code is then imported into the
process that generated the code. But surely, this still means
we are statically compiling things.


Let me guess, this doesn't work on Windows yet? ;-)

It doeswork on Windows. (And I seem to be the only one in the PyPy team who runs it on Windows, so I'm responsible)

...

There is an api in pyasm that you can use to do this.  You don't need to
just pass in a monolithic string like I did in the example.  That was just
easier for most people to understand.  There is a little documentation on
this and it will be expanded in the next release.  I'm also toying with the
notion of something similar to a main() function that gets executed
automatically at runtime instead of forcing you to bind to function names
and calling the functions.

I will take a closer look at pyasm very soon!

cheers - chris
--
Christian Tismer             :^)   <mailto:[EMAIL PROTECTED]>
tismerysoft GmbH             :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56  mobile +49 173 24 18 776  fax +49 30 80 90 57 05
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
     whom do you want to sponsor today?   http://www.stackless.com/
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to