Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

unused & unimplemented opcodes

0 views
Skip to first unread message

Leopold Toetsch

unread,
Mar 8, 2006, 11:16:37 AM3/8/06
to Perl 6 Internals
There are some opcodes in core.ops which don't do anything:

I'd do:

setline ... delete, doesn't make sense
getline ... move to debug.ops, implement it
setfile ... delete
getfile ... mpve to debug.ops, implement it
setpackage delete
getpackage delete - use get_namespace instead

Any objections?

leo

Steve Peters

unread,
Mar 8, 2006, 3:19:59 PM3/8/06
to Leopold Toetsch, Perl 6 Internals

Please chainsaw away!

Steve Peters
st...@fisharerojo.org

signature.asc

Jonathan Worthington

unread,
Mar 8, 2006, 4:53:41 PM3/8/06
to Leopold Toetsch, Perl 6 Internals
"Leopold Toetsch" <l...@toetsch.at> wrote:
> There are some opcodes in core.ops which don't do anything:
>
> I'd do:
>
> setline ... delete, doesn't make sense
> getline ... move to debug.ops, implement it
> setfile ... delete
> getfile ... mpve to debug.ops, implement it
Where getline and getfile refer to the PIR debug seg info, right? Anyway,
all sounds pretty sane to me.

> setpackage delete
> getpackage delete - use get_namespace instead
>

Agree.

IMHO, etc.

Jonathan

Leopold Toetsch

unread,
Mar 13, 2006, 7:41:23 AM3/13/06
to Perl 6 Internals

This is now official as of r11882

The line information is still off by one sometimes. Fixes are welcome.

leo

0 new messages