Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There's still a good deal of perl6 in this repo #751

Open
JJ opened this issue Dec 6, 2021 · 4 comments
Open

There's still a good deal of perl6 in this repo #751

JJ opened this issue Dec 6, 2021 · 4 comments

Comments

@JJ
Copy link
Contributor

JJ commented Dec 6, 2021

In unexpected places, too...

@coke
Copy link
Contributor

coke commented Apr 16, 2022

As of today, there are only 28 instances of perl6 that aren't vim filetypes:

$ ack perl6 | grep -v 'ft=perl6'
tools/find-undocumented-ops.raku:1:#!/usr/bin/env perl6
docs/qast.markdown:21:  produced from, for example, "perl6", "tcl", "bf".
docs/qast.markdown:35:        :hll('perl6'),
docs/bootstrapping.pod:40:Historic References: L<https://colabti.org/irclogger/irclogger_log/perl6?date=2010-04-22#l1331>
t/nqp/060-bigint.t:308:    # https://github.com/perl6/nqp/issues/363
t/hll/06-sprintf.t:349:{ # https://irclog.perlgeek.de/perl6-dev/2017-01-22#i_13966753
azure-pipelines.yml:218:        - script: prove -e ../install/bin/perl6 -vlr t
azure-pipelines.yml:224:            prove -e ..\install\bin\perl6 -vlr t
azure-pipelines.yml:228:        - script: prove -e ../install-moved/bin/perl6 -vlr t
azure-pipelines.yml:234:            prove -e ..\install-moved\bin\perl6 -vlr t
README.pod:105:The L<examples directory|https://github.com/perl6/nqp/tree/master/examples> is a good place to start, with the
README.pod:106:L<loops|https://github.com/perl6/nqp/blob/master/examples/loops.nqp> and other files. Opcodes are listed in
README.pod:107:L<the docs directory|https://github.com/perl6/nqp/blob/master/docs/ops.markdown>. NQP also has built-in routines
README.pod:108:listed in L<the docs directory|https://github.com/perl6/nqp/blob/master/docs/built-ins.md>. You can use NQP from this
examples/use-classes.nqp:5:#   https://perl6.online/2018/01/09/what-does-nqpgetattr-do/
examples/CallFromJava.java: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'
src/HLL/Compiler.nqp:27:        ~ ' substagestats beautify nqp-runtime=s perl6-runtime=s libpath=s shebang execname=s source-map'
src/HLL/Compiler.nqp:274:        if %adverbs<perl6-runtime> {
src/HLL/Compiler.nqp:275:            $*PERL6_RUNTIME := %adverbs<perl6-runtime>;
src/vm/js/Compiler.nqp:1792:        my $perl6_filename := quote_string((try $*PERL6_FILENAME) || '');
src/vm/js/Compiler.nqp:1794:        my str $set_hll := "nqp.setCodeRefHLL(cuids, HLL, __filename, $perl6_filename);\n";
src/vm/js/Operations.nqp:1416:                # With perl6 we always emit all handlers
src/vm/js/nqp-runtime/package.json:6:    "url:": "https://github.com/perl6/nqp/issues",
src/vm/js/nqp-runtime/package.json:10:  "repository": "http://github.com/perl6/nqp/",
src/vm/jvm/runtime/org/raku/nqp/tools/EvalServer.java:83:        String executableName = System.getProperty("perl6.execname");
src/vm/jvm/runtime/org/raku/nqp/tools/EvalServer.java:85:            System.setProperty("perl6.execname", executableName.replace("eval-server", "j"));
src/vm/jvm/runtime/org/raku/nqp/runtime/Ops.java:5826:        else if (env.containsKey("perl6.execname"))
src/vm/jvm/runtime/org/raku/nqp/runtime/Ops.java:5827:            return env.getProperty("perl6.execname");

@coke
Copy link
Contributor

coke commented Apr 16, 2022

Down to 18:

docs/bootstrapping.pod:40:Historic References: L<https://colabti.org/irclogger/irclogger_log/perl6?date=2010-04-22#l1331>
t/hll/06-sprintf.t:349:{ # https://irclog.perlgeek.de/perl6-dev/2017-01-22#i_13966753
azure-pipelines.yml:218:        - script: prove -e ../install/bin/perl6 -vlr t
azure-pipelines.yml:224:            prove -e ..\install\bin\perl6 -vlr t
azure-pipelines.yml:228:        - script: prove -e ../install-moved/bin/perl6 -vlr t
azure-pipelines.yml:234:            prove -e ..\install-moved\bin\perl6 -vlr t
src/HLL/Compiler.nqp:27:        ~ ' substagestats beautify nqp-runtime=s perl6-runtime=s libpath=s shebang execname=s source-map'
src/HLL/Compiler.nqp:274:        if %adverbs<perl6-runtime> {
src/HLL/Compiler.nqp:275:            $*PERL6_RUNTIME := %adverbs<perl6-runtime>;
src/vm/js/Compiler.nqp:1792:        my $perl6_filename := quote_string((try $*PERL6_FILENAME) || '');
src/vm/js/Compiler.nqp:1794:        my str $set_hll := "nqp.setCodeRefHLL(cuids, HLL, __filename, $perl6_filename);\n";
src/vm/js/Operations.nqp:1416:                # With perl6 we always emit all handlers
src/vm/js/nqp-runtime/package.json:6:    "url:": "https://github.com/perl6/nqp/issues",
src/vm/js/nqp-runtime/package.json:10:  "repository": "http://github.com/perl6/nqp/",
src/vm/jvm/runtime/org/raku/nqp/tools/EvalServer.java:83:        String executableName = System.getProperty("perl6.execname");
src/vm/jvm/runtime/org/raku/nqp/tools/EvalServer.java:85:            System.setProperty("perl6.execname", executableName.replace("eval-server", "j"));
src/vm/jvm/runtime/org/raku/nqp/runtime/Ops.java:5826:        else if (env.containsKey("perl6.execname"))
src/vm/jvm/runtime/org/raku/nqp/runtime/Ops.java:5827:            return env.getProperty("perl6.execname");

@will-crawford
Copy link

Not in this repo, but I noticed:

1 bin/ script [zef] installed to:
/home/william/opt/raku/share/perl6/site/bin

Is it intended to change the share/perl6 to share/raku?

@lizmat
Copy link
Contributor

lizmat commented May 13, 2022

Yes. Personally, I added a symlink in share to raku, but not every OS support symlinks or hardlinks, so migrating without breaking existing installations is difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants