dalek | ast: 06f9c5d | TimToady++ | S04-statements/for.t: nowadays next does not produce a loop value |
00:15 | |
JimmyZ | m: my $l = (for ^5 { 41; next if $_ == 2; $_; }); say $l | 06:03 | |
camelia | rakudo-moar fe90be: OUTPUT«WARNINGS for <tmp>:Useless use of constant integer 41 in sink context (line 1)(0 1 3 4)» | ||
[Tux] | CSV tests fail. /me investigates | 08:54 | |
something with utf8 | |||
$!text ~~ m{^ <[ \x00 .. \x7F ]>+ $} or | 08:57 | ||
$!is_utf8 = True; | |||
did the meaning of that regex change? | |||
it is about this field: "a\r\n" | 09:00 | ||
so my guess wouyld be that \r\n is now returned as a single grapheme (even if it is NOT a newline) | |||
geekosaur | behavior of csets changed, not related to \r\n | 09:01 | |
[13 19:20] <dalek> nqp: 2df0a06 | TimToady++ | src/vm/moar/QAST/QASTRegexCompilerMAST.nqp: | |||
[13 19:20] <dalek> nqp: charrange without :m should avoid ordat/ordfirst | |||
[Tux] | geekosaur, can you summarize the change in one and - and hand me the "fix" to what now fails? | 09:02 | |
s/one/one line/ | |||
geekosaur | Synthetics wrongly look like they're in a character range if we strip the combining information, so instead we'll just use the raw char code, and the synthetic will naturally fall out of the range by virtue of being negative. | 09:04 | |
I do not have a fix, I'm reporting that something happened, not that I understood the details and can tell you exactly how it relates to things | 09:05 | ||
that said, that description doesn't seem like it should affect this, unless somehow it was integrating the \r and \n in the charrange into a synthetic newline... | 09:06 | ||
[Tux] | This is Rakudo version 2016.07.1-181-gfe90be0 built on MoarVM version 2016.07-18-g2f269d8 | 09:07 | |
csv-ip5xs 10.143 | |||
test 16.156 | |||
test-t 7.433 | |||
csv-parser 16.624 | |||
geekosaur | alternately the change doesn't work with non-synthetic nonprintables for some reason... | 09:09 | |
dalek | p/no-eval: b25a452 | (Pawel Murias)++ | src/vm/js/Compiler.nqp: [js] Don't emit the setting setup code. |
10:10 | |
p/no-eval: b307758 | (Pawel Murias)++ | src/vm/js/ (2 files): [js] Load modules using a hacked in module loader rather then special casing QAST nodes. |
|||
p/no-eval: aa27971 | (Pawel Murias)++ | src/vm/js/Compiler.nqp: [js] Remove the old way of loading in the setting. |
|||
p/no-eval: 6a01f6f | (Pawel Murias)++ | src/vm/js/Compiler.nqp: [js] Remove useless check. |
|||
p/no-eval: f093174 | (Pawel Murias)++ | src/vm/js/ (2 files): [js] Stop specially marking symbols from setting. [js] Stop special casing forceouterctx in post_deserialize. |
|||
kudo/nom: 191dc0a | lizmat++ | src/core/Array.pm: Fix my @a; @a.splice(0,0,42) As noted by masak++ on irclog.perlgeek.de/perl6-dev/2016-0...i_13017831 |
13:31 | ||
MasterDuke | while there are some @LARRY here, i've been looking at RT #126264 on and off for a while, but i'm not finding it quite as straightforward as i first thought it would be | 14:09 | |
synopsebot6 | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=126264 | ||
MasterDuke | suggesting 'EVAL' for 'eval' happens because EVAL is a function, but BEGIN is a phaser | ||
would it be terrible to add all the phasers as things to compare the undeclared routine against? | 14:12 | ||
dalek | kudo/nom: 6d97bad | lizmat++ | src/core/Rakudo/Internals.pm: Introduce MappyIterator-values class General purpose iterator class that returns the values of a hash. To be used in Map, Baggy and typed hashes. |
14:15 | |
kudo/nom: 9a495d4 | lizmat++ | src/core/ (3 files): Use the MappyIterator-values class where we can |
|||
lizmat | MasterDuke: if the unfound string is allcaps, that would make sense, I think | ||
MasterDuke: not so sure otherwise | 14:16 | ||
MasterDuke | lizmat: well, the use case in the ticket is the user writing something lowercase that should be upper | 14:17 | |
e.g., begin instead of BEGIN | |||
lizmat | hmmmm | ||
well, I guess by the time we find we have an error, we might as well add the extra overhead of checking all the phasers | 14:18 | ||
MasterDuke: consider me convinced | |||
MasterDuke | lizmat: cool, i'll try to figure that out. is there any sort of built-in datastructure that has all the phasers, or will i have to hardcode a list? | 14:20 | |
lizmat | not that I know | 14:22 | |
perhaps a Block.possible-phasers method would be nice to have | |||
that would return <BEGIN END ENTER LEAVE FIRST LAST NEXT etc... | 14:23 | ||
the actual list can be found it src/Perl6/Grammar, line 1622 and following | 14:24 | ||
I *think* we can actually remove COMPOSE there | |||
m: COMPOSE my $a = 42; say $a # doesn't seem to do a lot | 14:25 | ||
camelia | rakudo-moar 191dc0: OUTPUT«(Any)» | ||
lizmat | afk& # let's see if I can still ride a bicycle | 14:36 | |
Zoffix | * three hours later * batorego.files.wordpress.com/2007/...ndages.jpg | 14:39 | |
MasterDuke | lizmat: ha, i was scouring Block, Calleable, etc looking for something exactly like that (.possible-phasers) | 14:40 | |
lizmat | MasterDuke: just realized, it should probably be Mu.possible-phasers | 14:48 | |
as BEGIN / END are not tied to a block, e.g. | |||
really afk& | 14:49 | ||
Zoffix | 0.o strangest error ever: Variable '$c' is not declared at blah blah ------> sub prep-commit (⏏$c) { | 15:55 | |
And using $^c in the body instead gives Placeholder variable $^c may not be used here because the surrounding block takes no signature | 15:58 | ||
oh gee | 16:00 | ||
m: my $out = qq:to/END/;blahEND;for ^10 { my $x = 'just some random code' }for ^10 { my $x = 'moar random code' }for ^10 { my $x = 'even moar random code' }sub prep-commit ($c) {} | 16:02 | ||
camelia | rakudo-moar 9a495d: OUTPUT«===SORRY!=== Error while compiling <tmp>Variable '$c' is not declaredat <tmp>:8------> sub prep-commit (⏏$c) {}» | ||
Zoffix | Supremely LTA error, though I can't think of how to fix that stuff | ||
(hint: it's the spurious semicolon on the closing END, so it never gets found) | 16:03 | ||
gfldex | AlexDaniel: i got a response, unsurprisingly they refuse to help me | 16:33 | |
wc,sorry | 16:34 | ||
dalek | kudo/nom: 8e5f5e7 | (Zoffix Znet)++ | docs/ChangeLog: Prep 2016.08 section in ChangeLog |
16:35 | |
gfldex | i was under the impression that assinging a lazy list to Array (and thuse @-sigiled countainers) would not explode a lazy list. Was that changed with GLR? | 16:52 | |
m: my @a = gather { say 1; take 1; say 2; take 2; say 3; take 3 }; | |||
camelia | rakudo-moar 8e5f5e: OUTPUT«123» | ||
gfldex | or is that the sink context of the my declarator? | ||
ugexe | m: my @a := cache gather { say 1; take 1; say 2; take 2; say 3; take 3 }; @a[1] # eh | 16:59 | |
camelia | rakudo-moar 8e5f5e: OUTPUT«12» | ||
TimToady | m: my @a = lazy gather { say 1; take 1; say 2; take 2; say 3; take 3 } | 17:03 | |
camelia | ( no output ) | ||
TimToady | gather is not assumed to be lazy by default | 17:04 | |
(and my ignores sink context, basically) | 17:05 | ||
ugexe | docs lied: `C<gather/take> generates values lazily` | ||
gfldex | it does, that's why I asked :) | ||
TimToady | it does, but that is not the same thing as "must be lazy or you'll die" | 17:06 | |
array assignment is eager unless "must be lazy" | |||
Zoffix | Rele6sr, reminder | 17:09 | |
Rele6sr | 🎺🎺🎺 Friends! I bear good news! Rakudo's release will happen in just 6 days! Please update the ChangeLog with anything you worked on that should be known to our users. 🎺🎺🎺 | ||
🎺🎺🎺 Here are still-open new RT tickets since last release: bug.perl6.party/1471194589.html And here is the git log output for commits since last release: bug.perl6.party/1471194591.html 🎺🎺🎺 | |||
Zoffix | :D :D :D \o/ | ||
timotimo | fantastic | 17:18 | |
Zoffix | (FWIW, I'm going over the commits and will add all of 'em to changelog; just check I got all right after I'm done) | 17:19 | |
mst | right, this should be hilarious | 17:24 | |
Zoffix | Wat? | ||
mst | time to convince Rakudo's Configure.pl to find the moar and nqp installs | ||
Zoffix | ah | 17:25 | |
mst | because of COURSE it's going to look in the prefix instead of where I told it to | 17:26 | |
mst sulks at Configure.pl | |||
travis-ci | Rakudo build failed. Zoffix Znet 'Prep 2016.08 section in ChangeLog' | 17:32 | |
travis-ci.org/rakudo/rakudo/builds/152224223 github.com/rakudo/rakudo/compare/9...5f5e75546a | |||
Zoffix | your momma | ||
(github timeout error) | |||
mst | right, open sesame hack time | 17:39 | |
masak | whoa, Rele6sr++ | 17:44 | |
mst | augh | 17:47 | |
mst upgrades Configure.pl from 'dumpster fire' to 'rolling dumpster fire' | 17:59 | ||
Zoffix | :) | ||
dalek | p/no-eval: 512345a | (Pawel Murias)++ | / (6 files): [js] Load modules and setting using the ModuleLoader. |
18:07 | |
p/no-eval: a64a92e | (Pawel Murias)++ | src/vm/js/nqp-runtime/runtime.js: [js] Remove module loading that doesn't use the ModuleLoader. |
|||
kudo/nom: b548e43 | (Zoffix Znet)++ | docs/ChangeLog: Populate ChangeLog - Includes all Rakudo commits since last release - NQP/MoarVM fixes that were added to Rakudo as merele a version bump might have been missed - All of jnthn++'s async work is marked "Numerous stability improvements in async," because I don't know any better |
18:12 | ||
Zoffix | .tell jnthn I wasn't sure what to add to ChangeLog for all of your async work this release. Please improve if needed: github.com/rakudo/rakudo/blob/nom/...ngeLog#L19 | 18:13 | |
yoleaux2 | Zoffix: I'll pass your message to jnthn. | ||
MasterDuke | lizmat: it's not pretty, but it does work. gist.github.com/MasterDuke17/eb8e4...312ad0692b | 18:15 | |
Zoffix: "such us on sinks" | 18:18 | ||
dalek | kudo/nom: ee8a25e | (Zoffix Znet)++ | docs/ChangeLog: Fix typo MasterDuke++ |
18:20 | |
mst | fuck. I'm not even sure this is going to be sane | 18:58 | |
half the makefile's going to need redoing | |||
mst sulks | |||
(don't mind me, I know how to deal with this, it's just annoying) | 19:00 | ||
(also I could totally do this an easier way but then I wouldn't end up with patches for you) | |||
arnsholt | mst++ # Fixing the build system | 19:01 | |
mst | nqp and rakudo both *really* want to be in the same prefix as moar | ||
I disagree :) | |||
arnsholt | Yeah, that seems to be the opinion of most people who do packaging =) | 19:05 | |
And I can see why, TBH | |||
mst | actually, I figured out a plan B that would fit all of my original requirements and not actually require a separate prefix at all | 19:06 | |
but I've already put enough effort into getting this to work that that's NOT THE POINT ANYMORE | |||
travis-ci | Rakudo build passed. Zoffix Znet 'Populate ChangeLog | 19:13 | |
travis-ci.org/rakudo/rakudo/builds/152236925 github.com/rakudo/rakudo/compare/8...48e437e58b | |||
mst | also - having moar, nqp and rakudo as three packages all going into $PREFIX, with a $DESTDIR for staging into, works fine, which is what OS packagers basically need | ||
I'm just being difficult, and having three different $PREFIX | |||
Zoffix | Another example of new Rust's error awesomeness: twitter.com/ozkriff/status/764730852509151232 | 19:40 | |
Sounds like an article should be made for Perl 6's errors' awesomeness. | 19:41 | ||
mst | that was why I was asking about examples :P | 19:47 | |
Zoffix | Yeah, I can't think of anything groundbreaking off the top of my head. Gonna peek into Exception.pm to see what's what. | 19:55 | |
m: class { has $.foo; method bar { 'foo' ~~ m/$!foo/ } }.new.bar | 19:57 | ||
camelia | rakudo-moar ee8a25: OUTPUT«===SORRY!=== Error while compiling <tmp>Attribute $!foo not available inside of a regex, since regexes are methods on Cursor.Consider storing the attribute in a lexical, and using that in the regex.at <tmp>:1------> has $.foo; method ba…» | ||
travis-ci | Rakudo build passed. Zoffix Znet 'Fix typo MasterDuke++' | 20:02 | |
travis-ci.org/rakudo/rakudo/builds/152237755 github.com/rakudo/rakudo/compare/b...8a25e88658 | |||
timotimo | "rustacean" is a pretty cool term as far as members of programming language communities go | 20:12 | |
dalek | p/no-eval: 0720516 | (Pawel Murias)++ | src/vm/js/nqp-runtime/deserialization.js: [js] Remove dead code. |
20:20 | |
p/no-eval: 21d0ddd | (Pawel Murias)++ | src/vm/js/nqp-runtime/ (4 files): [js] Fix style errors found by make js-lint |
|||
travis-ci | Rakudo build errored. Elizabeth Mattijsen 'Use the MappyIterator-values class where we can' | 20:40 | |
travis-ci.org/rakudo/rakudo/builds/152207115 github.com/rakudo/rakudo/compare/1...495d4986cc | |||
buggable | ☢ [travis build above] Build log missing from at least one job. Check results manually. |