Skip to content

Commit d1a950f

Browse files
authored
Merge pull request #291 from stmuk/master
attempt to update stage0 bootstrap directions
2 parents 7df3a8b + 720cf19 commit d1a950f

File tree

1 file changed

+13
-21
lines changed

1 file changed

+13
-21
lines changed

docs/bootstrapping.pod

Lines changed: 13 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
=head1 Bootstrapping procedure for nqp-rx
1+
=head1 Bootstrapping procedure for NQP
22

3-
NPQ-rx is a bootstrapped compiler, which means that it uses itself to compile
3+
NPQ is a bootstrapped compiler, which means that it uses itself to compile
44
itself.
55

6-
To make the first compilation possible, a compiled version of the compiler is
7-
stored in F</src/stage0/*.pir> and included in the source code repository.
8-
Also the parrot virtual machine ships the same
9-
C<stage0/*.pir> files.
6+
To make the first compilation possible under MoarVM, a compiled version of the
7+
compiler is stored in F<src/vm/moar/stage0/*.moarvm> and included in the source
8+
code repository.
109

1110
When you make changes to the compiler, eventually you need to update these
1211
I<stage0> files.
1312

14-
Here is how you proceed to update the bootstrapping files nqp-rx and parrot.
15-
At any stage, if C<make test> fails, don't go ahead with the following steps,
16-
but fix the problem first.
13+
Here is how you proceed to update the MoarVM bootstrapping files in NQP. At
14+
any stage, if C<make test> fails, don't go ahead with the following steps, but
15+
fix the problem first.
16+
17+
(Note: the equivalent under JVM is F<src/vm/jvm/stage0/*.jar> with the update
18+
target C<make j-bootstrap-files>)
1719

1820
=over
1921

@@ -23,7 +25,7 @@ Make your changes, run C<make test>
2325

2426
=item *
2527

26-
Run C<make bootstrap-files> and C<make test>
28+
Run C<make m-bootstrap-files> and C<make test>
2729

2830
=item *
2931

@@ -33,16 +35,6 @@ Commit the non-bootstrap files that you modified yourself
3335

3436
Commit the bootstrap files
3537

36-
=item *
37-
38-
Copy the I<stage0> files over to parrot:
39-
40-
cp src/stage0/*.pir $PARROT_SRC/ext/nqp-rx/src/stage0
41-
42-
=item *
43-
44-
In the parrot source, run C<make test> and commit
45-
4638
=back
4739

48-
References: L<http://irclog.perlgeek.de/perl6/2010-04-22#i_2253227>
40+
Historic References: L<http://irclog.perlgeek.de/perl6/2010-04-22#i_2253227>

0 commit comments

Comments
 (0)