Ticket #1378 (new feature)
Hash or by-string interface to interp object / interpinfo / sysinfo
Reported by: | japhb | Owned by: | cotto |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | none | Version: | 1.9.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
See http://irclog.perlgeek.de/parrot/2009-12-18#i_1850474 for details, but basically I would like an NQP- and introspection-friendly interface to sysinfo, interpinfo, and the object returned by getinterp.
Right now, you must index these three with magic integers; this is hidden somewhat through the use of PASM macro constants, but these are not available to NQP or other HLL code.
In addition, it is not possible to cleanly introspect these to find extensions (such as special sysinfo values available only on certain OSen).
An iterable string-keyed hash interface would probably work well for this task.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.