NAME ^

src/disassemble.c - Parrot disassembler

SYNOPSIS ^

    % make disassemble

    % ./disassemble file.pbc

DESCRIPTION ^

This uses the Parrot_disassemble() function from src/embed.c, which in turn uses the PDB_disassemble() function from src/debug.c.

Functions ^

int main(int argc, char *argv[])

The run-loop. Starts up an interpreter, loads the bytecode from the command-line and disassembles it.

static void do_dis(Parrot_Interp interpreter)

Do the disassembling.

SEE ALSO ^

src/embed.c and src/debug.c.

HISTORY ^

Initial version by Daniel Grunblatt on 2002.5.26.


parrot