develooper Front page | perl.perl6.internals | Postings from June 2002

[COMMIT] INTVAL keys

From:
David M. Lloyd
Date:
June 21, 2002 10:45
Subject:
[COMMIT] INTVAL keys
Message ID:
Pine.LNX.4.44.0206211225300.17046-100000@tomservo.workpc.tds.net
Well, there's now a _keyed_int form for every _keyed vtable method.

PDD02 has a summary of how these new methods work.

Also, I've added push/pop/shift/unshift vtable methods.  There are no ops
that use these yet.

So if anyone wants to a make a (first?) contribution, the following needs
to be done yet:

- Update classes/*.pmc to conform to the spec (default.pmc should already
be conformant; you can use it for a reference)
- Modify array.pmc and perlarray.pmc to take advantage of INTVAL keys.
- For that matter, finish array.pmc.
- Add opcodes to core.ops for push/pop/shift/unshift
- Add tests, tests and more tests to test all this stuff.

That should be enough to get you started.

Have a nice day.

- D

<dmlloyd@tds.net>




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About