On Thu, 3 Aug 2006, Chip Salzenberg wrote: > KNOWN FUTURE DEVELOPMENTS > > It's already decided that we're moving class PMCs into the normal namespace > tree. This change will eliminate many uses of the class-lookup opcodes, but > not all: There's a two-level search will still be required, where the > universal ['parrot'] HLL provides the fallback for class names not defined > locally -- e.g. C<find_type ['Integer']> could return ['yourHLL';'Integer'] > if you've defined that, or else ['parrot';'Integer'] if you haven't.
Any reason to treat HLL namespaces differently from classes, at least in respect of being an inheritance hierachy? Simply make 'yourHLL' inherit from 'parrot', and the rest follows... -Martin