Browse files

remove more pirc references.

  • Loading branch information...
1 parent 2f5ab6e commit a3a874ddacf48d4541f62761abadb69f1c06dd8b @coke coke committed Nov 24, 2010
View
14 .gitignore
@@ -79,7 +79,6 @@
/pbc_to_exe
/pbc_to_exe.*
/perl6
-/pirc
/tags
/temp.file
/test
@@ -126,19 +125,6 @@
/compilers/pge/PGE.pbc
# generated from svn:ignore of 'compilers/pge/PGE/'
/compilers/pge/PGE/builtins_gen.pir
-# generated from svn:ignore of 'compilers/pirc/'
-/compilers/pirc/*.o
-/compilers/pirc/*.obj
-/compilers/pirc/*.pbd
-/compilers/pirc/pirc
-/compilers/pirc/pirc.exe
-# generated from svn:ignore of 'compilers/pirc/t/'
-/compilers/pirc/t/basic_?.pir
-/compilers/pirc/t/basic_??.pir
-/compilers/pirc/t/heredoc_?.pir
-/compilers/pirc/t/macro_?.pir
-/compilers/pirc/t/stmts_?.pir
-/compilers/pirc/t/subflags_?.pir
# generated from svn:ignore of 'compilers/tge/'
/compilers/tge/tgc.pbc
# generated from svn:ignore of 'compilers/tge/TGE/'
View
24 MANIFEST.SKIP
@@ -116,28 +116,6 @@
^/compilers/pge/PGE/builtins_gen\.pir/
^/compilers/pge/PGE\.pbc$
^/compilers/pge/PGE\.pbc/
-^/compilers/pirc/.*\.o$
-^/compilers/pirc/.*\.o/
-^/compilers/pirc/.*\.obj$
-^/compilers/pirc/.*\.obj/
-^/compilers/pirc/.*\.pbd$
-^/compilers/pirc/.*\.pbd/
-^/compilers/pirc/pirc$
-^/compilers/pirc/pirc/
-^/compilers/pirc/pirc\.exe$
-^/compilers/pirc/pirc\.exe/
-^/compilers/pirc/t/basic_??\.pir$
-^/compilers/pirc/t/basic_??\.pir/
-^/compilers/pirc/t/basic_?\.pir$
-^/compilers/pirc/t/basic_?\.pir/
-^/compilers/pirc/t/heredoc_?\.pir$
-^/compilers/pirc/t/heredoc_?\.pir/
-^/compilers/pirc/t/macro_?\.pir$
-^/compilers/pirc/t/macro_?\.pir/
-^/compilers/pirc/t/stmts_?\.pir$
-^/compilers/pirc/t/stmts_?\.pir/
-^/compilers/pirc/t/subflags_?\.pir$
-^/compilers/pirc/t/subflags_?\.pir/
^/compilers/tge/TGE/Parser\.pir$
^/compilers/tge/TGE/Parser\.pir/
^/compilers/tge/tgc\.pbc$
@@ -446,8 +424,6 @@
^/pbc_to_exe\..*/
^/perl6$
^/perl6/
-^/pirc$
-^/pirc/
^/ports$
^/ports/
^/runtime/parrot/dynext/.*\.bundle$
View
1 RESPONSIBLE_PARTIES
@@ -56,7 +56,6 @@ Core Developer Jonathan Worthington
Compiler Developer Patrick Michaud (PGE, PCT)
Allison Randal (TGE)
- Klaas-Jan Stol (PIRC)
Platform Porter Allison Randal (Debian, Ubuntu)
Francois Perrad (MinGW32)
View
7 docs/book/draft/appa_glossary.pod
@@ -212,13 +212,6 @@ These actions can then create the appropriate PAST nodes. A PAST to PIR
transformation already exists. Depending on the language, other phases can
be added, or overridden (for instance, the PAST to PIR transformation).
-=item PIRC
-
-Acronym for PIR Compiler, a PIR compiler currently under development.
-The purpose is to reimplement the PIR language, which is currently
-implemented by IMCC. PIRC is written using a Bison and Flex grammar
-specification.
-
=item PDD
Parrot Design Document: documents that describe the features parrot must
View
4 docs/book/draft/appd_build_options.pod
@@ -33,8 +33,8 @@ common packaging systems.
=item * bison and flex
Bison and Flex are used to create the lexical analyzer and parser components
-for the PIR compilers IMCC and PIRC. These are not necessary most of the time
-unless you are planning to hack on IMCC and PIRC directly.
+for the PIR compiler IMCC. These are not necessary most of the time
+unless you are planning to hack on IMCC directly.
=item * ICU
View
2 docs/book/draft/ch01_introduction.pod
@@ -140,7 +140,7 @@ subsystem, the exceptions system, or the concurrency scheduler.
X<compiler developer role>
Compiler developers develop and maintain one or more Parrot front-end
-compilers such as IMCC, PIRC, PGE and TGE.
+compilers such as IMCC, PGE and TGE.
=item High-Level Language Developer
View
2 docs/book/pct/ch01_introduction.pod
@@ -140,7 +140,7 @@ subsystem, the exceptions system, or the concurrency scheduler.
X<compiler developer role>
Compiler developers develop and maintain one or more Parrot front-end
-compilers such as IMCC, PIRC, PGE and TGE.
+compilers such as IMCC, PGE and TGE.
=item High-Level Language Developer
View
7 docs/glossary.pod
@@ -230,13 +230,6 @@ These actions can then create the appropriate PAST nodes. A PAST to PIR
transformation already exists. Depending on the language, other phases can
be added, or overridden (for instance, the PAST to PIR transformation).
-=item PIRC
-
-Acronym for PIR Compiler, a PIR compiler currently under development.
-The purpose is to reimplement the PIR language, which is currently
-implemented by IMCC. PIRC is written using a Bison and Flex grammar
-specification.
-
=item PDD
Parrot Design Document: documents that describe the features parrot must
View
6 docs/imcc/imcfaq.pod
@@ -25,11 +25,7 @@ code. It is a possible target language for compilers targeting
the Parrot Virtual Machine. PIR is halfway between
a High Level Language (HLL) and Parrot Assembly (PASM).
-IMCC is the current implementation of the PIR language. A PGE-based implementation
-can be found in languages/PIR. A completely handwritten, recursive-descent parser
-in C can be found in compilers/pirc. Both the PGE-based parser and pirc are
-a bit different, as it is very difficult to implement the exact language that IMCC
-implements. Note too, that they are merely parsers, and not finished compilers.
+IMCC is the current implementation of the PIR language.
=head2 What is the history of IMCC?
View
2 docs/pdds/draft/pdd06_pasm.pod
@@ -122,8 +122,6 @@ of the generated bytecode.
Below is an overview of the grammar of a PASM file.
-{{ See compilers/pirc/src for a bison-based implementation of PASM }}
-
pasm_file:
[ pasm_line '\n' ]*
View
13 docs/pdds/pdd19_pir.pod
@@ -996,8 +996,7 @@ empty parameter list), no parentheses may be used in the expansion.>
=item * Heredoc arguments
-Heredoc arguments are not allowed when expanding a macro. The next
-implementation of PIR ("PIRC") will be able to handle this correctly.
+Heredoc arguments are not allowed when expanding a macro.
This means that, currently, when using IMCC, the following is not allowed:
=begin PIR_TODO
@@ -1374,16 +1373,6 @@ This is the current implementation being used in Parrot. Some of the
specified syntactic constructs in this PDD are not implemented in
IMCC; these constructs are marked with notes saying so.
-=item * compilers/pirc
-
-This is a new implementation which will fix several of IMCC's
-shortcomings. It will replace IMCC.
-
-=item * languages/PIR
-
-This is a PGE-based implementation, but needs to be updated
-and completed.
-
=back
=head2 References
View
22 lib/Parrot/Distribution.pm
@@ -405,28 +405,6 @@ This is to exclude automatically generated C-language files Parrot might have.
compilers/imcc/imclexer.c
compilers/imcc/imcparser.c
compilers/imcc/imcparser.h
- compilers/pirc/src/main.c
- compilers/pirc/src/pir.l
- compilers/pirc/src/pir.y
- compilers/pirc/src/pasm.l
- compilers/pirc/src/pasm.y
- compilers/pirc/src/pircompiler.h
- compilers/pirc/src/pirlexer.c
- compilers/pirc/src/pirlexer.h
- compilers/pirc/src/pirparser.c
- compilers/pirc/src/pirparser.h
- compilers/pirc/src/pircompunit.c
- compilers/pirc/src/pircompunit.h
- compilers/pirc/src/hdocprep.l
- compilers/pirc/src/hdocprep.c
- compilers/pirc/macro/lexer.h
- compilers/pirc/macro/macro.h
- compilers/pirc/macro/macro.l
- compilers/pirc/macro/macro.y
- compilers/pirc/macro/macrolexer.c
- compilers/pirc/macro/macrolexer.h
- compilers/pirc/macro/macroparser.c
- compilers/pirc/macro/macroparser.h
include/parrot/config.h
include/parrot/has_header.h
include/parrot/oplib/core_ops.h
View
1 lib/Parrot/Docs/Section/Compilers.pm
@@ -45,7 +45,6 @@ sub new {
$self->new_group( 'TGE', 'the Tree Grammar Engine', 'compilers/tge' ),
$self->new_group( 'PCT', 'Parrot Compiler Toolkit', 'compilers/pct' ),
$self->new_group( 'JSON', 'JavaScript Object Notation', 'compilers/data_json' ),
- $self->new_group( 'PIRC', 'a PIR Compiler', 'compilers/pirc' ),
$self->new_group( 'NCIGEN', 'Native Call Interface Generator', 'compilers/ncigen' ),
);
}
View
9 lib/Parrot/Test.pm
@@ -704,8 +704,6 @@ sub _generate_test_functions {
my $path_to_parrot = path_to_parrot();
my $parrot = File::Spec->join( File::Spec->curdir(),
'parrot' . $PConfig{exe} );
- my $pirc = File::Spec->join( File::Spec->curdir(),
- qw( compilers pirc ), "pirc$PConfig{exe}" );
##### 1: Parrot test map #####
my %parrot_test_map = map {
@@ -788,11 +786,6 @@ sub _generate_test_functions {
pir_2_pasm_isnt => 'isnt_eq',
pir_2_pasm_like => 'like',
pir_2_pasm_unlike => 'unlike',
-
- pirc_2_pasm_is => 'is_eq',
- pirc_2_pasm_isnt => 'isnt_eq',
- pirc_2_pasm_like => 'like',
- pirc_2_pasm_unlike => 'unlike',
);
foreach my $func ( keys %pir_2_pasm_test_map ) {
@@ -830,8 +823,6 @@ sub _generate_test_functions {
$args .= " $opt --output=$out_f";
$args =~ s/--run-exec//;
$cmd = qq{$parrot $args "$code_f"};
- } elsif ($func =~ /^pirc_/) {
- $cmd = qq{$pirc -b -x "$code_f"};
}
write_code_to_file( $code, $code_f );
View
15 t/codingstd/linelength.t
@@ -109,21 +109,6 @@ __DATA__
# Lex and Bison generated
compilers/imcc/imclexer.c
compilers/imcc/imcparser.c
-compilers/pirc/src/main.c
-compilers/pirc/src/pirlexer.c
-compilers/pirc/src/pirlexer.h
-compilers/pirc/src/pirparser.c
-compilers/pirc/src/pircompunit.h
-compilers/pirc/src/pircompunit.c
-compilers/pirc/src/pasm.l
-compilers/pirc/src/pasm.y
-compilers/pirc/macro/macro.h
-compilers/pirc/macro/macrolexer.c
-compilers/pirc/macro/macrolexer.h
-compilers/pirc/macro/macroparser.c
-compilers/pirc/macro/macroparser.h
-compilers/pirc/src/hdocprep.l
-compilers/pirc/src/hdocprep.c
# generated files
src/ops/core_ops.c
# generated by tools/dev/nci_thunk_gen.pir

0 comments on commit a3a874d

Please sign in to comment.