Is Stackless Python DEAD?
Christian Tismer
tismer at tismer.com
Thu Jan 3 07:16:19 EST 2002
Michael Hudson wrote:
> Christian Tismer <tismer at tismer.com> writes:
...
>>There must be a simple path. The scheme is always the same.
>>
>
> Yes.
>
>
>>See the split of functions in stackless map. I hope to find
>>a macro set that can create this mess from a couple of fragments.
>>
>
> But C is ****so**** unexpressive on this level.
>
> #define STACKLESS_CALL(FUNC, ARGTUPLE) \
> { PyFrameObject* f = PyFrame_New(); f.next = FUNC; \
> f.nextargs = ARGTUPLE; f.return_to = ???; return; }
>
> You could probably do it in Lisp.
Haah! Got it!
I could probably do it in Python. Why do we have this
wonderful language. I can put some comments into the source
which can be understood by a Python script. This script is
then run over the source and spits out the necessary C code.
Grübel, Denk -- chris
--
Christian Tismer :^) <mailto:tismer at tismer.com>
Mission Impossible 5oftware : Have a break! Take a ride on Python's
Kaunstr. 26 : *Starship* http://starship.python.net/
14163 Berlin : PGP key -> http://wwwkeys.pgp.net/
PGP Fingerprint E182 71C7 1A9D 66E9 9D15 D3CC D4D7 93E2 1FAE F6DF
where do you want to jump today? http://www.stackless.com/
More information about the Python-list
mailing list