#1879: Deprecate Parrot_compreg
-------------------------+--------------------------------------------------
 Reporter:  whiteknight  |       Owner:             
     Type:  RFC          |      Status:  new        
 Priority:  normal       |   Milestone:  2.11       
Component:  none         |     Version:  master     
 Severity:  medium       |    Keywords:  deprecation
     Lang:               |       Patch:             
 Platform:  all          |  
-------------------------+--------------------------------------------------
 The Parrot_compreg function registers a C function pointer as an NCI PMC
 in the IGLOBALS_COMPREG_HASH global. This is only used by IMCC, and is not
 really a sustainable solution. Basic NCI PMCs do not follow the interface
 suggested in PDD31, although that's not really the biggest problem here.

 A much more sustainable solution would be a function which takes a
 compiler PMC and registers it. IMCC and any other utility that wants to,
 can create it's own NCI PMC and register that through the same interface.

 I would like to deprecate the Parrot_compreg function and replace it with
 a more sustainable and extendable interface.

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1879>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to