Author: particle
Date: Wed Dec 28 09:41:22 2005
New Revision: 10733
Added:
trunk/languages/BASIC/compiler/RT_aggregates.pir
- copied unchanged from r10724,
trunk/languages/BASIC/compiler/RT_aggregates.imc
trunk/languages/BASIC/compiler/RT_builtins.pir
- copied unchanged from r10724,
trunk/languages/BASIC/compiler/RT_builtins.imc
trunk/languages/BASIC/compiler/RT_debugger.pir
- copied unchanged from r10724,
trunk/languages/BASIC/compiler/RT_debugger.imc
trunk/languages/BASIC/compiler/RT_initialize.pir
- copied unchanged from r10724,
trunk/languages/BASIC/compiler/RT_initialize.imc
trunk/languages/BASIC/compiler/RT_io.pir
- copied unchanged from r10724, trunk/languages/BASIC/compiler/RT_io.imc
trunk/languages/BASIC/compiler/RT_platform_ANSIscreen.pir
- copied unchanged from r10724,
trunk/languages/BASIC/compiler/RT_platform_ANSIscreen.imc
trunk/languages/BASIC/compiler/RT_platform_win32.pir
- copied unchanged from r10724,
trunk/languages/BASIC/compiler/RT_platform_win32.imc
trunk/languages/BASIC/compiler/RT_support.pir
- copied unchanged from r10724,
trunk/languages/BASIC/compiler/RT_support.imc
Removed:
trunk/languages/BASIC/compiler/RT_aggregates.imc
trunk/languages/BASIC/compiler/RT_builtins.imc
trunk/languages/BASIC/compiler/RT_debugger.imc
trunk/languages/BASIC/compiler/RT_initialize.imc
trunk/languages/BASIC/compiler/RT_io.imc
trunk/languages/BASIC/compiler/RT_platform_ANSIscreen.imc
trunk/languages/BASIC/compiler/RT_platform_win32.imc
trunk/languages/BASIC/compiler/RT_support.imc
Modified:
trunk/MANIFEST
trunk/languages/BASIC/compiler/BASIC_README
trunk/languages/BASIC/compiler/RT_platform.imc
trunk/languages/BASIC/compiler/compile.pl
trunk/languages/BASIC/compiler/testrun.pl
Log:
#37520: [TODO] rename library files from .imc to .pir
~languages/BASIC/ converted
Modified: trunk/MANIFEST
==============================================================================
--- trunk/MANIFEST (original)
+++ trunk/MANIFEST Wed Dec 28 09:41:22 2005
@@ -650,15 +650,15 @@ languages/BASIC/compiler/COMP_expression
languages/BASIC/compiler/COMP_parsefuncs.pm [BASIC]
languages/BASIC/compiler/COMP_parser.pm [BASIC]
languages/BASIC/compiler/COMP_toker.pm [BASIC]
-languages/BASIC/compiler/RT_aggregates.imc [BASIC]
-languages/BASIC/compiler/RT_builtins.imc [BASIC]
-languages/BASIC/compiler/RT_debugger.imc [BASIC]
-languages/BASIC/compiler/RT_initialize.imc [BASIC]
-languages/BASIC/compiler/RT_io.imc [BASIC]
-languages/BASIC/compiler/RT_platform.imc [BASIC]
-languages/BASIC/compiler/RT_platform_ANSIscreen.imc [BASIC]
-languages/BASIC/compiler/RT_platform_win32.imc [BASIC]
-languages/BASIC/compiler/RT_support.imc [BASIC]
+languages/BASIC/compiler/RT_aggregates.pir [BASIC]
+languages/BASIC/compiler/RT_builtins.pir [BASIC]
+languages/BASIC/compiler/RT_debugger.pir [BASIC]
+languages/BASIC/compiler/RT_initialize.pir [BASIC]
+languages/BASIC/compiler/RT_io.pir [BASIC]
+languages/BASIC/compiler/RT_platform.pir [BASIC]
+languages/BASIC/compiler/RT_platform_ANSIscreen.pir [BASIC]
+languages/BASIC/compiler/RT_platform_win32.pir [BASIC]
+languages/BASIC/compiler/RT_support.pir [BASIC]
languages/BASIC/compiler/compile.pl [BASIC]
languages/BASIC/compiler/readme.bas [BASIC]
languages/BASIC/compiler/samples/chess.bas [BASIC]
Modified: trunk/languages/BASIC/compiler/BASIC_README
==============================================================================
--- trunk/languages/BASIC/compiler/BASIC_README (original)
+++ trunk/languages/BASIC/compiler/BASIC_README Wed Dec 28 09:41:22 2005
@@ -71,7 +71,7 @@ How do I get going? Quickstart?
1. Edit "testrun.pl" and change the pathname at the beginning of the
script to wherever parrot is.
2. Type "perl compile.pl samples/wumpus2.bas"
- This produces "TARG_test.imc" and "TARG_localfuncs.imc"
+ This produces "TARG_test.pir" and "TARG_localfuncs.pir"
3. Type "perl testrun.pl" and enjoy.
eliza2 and wumpus2 are simply ports from the Parrot BASIC 1.0 version. All
that had to be done were to add DIM statements and a RANDOMIZE.
Modified: trunk/languages/BASIC/compiler/RT_platform.imc
==============================================================================
--- trunk/languages/BASIC/compiler/RT_platform.imc (original)
+++ trunk/languages/BASIC/compiler/RT_platform.imc Wed Dec 28 09:41:22 2005
@@ -1,5 +1,5 @@
-.include "RT_platform_win32.imc"
-.include "RT_platform_ANSIscreen.imc"
+.include "RT_platform_win32.pir"
+.include "RT_platform_ANSIscreen.pir"
.sub _platform_setup # void platform_setup(void)
sysinfo S0, 4
ne S0, "MSWin32", NOTWIN
Modified: trunk/languages/BASIC/compiler/compile.pl
==============================================================================
--- trunk/languages/BASIC/compiler/compile.pl (original)
+++ trunk/languages/BASIC/compiler/compile.pl Wed Dec 28 09:41:22 2005
@@ -43,7 +43,7 @@ tokenize();
#push(@ARGV);
parse(@ARGV);
-open(CODE, ">TARG_test.imc") || die;
+open(CODE, ">TARG_test.pir") || die;
foreach my $seg ("_main", "_basicmain", keys %code) {
next unless exists $code{$seg};
@@ -203,13 +203,13 @@ print CODE<<RUNTIMESHUTDOWN;
#
# Pull in the runtime libraries
#
-.include "RT_initialize.imc"
-.include "RT_aggregates.imc"
-.include "RT_builtins.imc"
-.include "RT_debugger.imc"
-.include "RT_io.imc"
-.include "RT_platform.imc"
-.include "RT_support.imc"
+.include "RT_initialize.pir"
+.include "RT_aggregates.pir"
+.include "RT_builtins.pir"
+.include "RT_debugger.pir"
+.include "RT_io.pir"
+.include "RT_platform.pir"
+.include "RT_support.pir"
RUNTIMESHUTDOWN
close(CODE);
Modified: trunk/languages/BASIC/compiler/testrun.pl
==============================================================================
--- trunk/languages/BASIC/compiler/testrun.pl (original)
+++ trunk/languages/BASIC/compiler/testrun.pl Wed Dec 28 09:41:22 2005
@@ -7,4 +7,4 @@ unlink "_test.pbc";
# XXX - This file should be generated at config time, so as to get
# the appropriate path and executable name.
-$a=system("$parpath/parrot TARG_test.imc");
+$a=system("$parpath/parrot TARG_test.pir");