On Mon Mar 19 15:43:27 2007, particle wrote: > there's a number of scripts and utilities in the tools/ subtree which > i suspect have gone unused for some time now. this ticket is a > placeholder to track efforts on surveying and fixing the files under > tools/. > > ~jerry
Here is some *non-definitive, non-exhaustive* data concerning the tools/build/*.pl scripts that may be useful in this effort. 1. Invocations by 'make': 94 tools/build/c2str.pl 4 tools/build/dynpmc.pl 1 tools/build/fingerprint_c.pl 2 tools/build/jit2c.pl 1 tools/build/nativecall.pl 12 tools/build/ops2c.pl 1 tools/build/ops2pm.pl 2 tools/build/parrot_config_c.pl 179 tools/build/pmc2c.pl 1 tools/build/revision_c.pl 1 tools/build/vtable_extend.pl tools/build/vtable_h.pl has not been invoked by make since Nov 11 2006. However, it may be invoked elsewhere. See config/gen/parrot_include.pm (54); lib/Parrot/Docs/Section/ Tools.pm (51); lib/Parrot/Vtable.pm (16, 419). 2. Quite a few of the tools/build/*.pl scripts are called by Parrot::Docs::Sections::Tools. Personally, I don't think providing a Perl script as an argument to a Perl method call is a "best practice." So I view these instances as ripe for refactoring. lib/Parrot/Docs/Section/Tools.pm:49: $self->new_item( '', 'tools/build/nativecall.pl' ), lib/Parrot/Docs/Section/Tools.pm:50: $self->new_item( '', 'tools/build/jit2c.pl' ), lib/Parrot/Docs/Section/Tools.pm:51: $self->new_item( '', 'tools/build/vtable_h.pl' ), lib/Parrot/Docs/Section/Tools.pm:52: $self->new_item( '', 'tools/build/ vtable_extend.pl' ), lib/Parrot/Docs/Section/Tools.pm:56: $self->new_item( '', 'tools/build/pbc2c.pl' ), lib/Parrot/Docs/Section/Tools.pm:82: $self->new_item( '', 'tools/build/ fingerprint_c.pl' ), lib/Parrot/Docs/Section/Tools.pm:85: $self->new_item( '', 'tools/build/ parrot_config_c.pl' ), lib/Parrot/Docs/Section/Tools.pm:87: $self->new_item( '', 'tools/build/ revision_c.pl' ), lib/Parrot/Docs/Section/Tools.pm:104: $self->new_item( '', 'tools/build/ list_unjitted.pl' ), I haven't yet looked at scripts in other directories such as tools/dev/. kid51