From bd6fcb927fa5d1f71eb0603efcebc76580b2f9e6 Mon Sep 17 00:00:00 2001 From: Coke Date: Sat, 16 Apr 2022 18:33:27 -0400 Subject: [PATCH] Cleanup some old perl6 references. Part of #751 --- README.pod | 8 ++++---- docs/qast.markdown | 4 ++-- examples/CallFromJava.java | 2 +- examples/use-classes.nqp | 2 +- t/nqp/060-bigint.t | 4 ++-- tools/find-undocumented-ops.raku | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.pod b/README.pod index c31dcffac0..1c9be62819 100644 --- a/README.pod +++ b/README.pod @@ -102,10 +102,10 @@ B there's B 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 is a good place to start, with the -L and other files. Opcodes are listed in -L. NQP also has built-in routines -listed in L. You can use NQP from this +The L is a good place to start, with the +L and other files. Opcodes are listed in +L. NQP also has built-in routines +listed in L. You can use NQP from this release, it will be already installed if you have built Raku from scratch. diff --git a/docs/qast.markdown b/docs/qast.markdown index daf80b776d..d26a938138 100644 --- a/docs/qast.markdown +++ b/docs/qast.markdown @@ -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). @@ -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. diff --git a/examples/CallFromJava.java b/examples/CallFromJava.java index 363afa3123..8cbdc4b099 100644 --- a/examples/CallFromJava.java +++ b/examples/CallFromJava.java @@ -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 diff --git a/examples/use-classes.nqp b/examples/use-classes.nqp index 3633a04ed1..1c1d117fa9 100755 --- a/examples/use-classes.nqp +++ b/examples/use-classes.nqp @@ -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; diff --git a/t/nqp/060-bigint.t b/t/nqp/060-bigint.t index 6e3894ec5e..b6fef68134 100644 --- a/t/nqp/060-bigint.t +++ b/t/nqp/060-bigint.t @@ -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) )); @@ -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'); } diff --git a/tools/find-undocumented-ops.raku b/tools/find-undocumented-ops.raku index 07de307ce6..177bd899c0 100755 --- a/tools/find-undocumented-ops.raku +++ b/tools/find-undocumented-ops.raku @@ -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");