Author: particle
Date: Wed Dec 28 14:09:59 2005
New Revision: 10749
Added:
trunk/runtime/parrot/include/DWIM.pir
- copied, changed from r10744, trunk/runtime/parrot/include/DWIM.imc
trunk/runtime/parrot/library/ncurses.pir
- copied unchanged from r10744, trunk/runtime/parrot/library/ncurses.imc
trunk/runtime/parrot/library/postgres.pir
- copied unchanged from r10744, trunk/runtime/parrot/library/postgres.imc
Removed:
trunk/runtime/parrot/include/DWIM.imc
trunk/runtime/parrot/library/ncurses.imc
trunk/runtime/parrot/library/postgres.imc
Modified:
trunk/MANIFEST
trunk/examples/pir/hello-dwim.pir
trunk/examples/pir/life.pir
trunk/t/examples/library.t
Log:
#37520: [TODO] rename library files from .imc to .pir
~ convert DWIM include file
~convert ncurses and postgres libraries
Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST (original)
+++ trunk/MANIFEST Wed Dec 28 14:09:59 2005
@@ -1441,7 +1441,7 @@ parrot-config.imc
parrot.spec []
parrotbug []
runtime/parrot/dynext/README [main]doc
-runtime/parrot/include/DWIM.imc [main]doc
+runtime/parrot/include/DWIM.pir [main]doc
runtime/parrot/include/README [main]doc
runtime/parrot/library/Data/Dumper.pir [library]
runtime/parrot/library/Data/Dumper/Base.pir [library]
@@ -1496,13 +1496,13 @@ runtime/parrot/library/config.imc
runtime/parrot/library/dumper.pir [library]
runtime/parrot/library/libpcre.pir [library]
runtime/parrot/library/ncurses.declarations [library]
-runtime/parrot/library/ncurses.imc [library]
+runtime/parrot/library/ncurses.pir [library]
runtime/parrot/library/ncurses.pasm [library]
runtime/parrot/library/parrotlib.imc [runtime]
runtime/parrot/library/pcore.pir [library]
runtime/parrot/library/pcre.pir [library]
runtime/parrot/library/postgres.declarations [library]
-runtime/parrot/library/postgres.imc [library]
+runtime/parrot/library/postgres.pir [library]
runtime/parrot/library/postgres.pasm [library]
runtime/parrot/library/random_lib.pir [library]
src/builtin.c []
Modified: trunk/examples/pir/hello-dwim.pir
==============================================================================
--- trunk/examples/pir/hello-dwim.pir (original)
+++ trunk/examples/pir/hello-dwim.pir Wed Dec 28 14:09:59 2005
@@ -14,7 +14,7 @@ examples/pir/hello-dwim.pir - Parrot's c
The first time you run this program
.sub _main
- .include "DWIM.imc"
+ .include "DWIM.pir"
print "The answer is\n"
add $I0, 20, 23
dec $I0
@@ -30,7 +30,7 @@ The code continues to work exactly as it
like this:
.sub _main
- .include "DWIM.imc"
+ .include "DWIM.pir"
# DWIM "The answer is\n"
# DWIM $I0, 20, 23
# DWIM $I0
@@ -42,7 +42,7 @@ like this:
=cut
.sub _main
- .include "DWIM.imc"
+ .include "DWIM.pir"
print "The answer is\n"
add $I0, 20, 23
dec $I0
Modified: trunk/examples/pir/life.pir
==============================================================================
--- trunk/examples/pir/life.pir (original)
+++ trunk/examples/pir/life.pir Wed Dec 28 14:09:59 2005
@@ -20,7 +20,7 @@ Convert this into proper PIR.
=head1 SEE ALSO
-F<examples/library/ncurses_life.imc>.
+F<examples/library/ncurses_life.pir>.
=cut
Copied: trunk/runtime/parrot/include/DWIM.pir (from r10744,
trunk/runtime/parrot/include/DWIM.imc)
==============================================================================
--- trunk/runtime/parrot/include/DWIM.imc (original)
+++ trunk/runtime/parrot/include/DWIM.pir Wed Dec 28 14:09:59 2005
@@ -136,7 +136,7 @@ err_write:
iter_rep:
unless iter goto iter_end
shift line, iter
- index $I0, line, "DWIM.imc" # ignore
+ index $I0, line, "DWIM.pir" # ignore
if $I0 > 0 goto iter_rep
index $I0, line, " # DWIM "
if $I0 < 0 goto l1 # normal line
@@ -250,7 +250,7 @@ Parrot::DWIM - Parrot's confusing opcode
=head1 SYNOPSIS
.sub _main
- .include "DWIM.imc"
+ .include "DWIM.pir"
print "The answer is\n"
add $I0, 20, 23
dec $I0
@@ -269,7 +269,7 @@ The code continues to work exactly as it
now it looks like this:
.sub _main
- .include "DWIM.imc"
+ .include "DWIM.pir"
# DWIM "The answer is\n"
# DWIM $I0, 20, 23
# DWIM $I0
Modified: trunk/t/examples/library.t
==============================================================================
--- trunk/t/examples/library.t (original)
+++ trunk/t/examples/library.t Wed Dec 28 14:09:59 2005
@@ -74,6 +74,6 @@ END_EXPECTED
TODO:
{
- local $TODO = 'ncurses_life.imc not testable yet';
- fail( 'ncurses_life.imc' );
+ local $TODO = 'ncurses_life.pir not testable yet';
+ fail( 'ncurses_life.pir' );
};