Language::Zcode::Parser::TXD

Z-code parser that uses pure Perl to find where the Z subroutines start and end.

find_subs (filename)

Run txd on the given file to create bare (unparsed) LZ::Parser::Routine objects. (Really to get the address where each subroutine starts.)

get_txd_commands (Routine, filehandle)

Read the commands in a Z-code sub from the given filehandle (which is a pipe from txd) and add them to the given LZ::Parser::Routine.

OR read commands in an orphan code fragment and add them to the routine's already existing commands.