Hi,
I've added src/global.c and include/parrot/global.h which contains
PMC *find_global(Parrot_Interp interpreter, STRING *class, STRING *globalname)
The code is taken from object.c, where a note stated that it is ought to be an public function.
Parrot_store_global is missing ATM, but I'll add it later.
Cool. We should really have a signature of:
(interpreter, PMC *namespace, STRING *global)
but we can have two functions there. We ought to add in the namespace layering stuff too.
I'll get namespaces up on the list and get a formal description of the semantics in.
--
Dan
--------------------------------------"it's like this"------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk