On 2 May 2004, at 11:47, Leopold Toetsch wrote:


All I want to do is.

1) create a parrot interpreter
2) create some pmcs
3) call some code inside parrot with those pmcs

I've now added a missing init function that sets the stack top:

  Parrot_init_stacktop(Interp*, void*);

This function can be used as a replacement for Parrot_init(). I hope
that simplifies step 1)

No, it entirely misses the point, every time I call into parrot the place I called parrot_init_stacktop might not, or most likely will not be in my current stack.


Is the stacktop per interpreter?

What then would be needed is a set_stacktop(Interp*, void*) function.

Arthur



Reply via email to