Perl 6 language and compiler development | Logs at colabti.org/irclogger/irclogger_log/perl6-dev | For toolchain/installation stuff see #perl6-toolchain | For MoarVM see #moarvm
Set by Zoffix on 27 July 2018.
vrurg ugexe: Even if takes several seconds to start doing anything? 00:43
Or with network timeouts it could be tens of seconds even. 00:44
Geth nqp: vrurg++ created pull request #548:
moar_prefix wasn't set when --with-moar is used
00:51
ugexe Several seconds doesn’t bother me for how frequent it is done. But don’t let me stop you from doing it faster. 00:54
vrurg Perhaps it's me oversensitive to these kind if things because at times I run it every other 5-10 mintues. 01:27
Geth nqp: 5e62694aea | (Vadim Belman)++ | tools/lib/NQP/Config/NQP.pm
moar_prefix wasn't set when --with-moar is used
01:31
nqp: 0bb6592054 | (Vadim Belman)++ (committed using GitHub Web editor) | tools/lib/NQP/Config/NQP.pm
Merge pull request #548 from vrurg/build-revamp

moar_prefix wasn't set when --with-moar is used
rakudo: vrurg++ created pull request #2927:
Make it build when nqp resides not in --prefix
02:47
05:04 vrurg left 07:46 squashable6 left 07:51 squashable6 joined, ChanServ sets mode: +v squashable6
lizmat Files=1262, Tests=107961, 401 wallclock secs (28.25 usr 6.71 sys + 2847.72 cusr 242.47 csys = 3125.15 CPU) 08:48
yoleaux 25 May 2019 23:05Z <vrurg> lizmat: Hopefully, I found an acceptable solution which won't affect Configure startup times whatsoever and would update submodule on each pull request.
lizmat cool
[Tux] Rakudo version 2019.03.1-452-g9e8da7476 - MoarVM version 2019.05-18-g2ccc20fb5
csv-ip5xs0.704 - 0.722
csv-ip5xs-206.148 - 6.195
csv-parser23.281 - 24.802
csv-test-xs-200.430 - 0.449
test7.708 - 7.730
test-t1.696 - 1.732
test-t --race0.785 - 0.855
test-t-2028.677 - 31.193
test-t-20 --race9.384 - 10.451
09:54
10:42 epony left 14:22 vrurg joined 14:25 vrurg left
timotimo hrmpf. how do i get a string out of an nqp::list_s ... 17:26
i can only get it to say "atpos expected a string register"
lizmat atpos_s ? 17:43
m: my $s := nqp::list_s("a","b","c"); say nqp::atpos_s($s,1) 17:44
camelia 5===SORRY!5=== Error while compiling <tmp>
Could not find nqp::list_s, did you forget 'use nqp;' ?
at <tmp>:1
------> 3my $s := nqp::list_s("a","b","c")7⏏5; say nqp::atpos_s($s,1)
lizmat m: use nqp; my $s := nqp::list_s("a","b","c"); say nqp::atpos_s($s,1)
camelia b
timotimo huh 17:46
m: my $s := nqp::list_s("a","b","c"); say $s.HOW.name($s) 17:47
camelia 5===SORRY!5=== Error while compiling <tmp>
Could not find nqp::list_s, did you forget 'use nqp;' ?
at <tmp>:1
------> 3my $s := nqp::list_s("a","b","c")7⏏5; say $s.HOW.name($s)
timotimo m: use nqp; my $s := nqp::list_s("a","b","c"); say $s.HOW.name($s)
camelia BOOTStrArray
timotimo m: use nqp; my $s := nqp::list_s("a","b","c"); say $s.HOW.name($s); say nqp::atpos_s($s, 1); 17:48
camelia BOOTStrArray
b
timotimo why does that work but on my end it complains?
huh, it's the nqp::existspos actually 17:50
m: use nqp; my $s := nqp::list_s("a","b","c"); say $s.HOW.name($s); say nqp::existspos($s, 5) 17:51
camelia BOOTStrArray
0
timotimo m: use nqp; my $s := nqp::list_s("a","b","c"); say $s.HOW.name($s); if nqp::existspos($s, 5) { say nqp::atpos_s($s, 5) }
camelia BOOTStrArray
timotimo m: use nqp; my $s := nqp::list_s("a","b","c", "d", "e", "f"); say $s.HOW.name($s); if nqp::existspos($s, 5) { say nqp::atpos_s($s, 5) }
camelia BOOTStrArray
MVMArray: atpos expected string register
in block <unit> at <tmp> line 1
timotimo there it is
m: use nqp; my $s := nqp::list_s("a","b","c", "d", "e", "f"); say $s.HOW.name($s); if 5 < nqp::elems($s) { say nqp::atpos_s($s, 5) } 17:52
camelia BOOTStrArray
f
timotimo it seems rude to say that, but What The F? 17:53
lizmat m: use nqp; my $s := nqp::list_s("a","b","c", "d", "e", "f"); say $s.HOW.name($s); if nqp::existspos_s($s, 5) { say nqp::atpos_s($s, 5) } 18:16
camelia ===SORRY!===
No registered operation handler for 'existspos_s'
lizmat I guess someone forgot to implement existspos_s ?
MasterDuke there aren't any _* existspos 18:17
lizmat m: use nqp; my $s := nqp::list_i(1,2,3,4,5,6); say $s.HOW.name($s); if nqp::existspos($s, 5) { say nqp::atpos_i($s, 5) } # same for list_i 18:18
camelia BOOTIntArray
MVMArray: atpos expected int register
in block <unit> at <tmp> line 1
timotimo existspos_s doesn't really make sense
all existspos_* would be the exact same 18:19
lizmat m: use nqp; my $s := nqp::list_n(1e0,2e0,3e0,4e0,5e0,6e0); say $s.HOW.name($s); if nqp::existspos($s, 5) { say nqp::atpos_n($s, 5) } # and for list_n
camelia BOOTNumArray
MVMArray: atpos expected num register
in block <unit> at <tmp> line 1
lizmat perhaps one check too many somewhere ?
I mean, there is a nqp::isnull and there is an nqp::isnull_s
timotimo isnull_s accepts "" as null, too, or something? 18:20
lizmat no, it doesn't 18:21
m: use nqp; my $s := nqp::list_s; nqp::bindpos_s($s,1,"b"); say nqp::isnull_s(nqp::atpos_s($s,0)) 18:22
camelia 1
MasterDuke nqp: my @a := ("a", "b", "c"); say(nqp::existspos(@a, 1)) 18:24
camelia 1
MasterDuke nqp: my @a := nqp::list_s("a", "b", "c"); say(nqp::existspos(@a, 1))
camelia MVMArray: atpos expected string register
at <tmp>:1 (<ephemeral file>:<mainline>)
from gen/moar/stage2/NQPHLL.nqp:1732 (/home/camelia/rakudo-m-inst-1/bin/../share/nqp/lib/NQPHLL.moarvm:eval)
from gen/moar/stage2/NQPHLL.nqp:1936 (/home/camelia/rakud…
MasterDuke m: use nqp; my @a := ("a", "b", "c"); say(nqp::existspos(@a, 1)) 18:26
camelia This type (List) does not support elems
in block <unit> at <tmp> line 1
MasterDuke that ^^^ seems odd, that a `List` doesn't support elems 18:29
timotimo that needs a getattr for its $!reified
also, lists can be lazy
MasterDuke ah, right
20:10 ufobat_ joined 20:13 ufobat__ left
lizmat m: my @a = ^10; my $s := @a.Slip; @a.push(42); dd $s # oh, how I wish this wasn't a bug 20:19
camelia slip(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 42)
lizmat bisectable6: my @a = ^10; my $s := @a.Slip; @a.push(42); dd $s 20:21
bisectable6 lizmat, On both starting points (old=2015.12 new=aec9887) the exit code is 0 and the output is identical as well
lizmat, Output on both points: «slip(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 42)␤»
lizmat guess it has been around for a while already
21:53 reportable6 left, undersightable6 left, committable6 left, shareable6 left, notable6 left 21:54 committable6 joined, shareable6 joined, ChanServ sets mode: +v shareable6 21:55 reportable6 joined, notable6 joined 21:58 undersightable6 joined, ChanServ sets mode: +v undersightable6 23:05 undersightable6 left, shareable6 left, squashable6 left, committable6 left, unicodable6 left, greppable6 left, notable6 left, evalable6 left, nativecallable6 left, benchable6 left, bloatable6 left, statisfiable6 left, bisectable6 left, releasable6 left, coverable6 left, quotable6 left, reportable6 left 23:08 notable6 joined, coverable6 joined 23:09 statisfiable6 joined, ChanServ sets mode: +v statisfiable6, greppable6 joined, ChanServ sets mode: +v greppable6, unicodable6 joined 23:10 benchable6 joined, evalable6 joined, ChanServ sets mode: +v evalable6, undersightable6 joined, ChanServ sets mode: +v undersightable6 23:11 reportable6 joined, ChanServ sets mode: +v reportable6, quotable6 joined, ChanServ sets mode: +v quotable6, bisectable6 joined, bloatable6 joined 23:12 shareable6 joined, ChanServ sets mode: +v shareable6, committable6 joined, nativecallable6 joined, ChanServ sets mode: +v nativecallable6 23:13 releasable6 joined, ChanServ sets mode: +v releasable6, squashable6 joined, ChanServ sets mode: +v squashable6 23:48 vrurg joined