This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
looking up EXPORTHOW | |
looking up Rakudo::Internals::CompilerServices | |
looking up Block | |
looking up Metamodel::DefiniteHOW | |
looking up Failure | |
looking up List | |
looking up Map | |
looking up X::Attribute::Required | |
looking up Block | |
looking up Mu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ RAKUDO_MODULE_DEBUG=1 r '' | |
1 RMD: Requested for settings CORE.d | |
1 RMD: Requested for settings CORE.c | |
1 RMD: Loading settings CORE.c | |
1 RMD: Loading bytecode from CORE.c.setting.moarvm | |
1 RMD: going to load Perl6::BOOTSTRAP::v6c | |
1 RMD: Settings CORE.c loaded | |
1 RMD: Loading settings CORE.d | |
1 RMD: Loading bytecode from CORE.d.setting.moarvm | |
1 RMD: going to load Perl6::BOOTSTRAP::v6d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ raku -v | |
This is Rakudo version 2020.02-66-g0f223ac9d built on MoarVM version 2020.02-25-g69951892a | |
implementing Raku 6.d. | |
LizyPro:zef liz$ raku --ll-exception bin/zef install Text::CSV | |
New type Perl6::Metamodel::ClassHOW for NQPRoutine is not a mixin type | |
at SETTING::src/core.c/Exception.pm6:62 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:throw) | |
from SETTING::src/core.c/CompUnit/PrecompilationRepository.pm6:98 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:) | |
from SETTING::src/core.c/CompUnit/PrecompilationRepository.pm6:96 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:) | |
from SETTING::src/core.c/CompUnit/PrecompilationRepository.pm6:95 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:) | |
from <unknown>:1 (/Users/liz/.raku/precomp/F1224DCC51C73B75E747B230E367412C33E8509F/F4/F4C437004E3087C434F504791F32C8348E1DD413:<dependencies+deserialize>) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ raku --ll-exception bin/zef install . --force-install | |
New type Perl6::Metamodel::ClassHOW for Method+{is-nodal} is not a mixin type | |
at SETTING::src/core.c/Exception.pm6:62 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:throw) | |
from SETTING::src/core.c/CompUnit/PrecompilationRepository.pm6:98 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:) | |
from SETTING::src/core.c/CompUnit/PrecompilationRepository.pm6:96 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:) | |
from SETTING::src/core.c/CompUnit/PrecompilationRepository.pm6:95 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:) | |
from <unknown>:1 (/Users/liz/.raku/precomp/F41BDD17078BBEF5E39ECD8EBF40E1BF9A97C212/F4/F4C437004E3087C434F504791F32C8348E1DD413:<dependencies+deserialize>) | |
from SETTING::src/core.c/CompUnit/Loader.pm6:51 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/CORE.c.setting.moarvm:load-precompilat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cannot resolve caller new(IO::Path:U: :basename(Str)); none of these signatures match: | |
(IO::Path: $path, :$CWD!, *%_ --> IO::Path) | |
(IO::Path: $path, IO::Spec:D :$SPEC!, *%_ --> IO::Path) | |
(IO::Path: :$basename!, :$dirname = "", :$volume = "", :$CWD = { ... }, IO::Spec:D :$SPEC = { ... }, *%_) | |
(IO::Path: Str:D $path, *%_ --> IO::Path) | |
(IO::Path: $path, *%_ --> IO::Path) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ zef install --debug HTTP::Status | |
===> Searching for: HTTP::Status | |
===> Found: HTTP::Status [via Zef::Repository::LocalCache] | |
===> Filtering: HTTP::Status | |
===> Filtering [OK] for HTTP::Status | |
===> # SKIP: No need to build HTTP::Status | |
===> Testing: HTTP::Status | |
[HTTP::Status] Testing with plugin: Zef::Service::Shell::prove+{<anon|1>} | |
[HTTP::Status] ===SORRY!=== Error while compiling /Users/liz/.zef/store/perl6-http-status.git/454841556fbad20ffcd79c34491ac192ff773430/t/01-basic.t | |
[HTTP::Status] Could not find HTTP::Status in: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ zef install IO::Capture::Simple | |
===> Searching for: IO::Capture::Simple | |
===> Testing: IO::Capture::Simple | |
[IO::Capture::Simple] ===SORRY!=== Error while compiling /Users/liz/.zef/store/IO-Capture-Simple.git/cdbe43ed040adfd6a2abbc1a1e5b9f022ec210ab/t/stderr.t | |
[IO::Capture::Simple] Could not find IO::Capture::Simple in: | |
[IO::Capture::Simple] file#/Users/liz/.zef/store/IO-Capture-Simple.git/cdbe43ed040adfd6a2abbc1a1e5b9f022ec210ab | |
[IO::Capture::Simple] inst#/Users/liz/.raku | |
[IO::Capture::Simple] inst#/Users/liz/Github/rakudo.moar/install/share/perl6/site | |
[IO::Capture::Simple] inst#/Users/liz/Github/rakudo.moar/install/share/perl6/vendor | |
[IO::Capture::Simple] inst#/Users/liz/Github/rakudo.moar/install/share/perl6/core |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $decoder = Encoding::Registry.find("utf8").decoder; | |
$decoder.add-bytes(utf8.new(0x0065)); # LATIN SMALL LETTER E | |
dd $decoder.consume-available-chars; | |
$decoder.add-bytes(utf8.new(0x0301)); # COMBINING ACUTE ACCENT | |
dd $decoder.consume-available-chars; | |
dd $decoder.consume-all-chars; | |
OUTPUT: | |
"" | |
"e\x[1]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
supply { | |
my $decoder = Encoding::Registry.find($encoding).decoder; | |
my $chars; | |
whenever self -> \bytes { | |
$decoder.add-bytes(bytes); | |
$chars := $decoder.consume-available-chars; | |
emit $chars if $chars; | |
LAST { | |
$chars := $decoder.consume-all-chars; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tree.new-branch( | |
left => Tree.new-branch( | |
left => Tree.new-leaf(storage => 1), | |
right => Tree.new-leaf(storage => 2) | |
), | |
right => Tree.new-leaf(storage => 3) | |
) | |
Tree.new-branch( | |
left => Tree.new( |