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

[perl #39759] [NEW] Util tool - search for opcodes

4 views
Skip to first unread message

João Cruz Morais

unread,
Jul 7, 2006, 10:53:23 AM7/7/06
to bugs-bi...@rt.perl.org
# New Ticket Created by "João Cruz Morais"
# Please include the string: [perl #39759]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=39759 >


Given a valid regex (pcre style) as an argument, the script will search inside
any *.ops file located in 'path' for an opcode name that matches, dumping both
its arguments and its description.
If no argument is passed, every opcode found is dumped.

Example:
> ./search-ops.py load

----------------------------------------------------------------------
File: core.ops - Parrot Core Ops (2 matches)
----------------------------------------------------------------------

load_bytecode(in STR)
Load Parrot bytecode from file $1, and (TODO) search the library path,
to locate the file.

loadlib(out PMC, in STR)
Load a dynamic link library named $2 and store it in $1.

----------------------------------------------------------------------
File: debug.ops (1 matches)
----------------------------------------------------------------------

debug_load(inconst STR)
Load a Parrot source file for the current program.

manifest.patch
search-ops.py

nap...@spiderfish.net

unread,
Jul 15, 2006, 5:28:15 PM7/15/06
to parrotbug...@parrotcode.org
No problem, enjoy your vacation :)
João

Bernhard Schmalhofer via RT wrote:
> On Fr. 07. Jul. 2006, 07:53:22, nap...@spiderfish.net wrote:
> đ
> Hi João,
>
> sorry for being so late in answering your ticket. But I'm on vacation in
> Istria without Internet connection and I only now got around to hitting
> an INternet Cafe.
> I'll apply your patch after July 25th, when I'm back in Germany.
>
> Best regards,
> Bernhard
>
>
>

0 new messages