Melvin Smith <[EMAIL PROTECTED]> writes: > >Did you consider using the method interface in ParrotIO? That ought to > >be even extensible with user code. > > Yes, I'm trying to get back up to speed on everything. The method interface > is a new feature that I need to look at.
I've written a first cut on the method interface in parrotio.pmc. The system is fairly simple: At class_init time the methods are registred in a hash and the find_method function looks up this hash and returns a invoke-able PMC (a NCI). See t/pmc/io.t for example. bye boe -- Juergen Boemmels [EMAIL PROTECTED] Fachbereich Physik Tel: ++49-(0)631-205-2817 Universitaet Kaiserslautern Fax: ++49-(0)631-205-3906 PGP Key fingerprint = 9F 56 54 3D 45 C1 32 6F 23 F6 C7 2F 85 93 DD 47