Dan Sugalski <[EMAIL PROTECTED]> wrote:
> I see we've got dynamically loaded bytecode segments. Good. What we don't
> have is those segments automatically running, something I think we need to
> have happen.

> When a bytecode segment is loaded, control should pass to the first
> executable instruction in it, and proceed until it hits an end. (I can see
> making this a ret instead) This seems simpler than having some sort of
> magic label, and will allow loaded bytecode segments to initialize
> themselves if that's what they need.

But how to pass arguments then? Init code might need some.

> Any objections, or shall I just make this happen?

I think a more flexible way is a "magic label", or just "__init" which
can be called explictely or even automatic - if such a label exists.

>                                       Dan

leo

Reply via email to