[svn:parrot] r38555 - in branches/pmc_pct: . compilers/pmcc compilers/pmcc/t config/gen config/gen/makefiles
cotto at svn.parrot.org
cotto at svn.parrot.org
Thu May 7 23:36:57 UTC 2009
Author: cotto
Date: Thu May 7 23:36:56 2009
New Revision: 38555
URL: https://trac.parrot.org/parrot/changeset/38555
Log:
[pmcc] finish renaming pmc compiler to pmcc, fix references to changed files, etc
Added:
branches/pmc_pct/compilers/pmcc/pmcc.pir (props changed)
- copied unchanged from r38550, branches/pmc_pct/compilers/pmcc/pmc.pir
Deleted:
branches/pmc_pct/compilers/pmcc/pmc.pir
Modified:
branches/pmc_pct/MANIFEST
branches/pmc_pct/compilers/pmcc/t/01-parse.t
branches/pmc_pct/compilers/pmcc/t/02-parse-all-pmcs.t
branches/pmc_pct/compilers/pmcc/t/03-past.t
branches/pmc_pct/compilers/pmcc/t/04-vtable-info.t
branches/pmc_pct/compilers/pmcc/t/05-header.t
branches/pmc_pct/compilers/pmcc/t/06-body.t
branches/pmc_pct/config/gen/makefiles.pm
branches/pmc_pct/config/gen/makefiles/pmcc.in
branches/pmc_pct/config/gen/makefiles/root.in
Modified: branches/pmc_pct/MANIFEST
==============================================================================
--- branches/pmc_pct/MANIFEST Thu May 7 23:31:28 2009 (r38554)
+++ branches/pmc_pct/MANIFEST Thu May 7 23:36:56 2009 (r38555)
@@ -1,7 +1,7 @@
# ex: set ro:
# $Id$
#
-# generated by tools/dev/mk_manifest_and_skip.pl Fri Apr 24 13:11:31 2009 UT
+# generated by tools/dev/mk_manifest_and_skip.pl Thu May 7 23:31:48 2009 UT
#
# See tools/dev/install_files.pl for documentation on the
# format of this file.
@@ -116,6 +116,7 @@
compilers/nqp/t/26-method_ops.t [test]
compilers/nqp/t/27-ternary.t [test]
compilers/nqp/t/28-return.t [test]
+compilers/nqp/t/29-self.t [test]
compilers/nqp/t/harness [test]
compilers/pct/PCT.pir [pct]
compilers/pct/README.pod []doc
@@ -191,31 +192,55 @@
compilers/pirc/t/macro.t [test]
compilers/pirc/t/stmts.t [test]
compilers/pirc/t/subflags.t [test]
-compilers/pmc/README.pod []doc
-compilers/pmc/TODO [pmc]
-compilers/pmc/pmc.pir [pmc]
-compilers/pmc/src/builtins.pir [pmc]
-compilers/pmc/src/parser/actions.pm [pmc]
-compilers/pmc/src/parser/grammar.pg [pmc]
-compilers/pmc/t/01-parse.t [test]
-compilers/pmc/t/02-parse-all-pmcs.t [test]
-compilers/pmc/t/data/class.pmc [test]
-compilers/pmc/t/data/class00.pmc [test]
-compilers/pmc/t/data/class01.pmc [test]
-compilers/pmc/t/data/class02.pmc [test]
-compilers/pmc/t/data/class03.pmc [test]
-compilers/pmc/t/data/class04.pmc [test]
-compilers/pmc/t/data/class05.pmc [test]
-compilers/pmc/t/data/class06.pmc [test]
-compilers/pmc/t/data/class07.pmc [test]
-compilers/pmc/t/data/class08.pmc [test]
-compilers/pmc/t/data/class09.pmc [test]
-compilers/pmc/t/data/class10.pmc [test]
-compilers/pmc/t/data/class11.pmc [test]
-compilers/pmc/t/data/class12.pmc [test]
-compilers/pmc/t/data/class13.pmc [test]
-compilers/pmc/t/data/class14.pmc [test]
-compilers/pmc/t/data/class15.pmc [test]
+compilers/pmcc/DOTPLAN.pod [pmcc]
+compilers/pmcc/README.pod []doc
+compilers/pmcc/TODO [pmcc]
+compilers/pmcc/pmcc.pir [pmcc]
+compilers/pmcc/src/builtins.pir [pmcc]
+compilers/pmcc/src/emitter.pm [pmcc]
+compilers/pmcc/src/emitter/c.pir [pmcc]
+compilers/pmcc/src/emitter/pmc.pir [pmcc]
+compilers/pmcc/src/emitter/pmc.pm [pmcc]
+compilers/pmcc/src/nodes.pir [pmcc]
+compilers/pmcc/src/parser/actions.pm [pmcc]
+compilers/pmcc/src/parser/grammar.pg [pmcc]
+compilers/pmcc/src/vtable_info.pir [pmcc]
+compilers/pmcc/src/vtable_info.pm [pmcc]
+compilers/pmcc/t/01-parse.t [test]
+compilers/pmcc/t/02-parse-all-pmcs.t [test]
+compilers/pmcc/t/03-past.t [test]
+compilers/pmcc/t/04-vtable-info.t [test]
+compilers/pmcc/t/05-header.t [test]
+compilers/pmcc/t/06-body.t [test]
+compilers/pmcc/t/common.pir [test]
+compilers/pmcc/t/data/class.pmc [test]
+compilers/pmcc/t/data/class00.pmc [test]
+compilers/pmcc/t/data/class01.pmc [test]
+compilers/pmcc/t/data/class02.pmc [test]
+compilers/pmcc/t/data/class03.pmc [test]
+compilers/pmcc/t/data/class04.pmc [test]
+compilers/pmcc/t/data/class05.pmc [test]
+compilers/pmcc/t/data/class06.pmc [test]
+compilers/pmcc/t/data/class07.pmc [test]
+compilers/pmcc/t/data/class08.pmc [test]
+compilers/pmcc/t/data/class09.pmc [test]
+compilers/pmcc/t/data/class10.pmc [test]
+compilers/pmcc/t/data/class11.pmc [test]
+compilers/pmcc/t/data/class12.pmc [test]
+compilers/pmcc/t/data/class13.pmc [test]
+compilers/pmcc/t/data/class14.pmc [test]
+compilers/pmcc/t/data/class15.pmc [test]
+compilers/pmcc/t/data/class16.pmc [test]
+compilers/pmcc/t/data/class17.pmc [test]
+compilers/pmcc/t/data/class18.pmc [test]
+compilers/pmcc/t/data/class19.pmc [test]
+compilers/pmcc/t/data/class20.pmc [test]
+compilers/pmcc/t/data/class21.pmc [test]
+compilers/pmcc/t/data/class22.pmc [test]
+compilers/pmcc/t/data/class23.pmc [test]
+compilers/pmcc/t/data/class24.pmc [test]
+compilers/pmcc/t/harness [test]
+compilers/pmcc/tools/vtable_pm.pl [pmcc]
compilers/tge/README []doc
compilers/tge/TGE.pir [tge]
compilers/tge/TGE/Compiler.pir [tge]
@@ -351,7 +376,7 @@
config/gen/makefiles/pct.in []
config/gen/makefiles/pge.in []
config/gen/makefiles/pirc.in []
-config/gen/makefiles/pmc.in []
+config/gen/makefiles/pmcc.in []
config/gen/makefiles/root.in []
config/gen/makefiles/tge.in []
config/gen/opengl.pm []
Deleted: branches/pmc_pct/compilers/pmcc/pmc.pir
==============================================================================
--- branches/pmc_pct/compilers/pmcc/pmc.pir Thu May 7 23:36:56 2009 (r38554)
+++ /dev/null 00:00:00 1970 (deleted)
@@ -1,47 +0,0 @@
-# Copyright (C) 2009, Parrot Foundation.
-# $Id$
-
-.namespace [ 'PMC';'Compiler' ]
-
-.sub '__onload' :load :init
- load_bytecode 'PGE.pbc'
- load_bytecode 'PCT.pbc'
- load_bytecode 'compilers/nqp/nqp.pbc'
-
- .local pmc p6meta
- p6meta = new 'P6metaclass'
-
- p6meta.'new_class'('PMC::Compiler', 'parent'=>'PCT::HLLCompiler')
-
- # Register grammar and action
- $P0 = new [ 'PMC';'Compiler' ]
- $P0.'language'('PMC')
- $P0.'parsegrammar'('PMC::Grammar')
- $P0.'parseactions'('PMC::Grammar::Actions')
-
-.end
-
-
-.sub 'main' :main
- .param pmc args
- $P0 = compreg 'PMC'
- .tailcall $P0.'command_line'(args, 'encoding'=>'utf8', 'transcode'=>'ascii')
-.end
-
-.include 'src/nodes.pir'
-.include 'src/vtable_info.pir'
-.include 'src/emitter/pmc.pir'
-.include 'src/emitter/c.pir'
-
-.include 'src/gen_emitter.pir'
-.include 'src/emitter/gen_pmc.pir'
-.include 'src/gen_vtable_info.pir'
-.include 'src/parser/gen_grammar.pir'
-.include 'src/parser/gen_actions.pir'
-.include 'src/builtins.pir'
-
-# Local Variables:
-# mode: pir
-# fill-column: 100
-# End:
-# vim: expandtab shiftwidth=4 ft=pir:
Copied: branches/pmc_pct/compilers/pmcc/pmcc.pir (from r38550, branches/pmc_pct/compilers/pmcc/pmc.pir)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/pmc_pct/compilers/pmcc/pmcc.pir Thu May 7 23:36:56 2009 (r38555, copy of r38550, branches/pmc_pct/compilers/pmcc/pmc.pir)
@@ -0,0 +1,47 @@
+# Copyright (C) 2009, Parrot Foundation.
+# $Id$
+
+.namespace [ 'PMC';'Compiler' ]
+
+.sub '__onload' :load :init
+ load_bytecode 'PGE.pbc'
+ load_bytecode 'PCT.pbc'
+ load_bytecode 'compilers/nqp/nqp.pbc'
+
+ .local pmc p6meta
+ p6meta = new 'P6metaclass'
+
+ p6meta.'new_class'('PMC::Compiler', 'parent'=>'PCT::HLLCompiler')
+
+ # Register grammar and action
+ $P0 = new [ 'PMC';'Compiler' ]
+ $P0.'language'('PMC')
+ $P0.'parsegrammar'('PMC::Grammar')
+ $P0.'parseactions'('PMC::Grammar::Actions')
+
+.end
+
+
+.sub 'main' :main
+ .param pmc args
+ $P0 = compreg 'PMC'
+ .tailcall $P0.'command_line'(args, 'encoding'=>'utf8', 'transcode'=>'ascii')
+.end
+
+.include 'src/nodes.pir'
+.include 'src/vtable_info.pir'
+.include 'src/emitter/pmc.pir'
+.include 'src/emitter/c.pir'
+
+.include 'src/gen_emitter.pir'
+.include 'src/emitter/gen_pmc.pir'
+.include 'src/gen_vtable_info.pir'
+.include 'src/parser/gen_grammar.pir'
+.include 'src/parser/gen_actions.pir'
+.include 'src/builtins.pir'
+
+# Local Variables:
+# mode: pir
+# fill-column: 100
+# End:
+# vim: expandtab shiftwidth=4 ft=pir:
Modified: branches/pmc_pct/compilers/pmcc/t/01-parse.t
==============================================================================
--- branches/pmc_pct/compilers/pmcc/t/01-parse.t Thu May 7 23:31:28 2009 (r38554)
+++ branches/pmc_pct/compilers/pmcc/t/01-parse.t Thu May 7 23:36:56 2009 (r38555)
@@ -5,7 +5,7 @@
.sub 'main' :main
.include 'test_more.pir'
- load_bytecode 'pmc.pbc'
+ load_bytecode 'pmcc.pbc'
.local int total
total = 25
Modified: branches/pmc_pct/compilers/pmcc/t/02-parse-all-pmcs.t
==============================================================================
--- branches/pmc_pct/compilers/pmcc/t/02-parse-all-pmcs.t Thu May 7 23:31:28 2009 (r38554)
+++ branches/pmc_pct/compilers/pmcc/t/02-parse-all-pmcs.t Thu May 7 23:36:56 2009 (r38555)
@@ -4,7 +4,7 @@
.sub 'main' :main
.include 'test_more.pir'
- load_bytecode 'pmc.pbc'
+ load_bytecode 'pmcc.pbc'
.local int total
.local pmc os, all_files, pmc_files, dynpmc_files, it
Modified: branches/pmc_pct/compilers/pmcc/t/03-past.t
==============================================================================
--- branches/pmc_pct/compilers/pmcc/t/03-past.t Thu May 7 23:31:28 2009 (r38554)
+++ branches/pmc_pct/compilers/pmcc/t/03-past.t Thu May 7 23:36:56 2009 (r38555)
@@ -3,8 +3,8 @@
.include 't/common.pir'
.sub 'main' :main
-.include 'test_more.pir'
-load_bytecode 'pmc.pbc'
+ .include 'test_more.pir'
+ load_bytecode 'pmcc.pbc'
.local int total
total = 0
Modified: branches/pmc_pct/compilers/pmcc/t/04-vtable-info.t
==============================================================================
--- branches/pmc_pct/compilers/pmcc/t/04-vtable-info.t Thu May 7 23:31:28 2009 (r38554)
+++ branches/pmc_pct/compilers/pmcc/t/04-vtable-info.t Thu May 7 23:36:56 2009 (r38555)
@@ -3,8 +3,8 @@
# Test that vtables initialised properly.
.sub 'main' :main
-.include 'test_more.pir'
- load_bytecode 'compilers/pmc/pmc.pbc'
+ .include 'test_more.pir'
+ load_bytecode 'pmcc.pbc'
plan(2)
Modified: branches/pmc_pct/compilers/pmcc/t/05-header.t
==============================================================================
--- branches/pmc_pct/compilers/pmcc/t/05-header.t Thu May 7 23:31:28 2009 (r38554)
+++ branches/pmc_pct/compilers/pmcc/t/05-header.t Thu May 7 23:36:56 2009 (r38555)
@@ -4,8 +4,8 @@
.include 't/common.pir'
.sub 'main' :main
-.include 'test_more.pir'
-load_bytecode 'pmc.pbc'
+ .include 'test_more.pir'
+ load_bytecode 'pmcc.pbc'
.local int total
plan(5)
Modified: branches/pmc_pct/compilers/pmcc/t/06-body.t
==============================================================================
--- branches/pmc_pct/compilers/pmcc/t/06-body.t Thu May 7 23:31:28 2009 (r38554)
+++ branches/pmc_pct/compilers/pmcc/t/06-body.t Thu May 7 23:36:56 2009 (r38555)
@@ -4,8 +4,8 @@
.include 't/common.pir'
.sub 'main' :main
-.include 'test_more.pir'
-load_bytecode 'pmc.pbc'
+ .include 'test_more.pir'
+ load_bytecode 'pmcc.pbc'
.local int total
plan(4)
Modified: branches/pmc_pct/config/gen/makefiles.pm
==============================================================================
--- branches/pmc_pct/config/gen/makefiles.pm Thu May 7 23:31:28 2009 (r38554)
+++ branches/pmc_pct/config/gen/makefiles.pm Thu May 7 23:36:56 2009 (r38555)
@@ -48,8 +48,8 @@
{ SOURCE => 'config/gen/makefiles/tge.in' },
'compilers/json/Makefile' =>
{ SOURCE => 'config/gen/makefiles/json.in' },
- 'compilers/pmc/Makefile' =>
- { SOURCE => 'config/gen/makefiles/pmc.in' },
+ 'compilers/pmcc/Makefile' =>
+ { SOURCE => 'config/gen/makefiles/pmcc.in' },
'compilers/pirc/Makefile' =>
{ SOURCE => 'config/gen/makefiles/pirc.in' },
'src/dynpmc/Makefile' =>
Modified: branches/pmc_pct/config/gen/makefiles/pmcc.in
==============================================================================
--- branches/pmc_pct/config/gen/makefiles/pmcc.in Thu May 7 23:31:28 2009 (r38554)
+++ branches/pmc_pct/config/gen/makefiles/pmcc.in Thu May 7 23:36:56 2009 (r38555)
@@ -12,10 +12,10 @@
PARROT_LIBRARY := @build_dir@/runtime/parrot/library
PGE_LIBRARY := @build_dir@/runtime/parrot/library/PGE
-all: pmc.pbc
+all: pmcc.pbc
SOURCES := \
- pmc.pir \
+ pmcc.pir \
src/nodes.pir \
src/vtable_info.pir \
src/emitter/gen_pmc.pir \
@@ -27,10 +27,10 @@
src/builtins.pir
# the default target
-pmc.pbc: $(PARROT) $(PGE_LIBRARY)/Perl6Grammar.pir $(SOURCES)
+pmcc.pbc: $(PARROT) $(PGE_LIBRARY)/Perl6Grammar.pir $(SOURCES)
$(PARROT) $(PARROT_ARGS) $(PGE_LIBRARY)/Perl6Grammar.pir \
--output=src/parser/gen_grammar.pir src/parser/grammar.pg
- $(PARROT) -o pmc.pbc pmc.pir
+ $(PARROT) -o pmcc.pbc pmcc.pir
src/parser/gen_grammar.pir: $(PERL6GRAMMAR) src/parser/grammar.pg
$(PARROT) $(PARROT_ARGS) $(PERL6GRAMMAR) \
Modified: branches/pmc_pct/config/gen/makefiles/root.in
==============================================================================
--- branches/pmc_pct/config/gen/makefiles/root.in Thu May 7 23:31:28 2009 (r38554)
+++ branches/pmc_pct/config/gen/makefiles/root.in Thu May 7 23:36:56 2009 (r38555)
@@ -152,7 +152,7 @@
compilers/pct/Makefile \
compilers/pge/Makefile \
compilers/tge/Makefile \
- compilers/pmc/Makefile \
+ compilers/pmcc/Makefile \
editor/Makefile \
ext/Makefile \
src/dynoplibs/Makefile
@@ -1393,7 +1393,7 @@
$(MAKE) compilers/tge
$(MAKE) compilers/nqp
$(MAKE) compilers/json
- $(MAKE) compilers/pmc
+ $(MAKE) compilers/pmcc
compilers-clean :
$(MAKE) compilers/pct clean
@@ -1402,7 +1402,7 @@
$(MAKE) compilers/nqp clean
$(MAKE) compilers/json clean
$(MAKE) compilers/pirc clean
- $(MAKE) compilers/pmc clean
+ $(MAKE) compilers/pmcc clean
###############################################################################
#
More information about the parrot-commits
mailing list