Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2014-03-14

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 pdcawley joined #perl6
00:00 * TimToady doesn't even see where <.foo()> is parsed, offhand
00:00 TimToady must be coming from deeper down
00:01 jnthn Inherited from QRegex::P6Regex::Grammar iirc
00:02 TimToady if we just change that to parse EXPR instead of variable, will it magically do the right thing with <&foo('stuff')> ?
00:02 TimToady the other is obviously a different bug
00:02 TimToady that is, the :var variant
00:02 Quom TimToady: Doubt it :(
00:02 Quom TimToady: I was looking at the code yesterday
00:02 jnthn Is it a parsing bug, or is it that the re-write done with we have a lexical rule messes things up?
00:03 Quom In... Cursor.pm?
00:03 Quom But maybe I'm completely wrong
00:03 TimToady the <&foo()> is a parsing bug, the <foo()> is a rewrite problem, likely
00:03 rurban I get the same t/nativecall/01-basic.t problem with 32bit cygwin also
00:03 rurban I'll look at it tomorrow
00:03 Quom rurban++ again :)
00:04 TimToady <&foo('bar')> attempts to parse with the MAIN variable rule, which of course can't understand the postfix
00:04 TimToady the <foo('bar')> actually makes the call, but fails to pass the arguments
00:04 rurban I like my new smokers: http://perl514.cpanel.net:8010/one_line_per_build
00:06 jnthn TimToady: Only in the lexical case, though?
00:07 TimToady presumably
00:08 TimToady I think we rely on passing args sometimes in the method case
00:08 lue r: grammar G { token TOP { <multiple(2.3)> }; token multiple($by) { (\-? <digit>+ [\. <digit>+]?) <?{ (+$0 / $by).narrow ~~ Int }> } }; G.parse("4.6").say;  # jnthn: works here
00:08 camelia rakudo-parrot 522629, rakudo-jvm 522629, rakudo-moar 522629: OUTPUT«「4.6」␤ multiple => 「4.6」␤  0 => 「4.6」␤   digit => 「4」␤   digit => 「6」␤␤»
00:08 jnthn Well, yeah, and the Rakudo grammar does it plenty too :)
00:11 lue jnthn: that's why I was initially confused as to why the my token version failed :) "but Grammar.nqp can do it!"
00:11 jnthn Urgh
00:11 jnthn INTERPOLATE doesn't know what to do with args. Worse, it uses args to convey stuff it needs to know to delegate correctly.
00:12 jnthn I suspect we shouldn't be using that here, though.
00:16 jnthn > my token foo($bar = "oops") { foo {say $bar} }; say "foo" ~~ /<foo("baz")>/
00:16 jnthn baz
00:16 TimToady \o/
00:16 jnthn Guess I should spectest :)
00:16 TimToady me is testing a parsing patch for <&foo()>
00:16 * jnthn is kinda ready for sleep :)
00:17 lue I have a grammar fix that's about ready to be committed and pushed too :D
00:17 jnthn Got all day tomorrow for Perl 6 things. Planning to work on Moar nativecall and maybe some Star prep bits.
00:18 Mouq jnthn: Yeah, sorry I wasn't very specific earlier with why it wouldn't Just Work
00:18 Mouq jnthn: I was doing stuffs
00:18 telex joined #perl6
00:19 jnthn np
00:19 jnthn I'm not especially fast tonight either :)
00:19 TimToady one can force <&foo()> to parse by changing it to use EXPR at a= precedence, but the semantics are wrong, since it wants it to return the function pointer to call
00:20 TimToady when it thinks of it as a variable
00:20 TimToady so that will also take a deeper solution
00:22 dalek rakudo/nom: 20193f6 | jnthn++ | src/ (2 files):
00:22 dalek rakudo/nom: Fix arg passing of <foo(...)> where foo is lexical
00:22 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/20193f6027
00:23 jnthn Could use a test, but I'm heading off for the night :)
00:23 jnthn 'night o/
00:24 lue ♞ jnthn o/
00:24 TimToady o/
00:25 ggoebel11113 joined #perl6
00:26 telex joined #perl6
00:27 hoverboard joined #perl6
00:49 atrodo joined #perl6
00:50 Ulti joined #perl6
00:50 yoleaux joined #perl6
00:50 awwaiid joined #perl6
00:51 dylanwh joined #perl6
00:51 daxim joined #perl6
00:52 clkao joined #perl6
00:52 Mouq joined #perl6
00:54 btyler joined #perl6
00:55 ggoebel11114 joined #perl6
01:00 btyler joined #perl6
01:00 awwaiid joined #perl6
01:01 telex joined #perl6
01:01 daxim_ joined #perl6
01:03 _thou joined #perl6
01:04 btyler_ joined #perl6
01:08 rurban joined #perl6
01:08 Mouq joined #perl6
01:13 Quom joined #perl6
01:14 atrodo joined #perl6
01:18 rurban joined #perl6
01:20 dylanwh joined #perl6
01:31 tokuhirom joined #perl6
01:31 dylanwh joined #perl6
01:31 rurban joined #perl6
01:31 atrodo joined #perl6
01:38 woosley joined #perl6
01:42 rurban joined #perl6
01:47 bjz joined #perl6
01:52 sbauer joined #perl6
01:56 Alina-malina joined #perl6
02:07 grep0r joined #perl6
02:07 atrodo joined #perl6
02:08 * Quom has most of a GIF decoder written. Why? Dunno, why not?
02:08 dylanwh joined #perl6
02:08 sbauer joined #perl6
02:09 dalek rakudo/nom: 656089e | lue++ | src/Perl6/Grammar.nqp:
02:09 dalek rakudo/nom: More descriptive failure for missing block
02:09 dalek rakudo/nom:
02:09 dalek rakudo/nom: This brings Rakudo in line with STD on this matter, and fixes
02:09 dalek rakudo/nom: long-standing RT bug #66776.
02:09 synopsebot Link: https://rt.perl.org/rt3//Public/Bug/Display.html?id=66776
02:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/656089e0ed
02:09 felher joined #perl6
02:11 Quom lue++
02:11 rurban joined #perl6
02:12 klapperl joined #perl6
02:40 Quom m: my $x = Nil; $x //= 1; say $x
02:40 camelia rakudo-moar 20193f: OUTPUT«1␤»
02:40 Quom m: my $x := Nil; $x //= 1; say $x
02:40 camelia rakudo-moar 20193f: OUTPUT«Nil␤»
02:40 Quom n: my $x := Nil; $x //= 1; say $x
02:40 camelia niecza v24-109-g48a8de3: OUTPUT«Unhandled exception: Writing to readonly scalar␤  at /tmp/bD_8rvcImF line 1 (mainline @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4595 (ANON @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4596 (module-CORE @ 576) ␤  at /home/p6e…»
02:46 ilbot3 joined #perl6
02:46 Topic for #perl6 is now »ö« Welcome to Perl 6! | http://perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:,  niecza:, std:, or /msg camelia perl6: ... | irclog: http://irc.perl6.org | UTF-8 is our friend!
02:49 lue holy déjà vu! :D    https://rt.perl.org/Ticket/Display.html?id=77152
03:15 rurban1 joined #perl6
03:15 rurban1 That's now my public buildbot url: http://perl514.cpanel.net/build/one_line_per_build
03:16 rurban1 rakudo fails with parrot=master because nqp is hardcoded to a failing version. nqp=master works fine
03:18 woosley1 joined #perl6
03:18 Quom rurban1: git describe > tools/build/PARROT_REVISION or some such in the nqp repo
03:18 Quom err jk
03:19 Quom git describe in the parrot repo
03:19 Quom and then it goes into tools/build/PARROT_REVISION
03:21 * Quom is super unhelpful tonight
03:47 aindilis joined #perl6
03:48 kaare__ joined #perl6
03:55 SamuraiJack_ joined #perl6
03:56 xragnar_ joined #perl6
03:59 lue Looking at UTS#18, RL1.3: union would be <rule + rule>, set difference would be <rule - rule>, but I can quite figure out set intersection, except perhaps [<rule> & <rule>]
04:00 Quom lue: "Terms may also be combined using & for set intersection, | for set union, and ^ for symmetric set difference"
04:00 lue Quom: within <> rules?
04:00 lue ooh, we actually have symmetric set difference? Cool!
04:01 Quom lue: Mmhm. Very NYI though
04:01 Quom std: /<+ :HexDigit & :Upper >/
04:01 camelia std 09dda5b: OUTPUT«ok 00:01 123m␤»
04:01 Quom m: /<+ :HexDigit & :Upper >/
04:01 camelia rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/n4x0yRgf7Jâ�¤Unable to parse expression in metachar:sym<assert>; couldn't find final '>' â�¤at /tmp/n4x0yRgf7J:1â�¤------> [32m/<+ :HexDigit [33mâ��[31m& :Upper >/[0mâ�¤    expecting any of:â�¤ …»
04:01 Quom n: /<+ :HexDigit & :Upper >/
04:01 camelia niecza v24-109-g48a8de3: ( no output )
04:02 Quom std: /<+ (:HexDigit & :Upper) + [q] >/
04:02 camelia std 09dda5b: OUTPUT«ok 00:01 124m␤»
04:02 Quom m: /<+ (:HexDigit & :Upper) + [q] >/
04:02 camelia rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m�Unrecognized regex metacharacter < (must be quoted to match literally)�at /tmp/owzrtsaIgX:1�------> [32m/<+ [33m�[31m(:HexDigit & :Upper) + [q] >/[0m�Unrecognized regex metacharacter + (must be quoted to match l…»
04:03 lue I'm assuming + is almost, but not quite, like |
04:03 Quom lue: So riddle me this, what's the difference between "." and "<.>" in a regex?
04:04 lue According to S05, one grapheme. So i.e., /<.>/ == /./ == /:nfg ./ == /:nfc <.>/ == /:nfd <.>/ == ...
04:05 lue (<rule + rule> probably is handled slightly differently than <rule | rule>, to be clear about that statement of mine)
04:07 lue almost forgot, <.> is also equivalent to <G/./> :P
04:08 Quom std: /:HexDigit:Upper/
04:08 camelia std 09dda5b: OUTPUT«[31m===[0mSORRY![31m===[0m�Unrecognized regex modifier :HexDigit at /tmp/0YqZRwBeD8 line 1:�------> [32m/:HexDigit[33m�[31m:Upper/[0m�Unrecognized regex modifier :Upper at /tmp/0YqZRwBeD8 line 1:�------> [32m/:HexDigit:Upper[33m�[31m/[0m…»
04:09 Quom std: /<:HexDigit:Upper>/
04:09 camelia std 09dda5b: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Unable to parse metachar at /tmp/_Cuno0zRTF line 1:â�¤------> [32m/[33mâ��[31m<:HexDigit:Upper>/[0mâ�¤Couldn't find final '>'; gave up at /tmp/_Cuno0zRTF line 1:â�¤------> [32m/<:HexDigit[33mâ��[31m:Upper>/[0mâ�¤    expect…»
04:09 Quom m: /<:HexDigit:Upper>/
04:09 camelia rakudo-moar 656089: ( no output )
04:09 Quom Yeah
04:09 Quom >_>
04:09 Quom m: /<:HexDigit|:Upper>/
04:09 camelia rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/zvKHyeOtcmâ�¤Unable to parse expression in metachar:sym<assert>; couldn't find final '>' â�¤at /tmp/zvKHyeOtcm:1â�¤------> [32m/<:HexDigit[33mâ��[31m|:Upper>/[0mâ�¤    expecting any of:â�¤      â€¦Â»
04:09 Quom m: /<:HexDigit | :Upper>/
04:09 camelia rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/vGwm5DOYk_â�¤Unable to parse expression in metachar:sym<assert>; couldn't find final '>' â�¤at /tmp/vGwm5DOYk_:1â�¤------> [32m/<:HexDigit [33mâ��[31m| :Upper>/[0mâ�¤    expecting any of:â�¤    â€¦Â»
04:09 lue std: /<:HexDigit | :Upper>/
04:09 camelia std 09dda5b: OUTPUT«ok 00:01 123m␤»
04:09 Quom Rakudo cheats hardcore
04:11 Quom the rule for that assertion is about as sophisticated as /[<[+-]>['['<bla>']' | ':'<bla>]]+/
04:15 lue Ooh, I wonder how many people would object if I spec'd unicode set ops for those subrules, ∪ (union), ∩ (intersection), and ⊖ (symmetric difference)  :)
04:15 Quom Compare: https://github.com/perl6/nqp/blob/master/src/QRegex/P6Regex/Grammar.nqp#L345 and https://github.com/perl6/std/blob/master/STD.pm6#L5220
04:16 lue oh, and ∖ for set difference of course
04:17 lue Quom: yeah, I'd say nqp's version could use some work :)
04:18 Quom lue: Some people may look at you funny, but I don't think anyone would redact those set changes
04:18 Quom s/set/spec/
04:18 Quom Unless they do, of course
04:18 lue Quom: either of set and spec works there though :)
04:19 lue That's why I haven't already made the changes, I'd rather other people knew ahead of time.
04:20 lue ( by the way, P6 only has (-) for set difference, not the non-Texas ∖ version. I imagine "looks too much like backslash" may be the answer ☹)
04:21 Quom lue: Waaat?
04:21 lue Last I checked, anyway
04:21 Quom m: say set(1,2,3,42) ∖ set(2,3) # pretty sure otherwise...
04:21 camelia rakudo-moar 656089: OUTPUT«set(1, 42)␤»
04:21 Quom n: say set(1,2,3,42) ∖ set(2,3)
04:21 camelia niecza v24-109-g48a8de3: OUTPUT«set(1, 42)␤»
04:21 Quom std: say set(1,2,3,42) ∖ set(2,3)
04:21 camelia std 09dda5b: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Confused at /tmp/vfk9Ow5J65 line 1:â�¤------> [32msay set(1,2,3,42) [33mâ��[31m∖ set(2,3)[0mâ�¤    expecting any of:â�¤  feed_separatorâ�¤ infix or meta-infixâ�¤    infixed functionâ�¤       statement modifier loopâ�¤Parse failedâ�¤FA…»
04:21 lue oh! That's cool  :)
04:22 Quom std: say set(1,2,3,42) ∪ set(2,3)
04:22 camelia std 09dda5b: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Confused at /tmp/tqY6sQyPdw line 1:â�¤------> [32msay set(1,2,3,42) [33mâ��[31m∪ set(2,3)[0mâ�¤    expecting any of:â�¤  feed_separatorâ�¤ infix or meta-infixâ�¤    infixed functionâ�¤       statement modifier loopâ�¤Parse failedâ�¤FA…»
04:22 Quom Silly STD
04:22 lue m: say set(1,2,3,42) ⊖ set(2,3) # betcha perl6 doesn't have THIS!
04:22 camelia rakudo-moar 656089: OUTPUT«set(1, 42)␤»
04:22 lue well then
04:22 Quom lue: :)
04:22 lue m: say set(1,2,3,42) (^) set(2,3)
04:22 camelia rakudo-moar 656089: OUTPUT«set(1, 42)␤»
04:23 Quom lue: https://github.com/rakudo/rakudo/blob/nom/src/core/set_operators.pm
04:23 Quom Or http://doc.perl6.org/type/Set + http://doc.perl6.org/type/Bag
04:24 Quom I should really do the operator documentation for Bag there :/
04:24 lue [in retrospect, having the grapheme (de-)exploders use a leading alphabetic character may not be the best of choices. Though I can't think of a proper ASCII(ish) leading symbol]
04:25 Quom lue: What's wrong with just scoped :nfkd?
04:25 Quom etc
04:26 lue Ask TimToady :) I think the idea is to explicitly check just one grapheme, instead of potentially many.
04:26 lue r: constant term:<<"\x2205">> = set();
04:27 camelia rakudo-jvm 656089: OUTPUT«(timeout)»
04:27 camelia ..rakudo-parrot 656089, rakudo-moar 656089: ( no output )
04:31 Quom r: constant term:["\x2205"] = set();
04:31 camelia rakudo-moar 656089: OUTPUT«===SORRY!===␤Cannot find method 'ast'␤»
04:31 camelia ..rakudo-parrot 656089, rakudo-jvm 656089: OUTPUT«===SORRY!===␤No such method 'ast' for invocant of type 'NQPMu'␤»
04:31 Quom Dang :(
04:32 Quom r: my $x = s; constant term:<<"$x">> = set(); say s
04:32 camelia rakudo-jvm 656089, rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m�Unrecognized regex metacharacter = (must be quoted to match literally)�at /tmp/tmpfile:1�------> [32mmy $x = s; constant term:<<"$x">> [33m�[31m= set(); say s[0m�Couldn't find terminator ;�a…»
04:32 camelia ..rakudo-parrot 656089: OUTPUT«���[���3���1���m���=���=���=������[���0���m���S���O���R���R���Y���!������[���3���1���m���=���=���=�…»
04:32 Quom r: my $x = s; constant term:<<$x>> = set(); say s
04:32 camelia rakudo-parrot 656089: OUTPUT«���[���3���1���m���=���=���=������[���0���m���S���O���R���R���Y���!������[���3���1���m���=���=���=�…»
04:32 camelia ..rakudo-jvm 656089, rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m�Unrecognized regex metacharacter = (must be quoted to match literally)�at /tmp/tmpfile:1�------> [32mmy $x = s; constant term:<<$x>> [33m�[31m= set(); say s[0m�Couldn't find terminator ;�at …»
04:32 Quom Oh
04:32 Quom I'm dumb
04:32 Quom r: my $x = "s"; constant term:<<"$x">> = set(); say s
04:32 camelia rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/tmpfile�Colon pair value '"$x"' too complex to use in name�at /tmp/tmpfile:1�------> [32mmy $x = "s"; constant term:<<"$x">>[33m�[31m = set(); say…»
04:33 Quom At least it's a nice error :)
04:42 rurban1 joined #perl6
04:54 lue Hrm, looks like to get \n to work properly, I'd have to modify VM-specific stuff in NQP. I think I found where the change needs to happen, just no clue how :/
04:56 lue (for those curious, the full list \n needs to support in P6 is  <[\xA..\xD]> | \xD\xA | \x85 | \x2028 | \x2029  )
05:41 clkao joined #perl6
06:10 kaare__ joined #perl6
06:11 fridim__ joined #perl6
06:31 vincent22 joined #perl6
06:31 xenoterracide joined #perl6
06:32 Vlavv joined #perl6
07:06 brrt joined #perl6
07:20 Alina-malina joined #perl6
07:24 darutoko joined #perl6
07:38 takesako___ joined #perl6
07:49 denisboyun joined #perl6
07:54 denis_boyun joined #perl6
07:55 FROGGS joined #perl6
07:56 zakharyas joined #perl6
07:58 SHODAN joined #perl6
08:16 zakalwe joined #perl6
08:16 rafail joined #perl6
08:26 Alina-malina joined #perl6
08:29 FROGGS .tell lue The current understanding is that this field is either set by pause/cpan or by panda when installing from github
08:29 yoleaux FROGGS: I'll pass your message to lue.
08:34 kaleem joined #perl6
08:39 pdcawley joined #perl6
08:47 AW3i joined #perl6
08:49 xinming_ joined #perl6
08:52 fhelmberger joined #perl6
08:55 FROGGS p6: my %a; %a<foo> = <a b c>; %a<foo>.=uniq; say %a<foo>
08:55 camelia rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089, niecza v24-109-g48a8de3: OUTPUT«a b c␤»
08:55 FROGGS \o/
09:26 dmol joined #perl6
09:35 jnthn morning, #perl6
09:36 JimmyZ morning, jnthn
09:37 JimmyZ parrot.org is down?
09:39 FROGGS morning
09:40 FROGGS JimmyZ: seems like
09:50 brrt morning all
09:50 brrt what
09:50 brrt such fuuu
09:51 brrt ehm...
09:51 brrt parrot's channel was irc.parrot.org right
09:51 brrt ehm
09:51 brrt irc.perl.org #parrot
09:53 FROGGS right
09:54 pecastro joined #perl6
09:55 brrt well, thats empty, too
09:58 pecastro_ joined #perl6
10:06 masak quick, someone get rurban to assert that Parrot is still alive and well!
10:09 brrt warning: sarcasm detection is ambigous
10:09 brrt ambiguous
10:10 masak sorry, I should take care not to kick a sleeping Parrot.
10:10 brrt … poor parrot :-(
10:10 brrt anyway
10:10 brrt moving on
10:10 brrt :-)
10:18 pdcawley joined #perl6
10:24 jnthn m: for lines { .say }
10:24 camelia rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m�Function 'lines' needs parens to avoid taking the block�at /tmp/fHufTTh2cc:1�------> [32mfor lines { .say }[33m�[31m<EOL>[0m�Missing block (apparently taken by 'lines')�at /tmp/fHufTTh2cc:1�------> [32mfor …»
10:24 jnthn nice :)
10:24 jnthn lue++
10:40 Woodi joined #perl6
10:41 Woodi morning and have a nice spring :)
10:42 FROGGS hi Woodi
10:46 denisboyun joined #perl6
10:51 daniel-s joined #perl6
11:02 pippo joined #perl6
11:05 rurban1 joined #perl6
11:12 FROGGS m: my %foo = a => 1, b => 2; say %foo{ (%foo (&) %foo).keys }.kv # how do I get the keys back?
11:12 camelia rakudo-moar 656089: OUTPUT«0 1 1 2␤»
11:12 FROGGS ohh, adverbs ftw!
11:12 FROGGS m: my %foo = a => 1, b => 2; say %foo{ (%foo (&) %foo).keys }:kv
11:12 camelia rakudo-moar 656089: OUTPUT«a 1 b 2␤»
11:13 FROGGS m: my %foo = a => 1, b => 2; say %foo{ (%foo (&) %foo).keys }:kv.perl
11:13 camelia rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/ksH6fcJB5Tâ�¤Two terms in a rowâ�¤at /tmp/ksH6fcJB5T:1â�¤------> [32m> 2; say %foo{ (%foo (&) %foo).keys }:kv[33mâ��[31m.perl[0mâ�¤    expecting any of:â�¤        pair valueâ�¤        infix stop…»
11:13 FROGGS m: my %foo = a => 1, b => 2; say (%foo{ (%foo (&) %foo).keys }:kv).perl
11:13 camelia rakudo-moar 656089: OUTPUT«(("a", 1), ("b", 2))␤»
11:36 daniel-s joined #perl6
11:40 colomon m: role A { method a() { say self.WHAT; }; }; class B does A { }; B.new.a
11:40 camelia rakudo-moar 656089: OUTPUT«(B)␤»
11:40 colomon m: role A { method a() { say "{ self.WHAT }"; }; }; class B does A { }; B.new.a
11:40 camelia rakudo-moar 656089: OUTPUT«use of uninitialized value of type B in string context␤␤»
11:40 colomon :/
11:41 FROGGS m: role A { method a() { say "{ self.WHAT() }"; }; }; class B does A { }; B.new.a
11:41 camelia rakudo-moar 656089: OUTPUT«use of uninitialized value of type B in string context␤␤»
11:41 FROGGS well, that is correct
11:42 FROGGS m: role A { method a() { say "{ self.WHAT.^name }"; }; }; class B does A { }; B.new.a
11:42 camelia rakudo-moar 656089: OUTPUT«B␤»
11:43 jnthn colomon: .Str vs .gist
11:44 colomon jnthn++ # that fixed my code
11:50 * colomon is sure he has made that mistake before...
11:51 daniel-s joined #perl6
12:05 daniel-s joined #perl6
12:08 rurban1 joined #perl6
12:11 kurahaupo joined #perl6
12:13 mscha joined #perl6
12:13 mscha perl6: say i**2;
12:13 camelia niecza v24-109-g48a8de3: OUTPUT«-1+1.2246063538223773E-16i␤»
12:13 camelia ..rakudo-parrot 656089, rakudo-moar 656089: OUTPUT«-1+1.22464679914735e-16i␤»
12:13 camelia ..rakudo-jvm 656089: OUTPUT«-1+1.2246467991473532E-16i␤»
12:14 mscha perl6: say i*i;
12:14 camelia rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089, niecza v24-109-g48a8de3: OUTPUT«-1+0i␤»
12:17 daniel-s_ joined #perl6
12:21 dalek rakudo-star-daily: 3afb94d | coke++ | log/ (5 files):
12:21 dalek rakudo-star-daily: today (automated commit)
12:21 dalek rakudo-star-daily: review: https://github.com/coke/rakudo-star-daily/commit/3afb94d8d0
12:30 daniel-s_ joined #perl6
12:34 colomon joined #perl6
12:34 xinming__ joined #perl6
12:41 daniel-s_ joined #perl6
12:44 masak perl6: say 0.5 + 0.5
12:44 camelia rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089, niecza v24-109-g48a8de3: OUTPUT«1␤»
12:44 masak perl6: say (0.5 + 0.5).^name
12:44 camelia rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089, niecza v24-109-g48a8de3: OUTPUT«Rat␤»
12:44 jnthn perl6: say (0.5 + 0.5).narrow.^name
12:44 camelia niecza v24-109-g48a8de3: OUTPUT«Unhandled exception: Unable to resolve method narrow in type Rat␤  at /tmp/tmpfile line 1 (mainline @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4595 (ANON @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4596 (module-CORE @ 576) ␤…»
12:44 camelia ..rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089: OUTPUT«Int␤»
12:44 masak oh, .narrow
12:44 masak r: say (i*i).narrow.^name
12:44 dalek zavolaj: 4f32216 | jnthn++ | lib/NativeCall.pm6:
12:44 dalek zavolaj: Guess .dll on Windows when no data.
12:44 dalek zavolaj:
12:44 dalek zavolaj: If you ignore the link error and use a DLL from another platform's
12:44 dalek zavolaj: build, this gets things working on JVM on Windows.
12:44 dalek zavolaj: review: https://github.com/jnthn/zavolaj/commit/4f32216d5c
12:44 dalek zavolaj: ea7f1fb | jnthn++ | lib/NativeCall.pm6:
12:44 camelia rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089: OUTPUT«Int␤»
12:44 dalek zavolaj: Updates to CArray to convey type to REPR compose.
12:44 dalek zavolaj:
12:45 dalek zavolaj: This will be needed for Moar to be able to handle CArray. Can maybe
12:45 dalek zavolaj: get some further cleanups here in the future once everyone switches
12:45 dalek zavolaj: over to the compose protocol. Didn't try on Parrot yet, but no JVM
12:45 dalek zavolaj: regression on CArray tests with this patch.
12:45 dalek zavolaj: review: https://github.com/jnthn/zavolaj/commit/ea7f1fbac7
12:45 masak Rakudo++
12:45 jnthn Suddenly dalek :)
12:48 guru joined #perl6
12:48 xinming_ joined #perl6
12:49 lizmat joined #perl6
12:52 lizmat joined #perl6
12:54 kaare__ joined #perl6
13:02 daniel-s_ joined #perl6
13:03 [Sno] joined #perl6
13:06 dalek specs: 8fdda4d | (Elizabeth Mattijsen)++ | S11-modules.pod:
13:06 dalek specs: Rename META.info -> META6.json
13:06 dalek specs:
13:06 dalek specs: Andreas Koenig pointed out that .info is being used for quite some other things
13:06 dalek specs: on the Open Source world.  So we (FROGGS + lizmat) decided to change the name
13:06 dalek specs: in such a way, that it is more in line with the world and still an easy way to
13:06 dalek specs: distinguish a Perl 6 distribution from other distributions.
13:06 dalek specs: review: https://github.com/perl6/specs/commit/8fdda4d629
13:06 dalek specs: 9acccd1 | (Elizabeth Mattijsen)++ | S11-modules.pod:
13:06 dalek specs: Merge branch 'master' of https://github.com/perl6/specs
13:06 dalek specs: review: https://github.com/perl6/specs/commit/9acccd183f
13:15 lizmat joined #perl6
13:16 [Coke] where is the GSOC channel? irssi seems to think it's dead, and isn't telling me the name of the channel it used to be.
13:21 masak so... .IO.l tells me if something is a symlink -- but how do I answer the question "what does it link to?" -- either using Perl 5/6 itself, or with a Unix command.
13:21 masak ...?
13:22 moritz perldoc -f readlink
13:23 moritz p5
13:23 moritz in unix, 'ls -l' tells you where it goes, and 'chase' recursively follows symlinks
13:23 bluescreen10 joined #perl6
13:23 masak hm, I don't seem to have `chase` installed.
13:24 masak what I'm writing is a Perl 6 program, so I guess I'll just invoke Perl 5 from it for now.
13:24 masak moritz++
13:24 moritz mlenz@mlenz-workstation:~/p6/rakudo$ git grep readlink
13:24 moritz src/core/IO.pm:        # NYI: requires readlink()
13:25 masak heh.
13:25 bluescreen10 joined #perl6
13:26 bluescreen100 joined #perl6
13:26 bluescreen10 joined #perl6
13:28 kbaker_ joined #perl6
13:35 FROGGS [Coke]: #soc-help on irc.perl.org
13:35 dalek specs: 1ebc34a | (Elizabeth Mattijsen)++ | S11-modules.pod:
13:35 dalek specs: Use "perl" to indicate necessary Perl version
13:35 dalek specs: review: https://github.com/perl6/specs/commit/1ebc34a04b
13:35 masak what's the way to die without a stacktrace in Perl 6 again?
13:36 [Coke]
13:36 [Coke] joined #perl6
13:36 FROGGS m: die "huh"
13:36 camelia rakudo-moar 656089: OUTPUT«huh␤  in block  at /tmp/47ffYxdZ6v:1␤␤»
13:36 FROGGS m: fail "huh"
13:36 camelia rakudo-moar 656089: OUTPUT«Unhandled exception: huh␤   at src/gen/m-CORE.setting:11018  (/home/p6eval/rakudo-inst-1/languages/perl6/runtime/CORE.setting.moarvm:throw:129)␤ from src/gen/m-CORE.setting:12444  (/home/p6eval/rakudo-inst-1/languages/perl6/runtime/CORE.setting.moarvm:…»
13:37 [Coke] ah. -all- my irc.perl.org connections were dead.
13:37 FROGGS masak: perhaps just say() and exit 1 :o)
13:37 jnthn note and exit 1, I guess
13:47 masak bah
13:47 masak stacktraces, whether you want it or not.
13:47 masak they're absolutely useless when the script is a small Unix-like tool with no call stack at all.
13:47 [Sno] joined #perl6
13:47 jnthn I just told you how to do a mesage and exit without one.
13:47 jnthn *message
13:48 masak right.
13:48 jnthn If you're going to do it in a bunch of places, factor it out into a sub.
13:48 masak in other words, Perl 6's &die is not up to the task.
13:48 jnthn If you're doing it a lot and have a good name for said sub, suggest it for inclusion i core.
13:48 masak &die-without-the-bloody-stacktrace :)
13:49 jnthn Right, it's for throwing an exception, which means the situation is *exceptional*.
13:49 * masak looks up synonyms of 'die'
13:49 masak "conk" :P
13:49 jnthn hehe
13:50 masak "expire" is pretty good, because it looks a bit like "exit".
13:50 jnthn Bit overloaded with things like cache expiration though...
13:50 jnthn perish :)
13:51 masak "stop"
13:51 masak no, that doesn't convey "with a message" well enough...
13:51 masak "halt" could work.
13:51 jnthn yeah
13:52 jnthn terminate is a bit long
13:52 jnthn choke :)
13:53 masak a bit graphic, pehaps.
13:53 btyler joined #perl6
13:53 jnthn Yeah, true :)
13:54 lizmat joined #perl6
13:55 lizmat actually, in one of my custom test modules
13:55 lizmat I've used "urgh" as the name of a sub to quit testing immediately without any stack / reports
13:56 lizmat "urgh" being the sound the bad guy makes when he bites the dust in a comic
13:57 skids joined #perl6
13:57 flussenc1 "exeunt" would be close to exit, while having strong textual connotations...
13:58 tgt joined #perl6
13:59 [Sno]_ joined #perl6
13:59 flussence joined #perl6
13:59 lizmat dwfa   as in die without further ado
13:59 [Sno]_ joined #perl6
14:00 [Sno]_ joined #perl6
14:06 lizmat r: my $a = <a b b c>; say $a.uniq.perl; say uniq($a).perl  # still not sure whether this inconsistency is correct
14:06 camelia rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089: OUTPUT«("a", "b", "c").list␤(("a", "b", "b", "c"),).list␤»
14:06 jnthn lizmat: Yes, that one is
14:06 colomon lizmat: do you think it makes sense to call uniq on a list of lists?
14:08 jnthn lizmat: A method call is always on the contents of a scalar, whatever it may be.
14:08 lizmat ok, that makes sense
14:09 kivutar joined #perl6
14:12 * masak kinda likes "urgh"
14:12 * dylanwh has used bork() in similar contexts.
14:12 [Sno] joined #perl6
14:13 [Sno] joined #perl6
14:14 rindolf joined #perl6
14:19 treehug88 joined #perl6
14:19 [Sno]_ joined #perl6
14:20 dalek specs: 2168510 | (Elizabeth Mattijsen)++ | S99-glossary.pod:
14:20 dalek specs: Add lemma's for PAUSE and CPAN
14:20 dalek specs: review: https://github.com/perl6/specs/commit/2168510b02
14:23 mscha Why not simply: exit "something went wrong"
14:24 mscha or if you want a different value: exit "something went very wrong", 2
14:24 moritz has .stop been proposed already?
14:24 masak TimToady: S09 suggestion: rename :map to :project
14:25 masak mscha: I kinda like that -- but I'd want it as `exit 2, :message("something went very wrong");`
14:26 [Coke] (die with a message) ABEND
14:42 salv0 joined #perl6
14:47 guru joined #perl6
14:59 * lizmat notices that TimToady's uniq/squish changes cause regressions in uniq.t/squish.t
15:00 lizmat FROGGS++ seems to think it may be a problem in gather take
15:00 lizmat wlll, actually it appears to be a subtle difference between .take and take($_)
15:04 Rix joined #perl6
15:04 masak r: $_ = (1, 2, 3); .say for gather .take
15:04 camelia rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089: OUTPUT«1␤2␤3␤»
15:04 masak r: $_ = (1, 2, 3); .say for gather take($_)
15:04 camelia rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089: OUTPUT«1 2 3␤»
15:04 masak yep.
15:05 masak same as we talked about before with $a.uniq vs uniq($a), I think.
15:05 FROGGS masak: yes, maybe it takes a while until it sinks in :o)
15:11 rurban1 joined #perl6
15:20 dalek rakudo/nom: 01f1ca4 | (Elizabeth Mattijsen)++ | src/core/List.pm:
15:20 dalek rakudo/nom: Fix test failures on uniq.t/squish.t
15:20 dalek rakudo/nom:
15:20 dalek rakudo/nom: Calling .take flattens, whereas take($_) doesn't.  So when taking a hash with
15:20 dalek rakudo/nom: a single key/value pair, only the pair was taken in the .take case.  This broke
15:20 dalek rakudo/nom: the tests.
15:20 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/01f1ca4502
15:20 dalek roast: 76bf067 | (Elizabeth Mattijsen)++ | S32-list/uniq.t:
15:20 dalek roast: Remove reference to discussion on p6l
15:20 dalek roast: review: https://github.com/perl6/roast/commit/76bf067ccc
15:20 dalek roast: c241c7d | (Elizabeth Mattijsen)++ | S32-list/ (2 files):
15:20 dalek roast: Add tests for #121434, can now be closed
15:20 synopsebot Link: https://rt.perl.org/rt3//Public/Bug/Display.html?id=121434
15:20 dalek roast: review: https://github.com/perl6/roast/commit/c241c7dd9b
15:30 raiph joined #perl6
15:30 colomon m: my @a := 1, -> $x { $x + 2, $x + 2 } … * ; say @a[^10]
15:30 camelia rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/8ROSl8Qn4Bâ�¤Two terms in a rowâ�¤at /tmp/8ROSl8Qn4B:1â�¤------> [32mmy @a := 1, -> $x { $x + 2, $x + 2 } [33mâ��[31m… * ; say @a[^10][0mâ�¤    expecting any of:â�¤        postfixâ�¤        st…»
15:31 dalek rakudo/nom: 4a3a406 | (Elizabeth Mattijsen)++ | docs/ChangeLog:
15:31 dalek rakudo/nom: Changelog entry for .=uniq/squish fix
15:31 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/4a3a406840
15:32 colomon m: my @a := 1, -> $x { $x + 2 } … * ; say @a[^10]
15:32 camelia rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/bHTAEEDjL9â�¤Two terms in a rowâ�¤at /tmp/bHTAEEDjL9:1â�¤------> [32mmy @a := 1, -> $x { $x + 2 } [33mâ��[31m… * ; say @a[^10][0mâ�¤    expecting any of:â�¤        postfixâ�¤        statement …»
15:33 colomon ack, bad Colloquy, bad.
15:34 rurban1 joined #perl6
15:35 colomon m: https://gist.github.com/colomon/9550146
15:35 camelia rakudo-moar 656089: OUTPUT«(timeout)»
15:35 colomon whoops
15:35 colomon m: https://gist.github.com/colomon/9550146
15:35 camelia rakudo-moar 656089: OUTPUT«0.5 0.75 0.5625 0.703125 0.585938 0.683594 0.598145 0.672913 0.605621 0.666183␤»
15:37 colomon m: https://gist.github.com/colomon/9550146
15:37 camelia rakudo-moar 656089: OUTPUT«0.633506773205973␤»
15:39 colomon m: https://gist.github.com/colomon/9550146
15:39 camelia rakudo-moar 656089: OUTPUT«3.15703017645517␤»
15:39 colomon there we go
15:39 colomon there we go
15:39 colomon m: https://gist.github.com/colomon/9550146
15:39 camelia rakudo-moar 656089: OUTPUT«3.1493784731686␤»
15:39 takesako___ joined #perl6
15:40 colomon m: https://gist.github.com/colomon/9550146
15:40 camelia rakudo-moar 656089: OUTPUT«3.14472328668891␤»
15:41 colomon m: https://gist.github.com/colomon/9550146
15:41 camelia rakudo-moar 656089: OUTPUT«3.14316070553226␤»
15:42 masak [\*] @b Z/
15:42 masak looks like a very confused \o/ :)
15:44 TimToady doesn't look like it converges very fast...
15:44 colomon TimToady: you can say that again
15:44 colomon but it's a cool equation, easily implemented, at any rate.
15:45 TimToady 1,2,2,4,4,4,4,... is a cool sequence
15:45 yoleaux joined #perl6
15:45 colomon (note that this one is 2, 2, 4, 4, 6, 6, 8, 8 … )
15:45 TimToady though I'd guess people would expect the next number to be 8 rather than 6
15:45 yoleaux joined #perl6
15:46 TimToady m: my @a := 1, -> $x { $x + 2, $x + 2 } ... *; say @a[^20]
15:46 camelia rakudo-moar 656089: OUTPUT«1 3 3 5 5 7 7 9 9 11 11 13 13 15 15 17 17 19 19 21 21 23 23 25 25 27 27 29 29 31 31 33 33 35 35 37 37 39 39␤»
15:46 colomon right
15:47 TimToady why doesn't that double the number of entries each time?
15:47 colomon TimToady
15:47 colomon ack
15:47 masak TimToady: because the block only takes one parameter?
15:47 colomon TimToady: sequence op takes the last thing on the sequence
15:47 colomon doesn't matter how many you add
15:48 masak TimToady: you're thinking of some different semantics :P
15:48 japhb__ I have an array of strings.  I want to check for certain special strings, do something in response to finding them, and remove them from the array.  Array order is not critical -- it's effectively a set in disguise -- and array identity is not important (I can create a new array if needed).  What's the most idiomatic and terse way to do this?  In Perl 5, I would do "my %hash = map {($_ => 1)} @array; thing_a() if delete $hash{key_a}; thing_b() if delete $hash{k
15:49 * TimToady goes for a second cup of coffee to see if that doubles his previous output
15:50 * colomon just hopes TimToady doesn't come back and re-spec the sequence op
15:50 erdic joined #perl6
15:51 TimToady nope, I figgered it out while I was pouring the second cup of coffee
15:51 Mouq joined #perl6
15:51 colomon japhb__: @array.grep({ if Test($_) { something($_); False; } else { True; })
15:52 colomon japhb__: though sideeffects in grep make me kind of queasy
15:53 colomon japhb__: my @special = @array.grep({ Test($_) }); @special.map({ something($_) }); @array = (@array (-) @special).lis
15:53 colomon errr, .list
15:53 Mouq @array.map: {when "key_a" { thing_a }; when "key_b" { thing_b } }
15:53 treehug8_ joined #perl6
15:54 * colomon has been using (-) a good bit in his $work code
15:56 kivutar joined #perl6
15:59 japhb__ Mouq: Deleting the special values from the array is a key part of the question.  :-)
16:00 japhb__ Colomon's first answer is interesting, despite his queasiness at suggesting it.  :-)
16:00 colomon japhb__: and my second answer doesn't work -- it's effectively also calling uniq on the array
16:00 Mouq japhb__: Just use a Set and :delete?
16:01 colomon Mouq: that too is like calling uniq on the array
16:01 colomon of course, if it really is a set in meaning anyway...
16:01 Mouq my $set = set @array; thing_a if $set<key_a>:delete; etc
16:02 japhb__ colomon: Yeah, the values were already uniq at the start (it's a list of active capability flags, effectively)
16:03 japhb__ Mouq: Hmmm, I'd forgotten that :delete works on sets.
16:04 * colomon wonders if that has been tested
16:04 TimToady sets are immutable
16:04 TimToady might work on a SetHash
16:04 japhb__ m: my @array = <a b c>; my $set = set @array; say "saw a" if $set<a>:delete; say "saw q" if $set<q>:delete; @array = $set.list; say @array;
16:04 camelia rakudo-moar 656089: OUTPUT«Cannot call 'delete_key' on an immutable 'Set'␤  in block  at src/gen/m-CORE.setting:1932␤  in sub postcircumfix:<{ }> at src/gen/m-CORE.setting:2554␤  in sub postcircumfix:<{ }> at src/gen/m-CORE.setting:2541␤  in block  at /tmp/aKpwHgkY4t:1␤␤»
16:04 guru joined #perl6
16:05 lizmat r: (<a b c>.Set)<a>:delete
16:05 camelia rakudo-parrot 656089: OUTPUT«Cannot call 'delete_key' on an immutable 'Set'␤  in block  at gen/parrot/CORE.setting:1936␤  in sub postcircumfix:<{ }> at gen/parrot/CORE.setting:2558␤  in sub postcircumfix:<{ }> at gen/parrot/CORE.setting:2545␤  in block  at /tmp/tmpfile:1␤␤»
16:05 camelia ..rakudo-jvm 656089: OUTPUT«Cannot call 'delete_key' on an immutable 'Set'␤  in block  at gen/jvm/CORE.setting:1932␤  in sub postcircumfix:<{ }> at gen/jvm/CORE.setting:2554␤  in sub postcircumfix:<{ }> at gen/jvm/CORE.setting:2541␤  in block  at /tmp/tmpfile:1␤␤»
16:05 camelia ..rakudo-moar 656089: OUTPUT«Cannot call 'delete_key' on an immutable 'Set'␤  in block  at src/gen/m-CORE.setting:1932␤  in sub postcircumfix:<{ }> at src/gen/m-CORE.setting:2554␤  in sub postcircumfix:<{ }> at src/gen/m-CORE.setting:2541␤  in block  at /tmp/tmpfile:1␤␤»
16:05 japhb__ TimToady: What's the idiom for making a SetHash from an array?
16:05 colomon .SetHash
16:05 * colomon hopes he has it right today
16:06 lizmat r: <a b c>.SetHash.perl.say
16:06 camelia rakudo-parrot 656089, rakudo-moar 656089: OUTPUT«SetHash.new("a","b","c")␤»
16:06 camelia ..rakudo-jvm 656089: OUTPUT«SetHash.new("b","a","c")␤»
16:06 japhb__ m: my @array = <a b c>; my $set = @array.SetHash; say "saw a" if $set<a>:delete; say "saw q" if $set<q>:delete; @array = $set.list; say @array;
16:06 camelia rakudo-moar 656089: OUTPUT«saw a␤b c␤»
16:06 japhb__ Oooh, that will work nicely.
16:06 TimToady usually you're building up a SetHash one value at a time, so $sethash{$key}++ is the normal thing :)
16:07 colomon $sethash{$key}-- works too?
16:07 lizmat yes
16:07 TimToady specced to
16:07 colomon afk # "Now now now READ!" -- a certain five year old, over and over again
16:07 TimToady and lizmat++ put a lot of work into making it work
16:07 lizmat r: my $s= <a b c>.SetHash; $s<a>--; say $a.perl
16:07 japhb__ TimToady: Nah, my array is actually the result of a parser (match objects thrown away by that point, the parser is a separate module).
16:07 camelia rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/tmpfileâ�¤Variable '$a' is not declaredâ�¤at /tmp/tmpfile:1â�¤------> [32ms= <a b c>.SetHash; $s<a>--; say $a.perl[33mâ��[31m<EOL>[0mâ�¤    expecting any…»
16:07 lizmat r: my $s= <a b c>.SetHash; $s<a>--; say $s.perl
16:07 camelia rakudo-parrot 656089, rakudo-jvm 656089, rakudo-moar 656089: OUTPUT«SetHash.new("b","c")␤»
16:08 lizmat r: my $s= <a b c>.SetHash; $s<a>++; say $s.perl
16:08 camelia rakudo-parrot 656089, rakudo-moar 656089: OUTPUT«SetHash.new("a","b","c")␤»
16:08 camelia ..rakudo-jvm 656089: OUTPUT«SetHash.new("b","a","c")␤»
16:08 lizmat r: my $s= <a b c>.BagHash; $s<a>++; say $s.perl
16:08 camelia rakudo-jvm 656089: OUTPUT«("b"=>1,"a"=>2,"c"=>1).BagHash␤»
16:08 camelia ..rakudo-parrot 656089, rakudo-moar 656089: OUTPUT«("a"=>2,"b"=>1,"c"=>1).BagHash␤»
16:11 dalek specs: 7b30bf2 | (Elizabeth Mattijsen)++ | S11-modules.pod:
16:11 dalek specs: Make CPAN/Github more generic "autorities"
16:11 dalek specs: review: https://github.com/perl6/specs/commit/7b30bf29a4
16:11 lizmat oops, *authorities
16:12 Mouq m: my @array = gather for <a b c> {when "a" {say "saw a"};when "q" {say "saw q"}}; say @array
16:12 camelia rakudo-moar 656089: OUTPUT«saw a␤␤»
16:12 Mouq m: my @array = gather for <a b c> {when "a" {say "saw a"};when "q" {say "saw q"};default{.take}}; say @array
16:12 camelia rakudo-moar 656089: OUTPUT«saw a␤b c␤»
16:22 arnsholt joined #perl6
16:26 rurban1 joined #perl6
16:29 daniel-s_ joined #perl6
16:31 lizmat while working again on S11/S22, I'm coming to the conclusion that "auth" (such as cpan:JRANDOM)
16:32 lizmat is really a combination of "authority" and "userid"
16:32 lizmat and that "author" would be an optional (possibly real name) of the author / last maintainer
16:33 lizmat to add to this, I think we need to split off the content delivery part from the authority
16:33 lizmat CPAN in Perl 5 is an example of being an authority *and* a content delivery
16:34 lizmat what we're doing now at the QA hackathon, is starting to use CPAN as a content delivery system, but not yet as an authority
16:34 lizmat the current Perl6 ecosystem / panda, is an example of an authority only
16:34 lizmat the content delivery there is done by github
16:34 TimToady we mainly have to be careful to preserve the concept of "identity", so we never accidentally install two different things thinking they're the same thing
16:35 TimToady but github hashes mostly solve that
16:36 lizmat so the combination of the auth cpan:JRANDOM and ver 1.0 would be an identity ?
16:36 TimToady well, and the module name
16:36 lizmat of course, yes
16:36 TimToady that's assuming cpan never allows v1.0 to be redefined
16:36 TimToady but maybe we should be pushing cpan toward cryptochecksums
16:37 lizmat techincally, PAUSE only checks the names of tarballs
16:37 lizmat you can only upload a tarball with the same name once
16:38 lizmat PAUSE already does checksums (SHA1, SHA256 and MD5)
16:38 kaare__ joined #perl6
16:39 lizmat in my view, an authority is responsible for selecting the content for a given distribution request
16:40 lizmat specifically, if there is *no* auth and/or no version, it should give the content that is best for the requestor
16:40 lizmat whatever the authority decides is best
16:40 lizmat in the Perl 5 CPAN case, this is from the module list
16:41 TimToady that is something different from auth, so should probably have a different name
16:41 lizmat for Perl 6 I was thinking we need to generalize that into functionality that an authority (CPAN / ecosystem / some company's own authority) would mean
16:41 TimToady it's something that decides what a wildcard auth meatns
16:41 TimToady *means
16:41 lizmat indeed
16:42 TimToady auth as a concept has nothing to do with retrieval, only who says what that name/version mean exactly
16:42 TimToady mixing that up with retrieval seems like a confusion to me
16:43 TimToady yes, it's a kind of authority, but I'd rather give it a different name to avoid confusion
16:43 lizmat ecosystem ?
16:44 TimToady well, it's a decider of wildcards, like a path searcher, or some such
16:44 TimToady it's a recommender, an oracle, a travel agent
16:45 lizmat hmmm...  I see this process as non-automatic, essentially community driven
16:45 TimToady it's an editorial function, yes
16:45 TimToady it's like an editor picking which authors you get to read
16:46 lizmat use Novel;
16:46 lizmat indeed
16:46 lizmat however, this is not during runtime, this is to pick for installation
16:46 lizmat once it is installed, we already have all bases covered (I think)
16:47 TimToady it's like a book's identity is its author, its name, its revision
16:47 TimToady that's the S11 meaning of auth
16:47 TimToady just that some authors are, like, companies or groups
16:47 lizmat indeed, but if somebody says: "give me a good book on Foo", which one will one get ?
16:47 TimToady but we should keep the publishing/bookselling as a separate concept
16:47 ajr joined #perl6
16:48 TimToady just don't want to usurp "auth" for that somebody instead of the original author
16:49 [Coke] "what's up?" http://explosm.net/comics/3493/ ISTR this might relate to masak.
16:49 lizmat what we need, is some community driven / accepted way of handling incomplete identity requests
16:49 lizmat similar to Perl5's module list
16:49 TimToady oh, btw, lizmat++ for fixing the .take thing
16:49 lizmat yw  :-)
16:50 dalek nqp/rotwang/parallel-make-gh152: 6ad73ae | (Bartłomiej Palmowski)++ | / (3 files):
16:50 dalek nqp/rotwang/parallel-make-gh152: Fix parallel make GH #152
16:50 dalek nqp/rotwang/parallel-make-gh152:
16:50 dalek nqp/rotwang/parallel-make-gh152: just not on netbsd
16:50 dalek nqp/rotwang/parallel-make-gh152:
16:50 lizmat FROGGS++ found the fix, really
16:50 dalek nqp/rotwang/parallel-make-gh152: Analysis and Patch by Rotwang:
16:50 dalek nqp/rotwang/parallel-make-gh152: 1) Inside nqp's main makefile three libraries have the same make recursive
16:50 dalek nqp/rotwang/parallel-make-gh152: jump.  Which means that more than one make instance (separate processes)
16:50 dalek nqp/rotwang/parallel-make-gh152: will try to build the same objects.
16:50 dalek nqp/rotwang/parallel-make-gh152:
16:50 dalek nqp/rotwang/parallel-make-gh152: 2) dyncall makefiles fail due to:
16:50 dalek nqp/rotwang/parallel-make-gh152: http://lists.gnu.org/archive/html/bug-make/2013-12/msg00019.html
16:50 dalek nqp/rotwang/parallel-make-gh152: review: https://github.com/perl6/nqp/commit/6ad73ae944
16:50 arnsholt jnthn: FYI, I've started a branch to skip the stringification step of JAST to bytecode compilation
16:50 TimToady but sure, especially when an author goes silent and a different author's fork becomes the new standard
16:50 arnsholt I think it should be mostly a matter of putting in the elbow-grease (knock on wood)
16:51 TimToady you need such editorial control not just at the community level, but at the company level as well, maybe more so than community control even
16:51 TimToady since companies tend to be more risk adverse than the community
16:51 lizmat I was using community in a loose sense here
16:52 TimToady okay, just wanted to make sure the concept stays multi-level :)
16:52 lizmat the way I see it, is that the first part of the auth
16:52 lizmat is something that indicates what I just called "authority"
16:52 lizmat but maybe "ecosystem" is better
16:52 TimToady it's a false indication, I think
16:52 treehug88 joined #perl6
16:52 lizmat in the sense that we can have multiple ecosystems
16:52 lizmat from which to install distributions
16:53 TimToady the editorial function really has very little to do with the original naming authority
16:53 lizmat true
16:53 lizmat but we need something here to really have things starting to work
16:53 TimToady think about how URLs work; editorial work is almost always done with other people's URLs, not one's own
16:53 jnthn arnsholt: Awesome. Did you see my "why things don't quite work on Windows for perl6-j NativeCall" from yesterday?
16:54 TimToady so trying to read more into the URL than original authorship would be mistake
16:54 TimToady same with the "cpan:" or the "github" prefix, it should only be identity, not editorial
16:55 lizmat so you would only see CPAN and github as content delivery systems
16:55 lizmat or any place where to get distributions
16:55 TimToady and how would you pick between those if the editor has to be one or the other?
16:55 lizmat and just have a single editor ?
16:56 skids .oO(other environments use "publisher")
16:56 TimToady would just prefer that the editor not be given a name that would confuse it with "auth"
16:56 TimToady which is more of a URL concept
16:56 lizmat when you're installing a module, you most likely already have selected the content delivery system to install from
16:57 TimToady sure, but there are maybe two different things called 'cpan' here.  or maybe the auth should be 'pause:' instead of 'cpan:'
16:58 lizmat indeed, the content delivery part, and the part that tells you which distribution to download for "Foo" (any author/any version)
17:00 arnsholt jnthn: No, I didn't
17:01 * arnsholt scrollbacks
17:01 lizmat QA hackathon midway standup time&
17:04 * TimToady has to go watch the new Miyazaki movie now :)
17:06 arnsholt jnthn: Cheers, those are exactly the kinds of thing I expected might happen
17:10 lizmat TimToady: recommendation manager (as a term instead of authority)
17:11 guru joined #perl6
17:15 colomon TimToady++
17:15 rurban TimToady: I cried at this movie. Very good
17:15 * colomon is several Miyazaki movies behind at this point.
17:32 dalek specs: 14ba243 | (Elizabeth Mattijsen)++ | S11-modules.pod:
17:32 dalek specs: Spec "production" flag in META6.json
17:32 dalek specs: review: https://github.com/perl6/specs/commit/14ba2432b6
17:34 lizmat QA hackathon dinner&
17:46 Khisanth joined #perl6
17:49 Rotwang1 joined #perl6
17:50 arnsholt jnthn: Bah. There's no ldout in Perl's %Config
17:50 arnsholt Maybe it's in ExtUtils somewhere
17:51 Khisanth joined #perl6
18:05 xenoterracide joined #perl6
18:07 SamuraiJack_ joined #perl6
18:12 timotimo o/
18:13 rom1504 left #perl6
18:16 guru joined #perl6
18:21 pecastro joined #perl6
18:24 FROGGS joined #perl6
18:28 lue hello world o/
18:28 yoleaux 08:29Z <FROGGS> lue: The current understanding is that this field is either set by pause/cpan or by panda when installing from github
18:29 lue FROGGS: I've just come to the conclusion that I should wait for all the hackathon-related dust to settle, and to read the resultant changes, before really complaining about anything. :)
18:30 lue [I suppose I was just surprised that a critical part of identifying any given module was suddenly changed in how it's set]
18:31 FROGGS lue: yes you are right, it is likely to change again because we are just in the transition from speccing to implementing it
18:33 tgt joined #perl6
18:39 dalek zavolaj: ef713c4 | jnthn++ | t/06-struct.c:
18:39 dalek zavolaj: Tweak 06-struct.c to cope with MSVC.
18:39 dalek zavolaj:
18:39 dalek zavolaj: Treats long as 32-bit even on a 64-bit box.
18:39 dalek zavolaj: review: https://github.com/jnthn/zavolaj/commit/ef713c4942
18:39 dalek zavolaj: be4edd4 | jnthn++ | t/06-struct.t:
18:39 dalek zavolaj: Fix assignment/binding confusion.
18:39 dalek zavolaj: review: https://github.com/jnthn/zavolaj/commit/be4edd4f99
18:39 dalek zavolaj: b970480 | jnthn++ | t/06-struct.t:
18:39 dalek zavolaj: Correct test message.
18:39 dalek zavolaj: review: https://github.com/jnthn/zavolaj/commit/b970480390
18:39 dalek zavolaj: 2454ace | jnthn++ | t/07-writebarrier.t:
18:39 dalek zavolaj: Another container avoidance in binding.
18:39 dalek zavolaj: review: https://github.com/jnthn/zavolaj/commit/2454ace547
18:39 timotimo i still need to find some place to stay for the GPW in 2 weeks
18:48 kurahaupo joined #perl6
18:53 zakharyas joined #perl6
18:54 bluescreen10 joined #perl6
18:58 nwc10 OK, so I have a nice fresh perl6-m
18:58 nwc10 how do I gest zavolaj?
18:59 hoverboard joined #perl6
19:02 nwc10 test
19:14 moritz nwc10: since it has no dependencies, cloning the zavolaj repo and building it is probably faster than using panda
19:14 nwc10 it's not clear how to "build" it
19:14 nwc10 but I sort of answered the question on #moarvm
19:17 raiph m: for $*IN {.say}
19:17 camelia rakudo-moar 4a3a40: OUTPUT«Failed to write bytes to filehandle: bad file descriptor␤  in method print at src/gen/m-CORE.setting:13550␤  in method print at src/gen/m-CORE.setting:13548␤  in method say at src/gen/m-CORE.setting:13562␤  in method say at src/gen/m-CORE.setting:1…»
19:17 raiph ww
19:19 raiph m: lines
19:19 camelia rakudo-moar 4a3a40: OUTPUT«(signal SEGV)»
19:19 moritz for $*IN {.say}   is like   $*IN.say
19:20 raiph moritz: yeah, didn't mean that to be in public channel
19:20 raiph r: lines
19:21 camelia rakudo-parrot 4a3a40, rakudo-jvm 4a3a40: ( no output )
19:21 camelia ..rakudo-moar 4a3a40: OUTPUT«(signal SEGV)»
19:21 moritz that one, OTOH, shouldn't segv :-)
19:22 raiph p: for lines {.say}
19:22 camelia rakudo-parrot 4a3a40: OUTPUT«[31m===[0mSORRY![31m===[0m�Function 'lines' needs parens to avoid taking the block�at /tmp/YGrlngaxqh:1�------> [32mfor lines {.say}[33m�[31m<EOL>[0m�Missing block (apparently taken by 'lines')�at /tmp/YGrlngaxqh:1�------> [32mfor …»
19:23 raiph p: for .lines {.say}
19:23 camelia rakudo-parrot 4a3a40: OUTPUT«Cannot call 'lines'; none of these signatures match:␤:(Cool:D: *%_)␤  in any  at gen/parrot/BOOTSTRAP.nqp:1219␤  in any  at gen/parrot/BOOTSTRAP.nqp:1210␤  in method lines at gen/parrot/CORE.setting:3581␤  in block  at /tmp/Y6Fmu9jg9c:1␤␤»
19:23 raiph p: for lines() {.say}
19:23 camelia rakudo-parrot 4a3a40: OUTPUT«There were three men came out of the West␤Their fortunes for to try␤And these three men made a solemn vow␤John Barleycorn must die␤␤They've ploughed, they've sewn, they've harrowed him in␤Threw clouds upon his head␤And these three men made …»
19:23 raiph p: say for lines() %{$_}++
19:23 camelia rakudo-parrot 4a3a40: OUTPUT«No such method 'succ' for invocant of type 'Block'␤  in sub postfix:<++> at gen/parrot/CORE.setting:1791␤  in sub postfix:<++> at gen/parrot/CORE.setting:1790␤  in block  at /tmp/bPExxr09VN:1␤␤»
19:24 raiph p: for lines() my %a{$_}++ and say %a
19:24 camelia rakudo-parrot 4a3a40: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/Nqb_O8K1zvâ�¤Missing blockâ�¤at /tmp/Nqb_O8K1zv:1â�¤------> [32mfor lines() [33mâ��[31mmy %a{$_}++ and say %a[0mâ�¤    expecting any of:â�¤        postfixâ�¤        infix stopperâ�¤        inf…»
19:24 raiph p: for lines() { my %a{$_}++} and say %a
19:24 camelia rakudo-parrot 4a3a40: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/7WgtoBb1bmâ�¤Invalid hash shape; type expectedâ�¤at /tmp/7WgtoBb1bm:1â�¤------> [32mfor lines() { my %a{$_}[33mâ��[31m++} and say %a[0mâ�¤    expecting any of:â�¤        postfixâ�¤        stat…»
19:25 raiph p: my %a; for lines() { %a{$_}++}; say %a
19:25 camelia rakudo-parrot 4a3a40: OUTPUT«("There were three men came out of the West" => 1, "Their fortunes for to try" => 1, "And these three men made a solemn vow" => 2, "John Barleycorn must die" => 1, "" => 9, "They've ploughed, they've sewn, they've harrowed him in" => 1, "Threw clouds upo…»
19:25 raiph darn it, sorry for spam, ww again :(
19:28 kurahaupo joined #perl6
19:31 treehug88 joined #perl6
19:54 colomon joined #perl6
20:00 colomon m: say lines().Bag
20:00 camelia rakudo-moar 4a3a40: OUTPUT«(signal SEGV)»
20:00 colomon p: say lines.Bag
20:00 camelia rakudo-parrot 4a3a40: OUTPUT«bag(There were three men came out of the West, Their fortunes for to try, And these three men made a solemn vow(2), John Barleycorn must die, (9), They've ploughed, they've sewn, they've harrowed him in, Threw clouds upon his head, John Barleycorn was de…»
20:00 colomon p: say lines.Bag.perl
20:00 camelia rakudo-parrot 4a3a40: OUTPUT«("There were three men came out of the West"=>1,"Their fortunes for to try"=>1,"And these three men made a solemn vow"=>2,"John Barleycorn must die"=>1,""=>9,"They've ploughed, they've sewn, they've harrowed him in"=>1,"Threw clouds upon his head"=>1,"Jo…»
20:01 retupmoca panda on moarvm won't bootstrap for me: ===SORRY!===\n!cursor_start_cur cannot restart a cursor
20:01 retupmoca does anyone else see this, or did I break something locally?
20:07 lue retupmoca: does panda work with other backends?
20:08 jnthn It's first time I've seen that issue mentioned here
20:16 lue Just got it trying to use ufo on zavolaj too, affecting all backends :/
20:17 lue Yeah, as I suspected, it seems to be my fault :(
20:21 lue jnthn: anything about    {$*BORG<culprit> := $*BORG<culprit> // $<EXPR>.CURSOR.at(self.pos)}    that makes you recoil in horror? :)
20:22 lue STD's version of the same is  https://github.com/perl6/std/blob/master/STD.pm6#L1215
20:22 jnthn Hmm. I'm sure .at is what you're looking for there
20:22 jnthn What are you tyring to do?
20:22 jnthn Shift the cursor to that position?
20:22 jnthn .'!cursor_pos' may do it if so
20:23 erdic joined #perl6
20:23 lue At that point, I'm trying to set $*BORG<culprit> to a position that gets used in reporting when a block is missing.
20:24 jnthn ah, then at certainly sounds wrong.
20:25 lue (this is in xblock in the grammar, for context)
20:25 jnthn See if the method I suggested might do it
20:25 jnthn But I don't know what it returns
20:26 lue jnthn: I use .'!cursor_pos' in pblock to move the position for the error, so I'm certain that's wrong.
20:26 jnthn Oh, what's not what you wnat to do?
20:27 jnthn oh...
20:27 lue jnthn: I think I may just want $<EXPR>.CURSOR.pos
20:27 jnthn It looks like whatever_thingy.cusror(self.pos) will just make a cursor that is set to that position.
20:27 jnthn uh, the current position.
20:28 lue jnthn: I feel silly. I'm not actually using <culprit> :P
20:30 lue jnthn: STD uses <culprit> to accomplish an error message with two "this is the code that fails" things; I opted for making existing error functions do that for me, thus negating the need for culprit.
20:30 jnthn ok :)
20:30 jnthn Then, easy fix?
20:31 denisboyun joined #perl6
20:31 lue Yeah, just deleted all the stuff with <culprit>. Testing to see if it builds, and then try to run ufo.
20:35 lue cool, now I get a totally different error for ufo :)
20:36 dalek rakudo/nom: a2db06e | lue++ | src/Perl6/Grammar.nqp:
20:36 dalek rakudo/nom: Remove useless code from grammar.
20:36 dalek rakudo/nom:
20:36 dalek rakudo/nom: Better yet, it was causing errors!
20:36 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a2db06eb02
20:36 lue retupmoca: pull latest rakudo and try again, should work :)
20:36 * lue afk
20:49 jnthn arnsholt: I think explicitly-manage will want a re-visit at some point in terms of its implementation details...
21:04 arnsholt jnthn: I want to remove it entirely, once I get a chance to refactor some bits, actually
21:04 arnsholt It's a terrible, terrible hack
21:13 clkao joined #perl6
21:18 timotimo o/
21:18 jnthn arnsholt: Yeah, tell me about it... And my way of making it sorta-work on Moar is an even worse hack.
21:19 jnthn arnsholt: As in, "every single call pays the price for the hack"
21:20 [Coke] that sounds... bad
21:21 jnthn Yeah. It needs to die.
21:21 jnthn We can worry about that once the test suite passes on Moar though.
21:26 dalek nqp: f71ff29 | jnthn++ | src/vm/moar/QAST/QASTOperationsMAST.nqp:
21:26 dalek nqp: Add decont for nativecallrefresh.
21:26 dalek nqp: review: https://github.com/perl6/nqp/commit/f71ff293a1
21:26 dalek nqp: 5cafc1d | jnthn++ | src/vm/moar/QAST/QASTOperationsMAST.nqp:
21:26 dalek nqp: Hack to make the cstr thing work out.
21:26 dalek nqp:
21:26 dalek nqp: The plan is to make that go away, but for now we depend on it to get
21:26 dalek nqp: the NativeCall tests passing.
21:26 dalek nqp: review: https://github.com/perl6/nqp/commit/5cafc1dd6d
21:27 BenGoldberg joined #perl6
21:30 jnthn With latest Moar/NQP/Rakudo/NativeCall, on my box at least we now pass everything except the callback tests.
21:30 nwc10 NQP build midway
21:30 jnthn Trying out DBIish on Moar is greatly encouraged, if anybody has the tuits :)
21:32 jnthn arnsholt: What is the role of the callback cache, roughly?
21:34 * jnthn is trying to work out what it's keyed on...
21:35 Mouq joined #perl6
21:37 Bucciarati joined #perl6
21:38 rurban1 mingw32 has perl 5.8.8. // fails there. (nqp Configure git-options)
21:38 nwc10 jnthn: presumably it's LHF to get the zavolaj tests to report the correct test numbers for the ok's
21:39 nwc10 (ie resetting the Test.pm idea of current test after the C tests)
21:39 jnthn nwc10: Yes, if it causes issues.
21:39 nwc10 "it's not pretty" and 2 of us have mistaken it
21:39 nwc10 jnthn++ # "works on my machine too"
21:39 nwc10 01-07 all happy
21:39 jnthn yay
21:40 jnthn Now I just have callbacks left, then... :)
21:40 nwc10 beer and curry?
21:40 jnthn Well, already full of steak from dinner ))
21:41 jnthn But beer...now there's a good idea.
21:41 nwc10 I think you deserve it
21:42 clkao_ joined #perl6
21:43 * jnthn picks out an imperial IPA
21:44 jnthn http://www.ratebeer.com/beer/omnipollo-nebuchadnezzar/184949/ :)
21:44 nwc10 works on "my" machine with ASAN
21:44 nwc10 (that's all the way to zavolaj)
21:44 jnthn yay
21:54 flussence joined #perl6
21:55 yoleaux joined #perl6
21:58 telex joined #perl6
22:15 fridim__ joined #perl6
22:18 colomon joined #perl6
22:19 Vlavv joined #perl6
22:20 aindilis joined #perl6
22:23 jnap joined #perl6
22:24 arnsholt jnthn: From memory, it's keyed on the function. It's caching the stuff needed to pass a given function as a callback
22:24 jnthn arnsholt: Yeah, figured enough...I think. Working on porting it.
22:25 arnsholt jnthn: FWIW, my plan for killing CStr and friends requires a way of signalling to NativeCall whether the memory associated with a thing should be freed on GC or not
22:26 arnsholt Then we can just unmarshal strings to a CArray[int8] corresponding to an encoding (via Buf, is my thinking) and signal freeing semantics on the array
22:26 timotimo the Yen character no longer means Z since when?
22:28 nwc10 r: printf "%x\n", 911352958828937218
22:28 camelia rakudo-parrot a2db06, rakudo-jvm a2db06: OUTPUT«ca5c6b000000002␤»
22:28 camelia ..rakudo-moar a2db06: OUTPUT«ca5c6b000000000␤»
22:28 nwc10 one of these is not like the others
22:29 Bucciarati joined #perl6
22:29 jnthn nwc10: Dunno if that specific case is to blame, but we still have a few failing sprintf tests.
22:30 arnsholt nwc10: Any idea if there's a place in Perl's config stuff where I can get the linker's flag to specify output file? (-o on Unix, but crucially not on Windows)
22:30 arnsholt Doesn't appear to be in Config.pm
22:31 nwc10 I don't know. Ask leont
22:31 nwc10 but the answer might be "didn't exist in Config.pm, so got hard coded by platform"
22:31 nwc10 but I think that leont will know
22:31 nwc10 he's probably asleep in Lyon currently
22:32 arnsholt Yeah, might be. Thanks
22:32 lue timotimo: since putting it in Sc made more sense :)
22:32 arnsholt Looks like ExtUtils::CBuild knows, but doesn't look like it's part of the public API
22:33 nwc10 I should go to bed
22:33 arnsholt Me too =)
22:33 nwc10 in case the small alarm clock repeats her performance from this morning and is climbing on me before 7am
22:35 dalek nqp: ce3915e | rurban++ | tools/lib/NQP/Configure.pm:
22:35 dalek nqp: [Configure] omit unneeded 5.10ism, needed for mingw (5.8.8 perl)
22:35 dalek nqp:
22:35 dalek nqp: Fixes GH #165
22:35 dalek nqp: review: https://github.com/perl6/nqp/commit/ce3915e273
22:35 jnthn nwc10: Sounds wise :)
22:35 jnthn nwc10: Sleep well
22:35 nwc10 thanks. you too
22:36 jnthn Eventually :)
22:42 rurban parrot has such a config flag
22:42 arnsholt Yeah, but it has it specified in its own config files, so it's not that easy to get to for the JVM backend
22:42 rurban cc_o_out it is
22:43 rurban and ld_out also
22:43 jnthn Moar has one too, but if you're only buildin gthe JVM backend neither of those help much...
22:43 rurban hmm, Configure could pass that around
22:43 arnsholt Which is why I wanted to find it in Perl's stuff, for the JVM backend
22:43 jnthn *nod*
22:44 jnthn Well, to a first approximation MSVC is /Fo and everything else is -o :)
22:44 arnsholt True, true
22:44 jnthn .oO( I pity the /Fo... )
22:45 arnsholt What's the value of $^O on Windows?
22:45 rurban well, since perl uses -o everywhere just not in win32, it should be easy
22:45 rurban mswin32
22:46 rurban MsWin32 exaclty
22:46 rurban perldoc perlport
22:46 arnsholt Cool. Then it should be easy to specialcase for Windows
22:46 rurban Uuh, MSWin32
22:47 rurban link has -out:, the rest /Fo afaik
22:47 Mouq lizmat, FROGGS: Since META.info/META6.json is going to be hooked to the spec, does that mean it itself should be versionable?
22:47 rurban see win32/Makefile
22:48 lue Mouq: perhaps the perl6 version parameter takes care of it?
22:51 Mouq lue: True enough, I just wanted to put it up for consideration
23:02 [Sno] joined #perl6
23:06 Psyche^_ joined #perl6
23:08 Mouq p6: my $x; say $x++, $x++
23:08 camelia rakudo-parrot a2db06, rakudo-jvm a2db06, rakudo-moar a2db06, niecza v24-109-g48a8de3: OUTPUT«01␤»
23:08 Mouq p6: my $x; say {$x++}(), {$x++}()
23:08 camelia rakudo-parrot a2db06, rakudo-jvm a2db06, rakudo-moar a2db06, niecza v24-109-g48a8de3: OUTPUT«01␤»
23:14 daniel-s_ joined #perl6
23:18 skids joined #perl6
23:20 rurban1 joined #perl6
23:38 daniel-s__ joined #perl6
23:38 klapperl_ joined #perl6
23:39 xragnar_ joined #perl6
23:39 erdic_ joined #perl6
23:41 xinming__ joined #perl6
23:41 guru joined #perl6
23:43 Shozan joined #perl6
23:44 daniel-s__ joined #perl6
23:44 sbauer_ joined #perl6
23:45 erdic_ joined #perl6
23:45 dalek zavolaj: 20e50da | jnthn++ | t/08-callbacks.c:

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo