Skip to content

Commit

Permalink
Cleanup some old perl6 references.
Browse files Browse the repository at this point in the history
Part of #751
  • Loading branch information
coke committed Apr 16, 2022
1 parent b4d5848 commit bd6fcb9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions README.pod
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ B<NOTE:> there's B<no end-user support> for NQP and the behaviour can
change without notice. It's a tool for writing Raku compilers, not a
low-level module for Raku programmers.

The L<examples directory|https://github.com/perl6/nqp/tree/master/examples> is a good place to start, with the
L<loops|https://github.com/perl6/nqp/blob/master/examples/loops.nqp> and other files. Opcodes are listed in
L<the docs directory|https://github.com/perl6/nqp/blob/master/docs/ops.markdown>. NQP also has built-in routines
listed in L<the docs directory|https://github.com/perl6/nqp/blob/master/docs/built-ins.md>. You can use NQP from this
The L<examples directory|https://github.com/raku/nqp/tree/master/examples> is a good place to start, with the
L<loops|https://github.com/raku/nqp/blob/master/examples/loops.nqp> and other files. Opcodes are listed in
L<the docs directory|https://github.com/raku/nqp/blob/master/docs/ops.markdown>. NQP also has built-in routines
listed in L<the docs directory|https://github.com/raku/nqp/blob/master/docs/built-ins.md>. You can use NQP from this
release, it will be already installed if you have built Raku from
scratch.

Expand Down
4 changes: 2 additions & 2 deletions docs/qast.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ QAST::CompUnit incorporates information that is relevant to the entire
unit of code that is being compiled. This includes:

* **hll** - the name of the high level language that this QAST tree was
produced from, for example, "perl6", "tcl", "bf".
produced from, for example, "raku", "tcl", "bf".

* **load** - code to evaluate at the point that the compilation unit is
loaded as a module (but not if it is invoked as a mainline program).
Expand All @@ -32,7 +32,7 @@ Example usage:

QAST::CompUnit.new(
# Set the HLL.
:hll('perl6'),
:hll('raku'),
# This variable contains the outermost QAST::Block of the
# program.
Expand Down
2 changes: 1 addition & 1 deletion examples/CallFromJava.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// nqp$ javac -cp bin/ examples/CallFromJava.java
// nqp$ java -cp nqp-runtime.jar:3rdparty/asm/asm-4.1.jar:3rdparty/asm/asm-tree-4.1.jar:. examples.CallFromJava nqp.jar nqp 'say(2+2)'
// 4
// rakudo$ java -cp ../nqp-jvm:../nqp-jvm/3rdparty/asm/asm-4.1.jar:../nqp-jvm/3rdparty/asm/asm-tree-4.1.jar:../nqp-jvm/nqp-runtime.jar:rakudo-runtime.jar:. examples.CallFromJava perl6.jar perl6 'say 2 + 2'
// rakudo$ java -cp ../nqp-jvm:../nqp-jvm/3rdparty/asm/asm-4.1.jar:../nqp-jvm/3rdparty/asm/asm-tree-4.1.jar:../nqp-jvm/nqp-runtime.jar:rakudo-runtime.jar:. examples.CallFromJava raku.jar raku 'say 2 + 2'
// 4


Expand Down
2 changes: 1 addition & 1 deletion examples/use-classes.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# based on blog post by Andrew Shitov:
#
# https://perl6.online/2018/01/09/what-does-nqpgetattr-do/
# https://andrewshitov.com/2018/01/09/what-does-nqpgetattr-do/
#
# class C {
# has $.attr is rw;
Expand Down
4 changes: 2 additions & 2 deletions t/nqp/060-bigint.t
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ ok(iseq(nqp::bitand_I(nqp::fromstr_I('-1073741825', $one), $one, $one), 1),
'Bit ops (RT 109740)');

# Now we'll create a type that boxes a P6bigint.
my $bi_boxer := NQPClassHOW.new_type(:name('TestPerl6Int'), :repr('P6opaque'));
my $bi_boxer := NQPClassHOW.new_type(:name('TestRakuInt'), :repr('P6opaque'));
$bi_boxer.HOW.add_attribute($bi_boxer, NQPAttribute.new(
:name('$!value'), :type($bi_type), :box_target(1)
));
Expand Down Expand Up @@ -305,6 +305,6 @@ if nqp::getcomp('nqp').backend.name eq 'js' {
skip("skipping test that uses a 64bit int on a 32bit backend");
}
else {
# https://github.com/perl6/nqp/issues/363
# https://github.com/raku/nqp/issues/363
ok(100000000000000009 != 100000000000000016, 'int literals that are the same float value are unequal');
}
2 changes: 1 addition & 1 deletion tools/find-undocumented-ops.raku
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env perl6
#!/usr/bin/env raku
sub MAIN (Str:D $nqp-folder, Str:D $moar-folder, Bool :$moar-names, Bool :$moar-and-nqp-names) {
my $nqp-doc-file = make-io($nqp-folder, "docs/ops.markdown");
my $moar-oplist = make-io($moar-folder, "src/core/oplist");
Expand Down

0 comments on commit bd6fcb9

Please sign in to comment.