1
- =head1 Bootstrapping procedure for nqp-rx
1
+ =head1 Bootstrapping procedure for NQP
2
2
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
4
4
itself.
5
5
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.
10
9
11
10
When you make changes to the compiler, eventually you need to update these
12
11
I<stage0> files.
13
12
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>)
17
19
18
20
=over
19
21
@@ -23,7 +25,7 @@ Make your changes, run C<make test>
23
25
24
26
=item *
25
27
26
- Run C<make bootstrap-files> and C<make test>
28
+ Run C<make m- bootstrap-files> and C<make test>
27
29
28
30
=item *
29
31
@@ -33,16 +35,6 @@ Commit the non-bootstrap files that you modified yourself
33
35
34
36
Commit the bootstrap files
35
37
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
-
46
38
=back
47
39
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