Author: particle
Date: Wed Dec 28 14:47:30 2005
New Revision: 10751
Added:
trunk/parrot-config.pir
- copied, changed from r10749, trunk/parrot-config.imc
trunk/runtime/parrot/library/YAML/Parser/Syck.pir
- copied, changed from r10749,
trunk/runtime/parrot/library/YAML/Parser/Syck.imc
trunk/runtime/parrot/library/config.pir
- copied, changed from r10749, trunk/runtime/parrot/library/config.imc
trunk/runtime/parrot/library/parrotlib.pir
- copied unchanged from r10749, trunk/runtime/parrot/library/parrotlib.imc
Removed:
trunk/parrot-config.imc
trunk/runtime/parrot/library/YAML/Parser/Syck.imc
trunk/runtime/parrot/library/config.imc
trunk/runtime/parrot/library/parrotlib.imc
Modified:
trunk/MANIFEST
trunk/config/gen/makefiles/root.in
trunk/docs/dev/fhs.pod
trunk/docs/tests.pod
trunk/lib/Parrot/Docs/Section/Config.pm
trunk/runtime/parrot/library/File/Spec.pir
trunk/runtime/parrot/library/pcre.pir
trunk/t/library/parrotlib.t
trunk/t/library/yaml_parser_syck.t
trunk/t/pmc/config.t
trunk/t/pmc/sys.t
trunk/tools/dev/parrotbench.pl
Log:
#37520: [TODO] rename library files from .imc to .pir
~ convert remaining library/ files
Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST (original)
+++ trunk/MANIFEST Wed Dec 28 14:47:30 2005
@@ -1437,7 +1437,7 @@ lib/Test/Builder.pm
lib/Test/More.pm [devel]
lib/Test/Simple.pm [devel]
lib/Text/Balanced.pm [devel]
-parrot-config.imc [main]
+parrot-config.pir [main]
parrot.spec []
parrotbug []
runtime/parrot/dynext/README [main]doc
@@ -1491,14 +1491,14 @@ runtime/parrot/library/Test/Builder/Test
runtime/parrot/library/Test/Builder/TestPlan.pir [library]
runtime/parrot/library/Test/Builder/Tester.pir [library]
runtime/parrot/library/Test/More.pir [library]
-runtime/parrot/library/YAML/Parser/Syck.imc [library]
-runtime/parrot/library/config.imc [library]
+runtime/parrot/library/YAML/Parser/Syck.pir [library]
+runtime/parrot/library/config.pir [library]
runtime/parrot/library/dumper.pir [library]
runtime/parrot/library/libpcre.pir [library]
runtime/parrot/library/ncurses.declarations [library]
runtime/parrot/library/ncurses.pir [library]
runtime/parrot/library/ncurses.pasm [library]
-runtime/parrot/library/parrotlib.imc [runtime]
+runtime/parrot/library/parrotlib.pir [runtime]
runtime/parrot/library/pcore.pir [library]
runtime/parrot/library/pcre.pir [library]
runtime/parrot/library/postgres.declarations [library]
Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in (original)
+++ trunk/config/gen/makefiles/root.in Wed Dec 28 14:47:30 2005
@@ -681,8 +681,8 @@ flags_dummy :
@echo Compiling with:
@$(PERL) tools/dev/cc_flags.pl $(CUR_DIR)/CFLAGS echo $(CC) $(CFLAGS)
-I$(@D) ${cc_o_out} xx$(O) -c xx.c
-runtime/parrot/include/parrotlib.pbc: runtime/parrot/library/parrotlib.imc
$(PARROT)
- $(PARROT) -o $@ runtime/parrot/library/parrotlib.imc
+runtime/parrot/include/parrotlib.pbc: runtime/parrot/library/parrotlib.pir
$(PARROT)
+ $(PARROT) -o $@ runtime/parrot/library/parrotlib.pir
runtime/parrot/include/config.fpmc : myconfig config_lib.pasm $(MINIPARROT)
@echo Invoking Parrot to generate runtime/parrot/include/config.fpmc
--cross your fingers
Modified: trunk/docs/dev/fhs.pod
==============================================================================
--- trunk/docs/dev/fhs.pod (original)
+++ trunk/docs/dev/fhs.pod Wed Dec 28 14:47:30 2005
@@ -97,7 +97,7 @@ parrot bytecode to be architecture depen
The I</usr/share> hierarchy is for all read-only architecture
independent data files. Parrot stores those files in
-I</usr/share/parrot/$(VERSION)>. For example all .imc, .pasm and .imc
+I</usr/share/parrot/$(VERSION)>. For example all .pasm and .pir
files should go there as well as data files for libraries like images
and such.
@@ -154,10 +154,10 @@ Move this to I</usr/share/doc/> or just
This is also documentation for I</usr/share/doc>.
-=item /usr/parrot-config.imc
+=item /usr/parrot-config.pir
This is a command which can be called from the user. It should be in
-I</usr/bin>, maybe without the .imc suffix.
+I</usr/bin>, maybe without the .pir suffix.
=back
Modified: trunk/docs/tests.pod
==============================================================================
--- trunk/docs/tests.pod (original)
+++ trunk/docs/tests.pod Wed Dec 28 14:47:30 2005
@@ -80,7 +80,7 @@ Tests can also be written in B<PIR>. Thi
friends.
pir_output_is(<<'CODE',<<'OUT','nothing useful');
- .include 'library/config.imc'
+ .include 'library/config.pir'
.sub main :main
print "hi\n"
Modified: trunk/lib/Parrot/Docs/Section/Config.pm
==============================================================================
--- trunk/lib/Parrot/Docs/Section/Config.pm (original)
+++ trunk/lib/Parrot/Docs/Section/Config.pm Wed Dec 28 14:47:30 2005
@@ -82,7 +82,7 @@ which they are performed.',
),
$self->new_group('Library', '',
$self->new_item('PASM/IMC access to Parrot configuration
data.',
- 'runtime/parrot/library/config.imc')
+ 'runtime/parrot/library/config.pir')
),
);
}
@@ -91,4 +91,4 @@ which they are performed.',
=cut
-1;
\ No newline at end of file
+1;
Copied: trunk/parrot-config.pir (from r10749, trunk/parrot-config.imc)
==============================================================================
--- trunk/parrot-config.imc (original)
+++ trunk/parrot-config.pir Wed Dec 28 14:47:30 2005
@@ -3,7 +3,7 @@
=head1 NAME
-config.imc - Print a Parrot configuration item
+config.pir - Print a Parrot configuration item
=head1 VERSION
@@ -11,9 +11,9 @@ version 0.01
=head1 SYNOPSIS
- ./parrot parrot-config.imc VERSION
- ./parrot parrot-config.imc ccflags
- ./parrot parrot-config.imc --dump
+ ./parrot parrot-config.pir VERSION
+ ./parrot parrot-config.pir ccflags
+ ./parrot parrot-config.pir --dump
=head1 DESCRIPTION
Modified: trunk/runtime/parrot/library/File/Spec.pir
==============================================================================
--- trunk/runtime/parrot/library/File/Spec.pir (original)
+++ trunk/runtime/parrot/library/File/Spec.pir Wed Dec 28 14:47:30 2005
@@ -172,4 +172,4 @@ found_module:
.end
-.include 'library/config.imc'
+.include 'library/config.pir'
Copied: trunk/runtime/parrot/library/YAML/Parser/Syck.pir (from r10749,
trunk/runtime/parrot/library/YAML/Parser/Syck.imc)
==============================================================================
--- trunk/runtime/parrot/library/YAML/Parser/Syck.imc (original)
+++ trunk/runtime/parrot/library/YAML/Parser/Syck.pir Wed Dec 28 14:47:30 2005
@@ -3,7 +3,7 @@
=head1 NAME
-YAML/Parser/Syck.imc - Interface to libsyck
+YAML/Parser/Syck.pir - Interface to libsyck
=head1 SYNOPSIS
Copied: trunk/runtime/parrot/library/config.pir (from r10749,
trunk/runtime/parrot/library/config.imc)
==============================================================================
--- trunk/runtime/parrot/library/config.imc (original)
+++ trunk/runtime/parrot/library/config.pir Wed Dec 28 14:47:30 2005
@@ -1,6 +1,6 @@
=head1 TITLE
-config.imc - Access Parrot configuration data
+config.pir - Access Parrot configuration data
=head1 VERSION
@@ -20,11 +20,11 @@ version 0.01
...
.end
- .include "library/config.imc"
+ .include "library/config.pir"
=head1 DESCRIPTION
-config.imc is a mechanism for accessing most of the data collected by
+config.pir is a mechanism for accessing most of the data collected by
Configure. It's roughly equivalent to Perl's C<Config.pm> module.
At the end of a successful C<make> of Parrot, a PASM file generated by
Modified: trunk/runtime/parrot/library/pcre.pir
==============================================================================
--- trunk/runtime/parrot/library/pcre.pir (original)
+++ trunk/runtime/parrot/library/pcre.pir Wed Dec 28 14:47:30 2005
@@ -167,7 +167,7 @@ Returns the match.
.end
-.include "library/config.imc"
+.include "library/config.pir"
=head1 BUGS
Modified: trunk/t/library/parrotlib.t
==============================================================================
--- trunk/t/library/parrotlib.t (original)
+++ trunk/t/library/parrotlib.t Wed Dec 28 14:47:30 2005
@@ -12,7 +12,7 @@ use Parrot::Config;
=head1 NAME
-t/library/parrotlib.t - testing library/parrotlib.imc
+t/library/parrotlib.t - testing library/parrotlib.pir
=head1 SYNOPSIS
@@ -20,7 +20,7 @@ t/library/parrotlib.t - testing library/
=head1 DESCRIPTION
-This test program test whether the library 'parrotlib.imc' returns the
+This test program test whether the library 'parrotlib.pir' returns the
expected absolute filenames.
=cut
@@ -114,7 +114,7 @@ Bernhard Schmalhofer <Bernhard.Schmalhof
=head1 SEE ALSO
-F<runtime/parrot/library/parrotlib.imc>
+F<runtime/parrot/library/parrotlib.pir>
=cut
Modified: trunk/t/library/yaml_parser_syck.t
==============================================================================
--- trunk/t/library/yaml_parser_syck.t (original)
+++ trunk/t/library/yaml_parser_syck.t Wed Dec 28 14:47:30 2005
@@ -11,7 +11,7 @@ use Parrot::Test;
=head1 NAME
-t/library/yaml_parser_syck.t - testing library/YAML/Parser/Syck.imc
+t/library/yaml_parser_syck.t - testing library/YAML/Parser/Syck.pir
=head1 SYNOPSIS
@@ -30,7 +30,7 @@ TODO: {
pir_output_is( << 'CODE', << 'OUT', "basic parsing" );
-.include "library/YAML/Parser/Syck.imc"
+.include "library/YAML/Parser/Syck.pir"
.include "library/dumper.pir"
.sub test @MAIN
@@ -167,7 +167,7 @@ Bernhard Schmalhofer - <Bernhard.Schmalh
=head1 SEE ALSO
-F<runtime/parrot/library/YAML/Parser/Syck.imc>
+F<runtime/parrot/library/YAML/Parser/Syck.pir>
=cut
Modified: trunk/t/pmc/config.t
==============================================================================
--- trunk/t/pmc/config.t (original)
+++ trunk/t/pmc/config.t Wed Dec 28 14:47:30 2005
@@ -52,7 +52,7 @@ CODE
pir_output_is(<<'CODE', <<'OUT', "load src/pbc from library path");
.sub main :main
- load_bytecode "config.imc"
+ load_bytecode "config.pir"
print "ok 1\n"
load_bytecode "config.pbc"
print "ok 2\n"
Modified: trunk/t/pmc/sys.t
==============================================================================
--- trunk/t/pmc/sys.t (original)
+++ trunk/t/pmc/sys.t Wed Dec 28 14:47:30 2005
@@ -23,14 +23,14 @@ Tests system dependend stuff
=cut
END {
- unlink "temp.imc";
+ unlink "temp.pir";
};
pir_output_is(<<'CODE', <<OUT, "spawnw, _config");
.sub _test :main
.local pmc O
- open O, "temp.imc", ">"
+ open O, "temp.pir", ">"
print O, ".sub _main :main\n"
print O, "\tprint \"Hello, World!\\n\"\n"
print O, ".end\n"
@@ -45,13 +45,13 @@ pir_output_is(<<'CODE', <<OUT, "spawnw,
cmd = '.'
cmd .= slash
cmd .= parrot
- cmd .= " temp.imc"
+ cmd .= " temp.pir"
spawnw $I0, cmd
print $I0
print "\n"
.end
-.include "library/config.imc"
+.include "library/config.pir"
CODE
Hello, World!
0
Modified: trunk/tools/dev/parrotbench.pl
==============================================================================
--- trunk/tools/dev/parrotbench.pl (original)
+++ trunk/tools/dev/parrotbench.pl Wed Dec 28 14:47:30 2005
@@ -61,7 +61,7 @@ Here is an example parrotbench.conf:
[benchmark parrotj]
exe = ../../parrot -j
type = .pasm
- type = .imc
+ type = .pir
[benchmark perl_585_th]
exe = /usr/bin/perl585-th
@@ -82,7 +82,7 @@ it is likely that it will break somewher
If a benchmark has multiple extensions associated with the same
executable, the last one will be used. For instance, with the
-configuration file above, foo.imc would be selected over foo.pasm
+configuration file above, foo.pir would be selected over foo.pasm
=head1 AUTHOR