Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2012-08-30

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:01 [Coke] sorear: it compiled to pir, but then had a runtime failure, yes.
00:01 cognominal_ joined #perl6
00:02 [Coke] also: I'M ON A PLANE.
00:02 cognominal_ say dir '/', :test( -> $_ { IO::Path.new("/$_").d }) # better
00:02 sorear I've been on those before
00:03 sorear I've even tried typing on them, but my arms are too long to assume typing posture in an airplane seat :(
00:03 cognominal_ anyway I think a path should be passed to the test so one could write
00:03 cognominal_ say dir '/', :test( -> $_ { .d }) # better
00:03 cjbot joined #perl6
00:04 benabik joined #perl6
00:05 cognominal_ on the other hand, people expecting a string would no be happy
00:05 [Coke] having a smallish laptop helps.
00:05 * [Coke] ponders hacking on tcl to avoid thinking about how iffy that pre flight meal was.
00:32 uvtc joined #perl6
00:32 uvtc hi japhb
00:32 phenny uvtc: 29 Aug 23:32Z <japhb_> ask uvtc What did you use to syntax highlight the snippets at http://unexpected-vortices.com/​temp/perl6-snippets/index.html ?
00:34 uvtc phenny tell japhb Those snippets already had syntax-highlighting markup applied. I got them from perl6.org/snippets . I think moritz made them. I just created a simple style.css file for them by-hand.
00:34 uvtc phenny, tell japhb : Those snippets already had syntax-highlighting markup applied. I got them from perl6.org/snippets . I think moritz made them. I just created a simple style.css file for them by-hand.
00:34 phenny uvtc: I'll pass that on when japhb is around.
00:50 tokuhiro_ joined #perl6
00:51 uvtc left #perl6
00:57 scott__ joined #perl6
00:59 drbean joined #perl6
01:00 tokuhiro_ joined #perl6
01:03 ObseLeTe joined #perl6
01:03 Circlepuller_ joined #perl6
01:19 araujo joined #perl6
01:19 araujo joined #perl6
01:23 [Coke] only 15m free wifi on the plane and I was too lazy to reconnect.
01:24 [Coke] so, I have an Actions class with: PAST::Op.new( :name('invoke'), :node($/) );
01:25 [Coke] but when running that PAST, I get "Could not find sub invoke". ... where can I put the invoke sub?
01:29 [Coke] putting in the same scope as MAIN, not found. inside the Actions class, not found.
01:35 sorear are there any parroty people around to reply to eiro's second mail?
01:37 [Coke] which list?
01:38 [Coke] nevermind, boarding soon.
01:38 sorear p6u, for reference
01:54 popl joined #perl6
01:56 FROGGS_ joined #perl6
02:14 japhb phenny, tell uvtc Ah, thank you.
02:14 phenny japhb: I'll pass that on when uvtc is around.
02:14 phenny japhb: 00:34Z <uvtc> tell japhb : Those snippets already had syntax-highlighting markup applied. I got them from perl6.org/snippets . I think moritz made them. I just created a simple style.css file for them by-hand.
02:25 MikeFair_ joined #perl6
02:26 orafu joined #perl6
02:38 fgomez joined #perl6
02:51 MikeFair_ joined #perl6
02:56 dayangkun joined #perl6
02:59 wk_ joined #perl6
03:06 bluescreen10 joined #perl6
03:16 arnsholt joined #perl6
03:28 zhutingting joined #perl6
03:35 zhutingting joined #perl6
04:03 wamba joined #perl6
04:04 odoacre joined #perl6
04:31 telex joined #perl6
04:32 odoacre joined #perl6
04:32 cjbot joined #perl6
04:52 pmichaud good morning, #perl6
04:56 asdasd joined #perl6
04:56 Circlepuller joined #perl6
04:57 MikeFair_ pmichaud: good morning!
05:01 xinming joined #perl6
05:04 bluescreen10 joined #perl6
05:12 benabik joined #perl6
05:13 kaleem joined #perl6
05:20 birdwindupbird joined #perl6
05:25 sivoais joined #perl6
05:37 marmay joined #perl6
05:41 cognominal__ joined #perl6
05:49 simcop2387 joined #perl6
05:58 moritz good am, pm
05:58 sorear o/ moritz
06:00 moritz good morning sorear
06:00 moritz felher: pong
06:00 wtw joined #perl6
06:05 REPLeffect joined #perl6
06:11 erkan joined #perl6
06:11 erkan joined #perl6
06:30 FROGGS joined #perl6
06:33 felher moritz: what is C<$*FATAL> for? I saw in in p6doc but can not find it anywhere in the specs.
06:33 felher There also don't seem to be any spectests regarding C<$*FATAL>
06:34 cognominal_ joined #perl6
06:35 moritz felher: rakudo uses it for implementing 'use fatal;'. But TimToady indicated that it's likely the wrong way to do things (wrong scoping)
06:35 felher moritz: okay. as i'm currently working on variables a bit, shall i keep or remove it?
06:48 * felher -> bus
07:02 brrt joined #perl6
07:14 SamuraiJack joined #perl6
07:19 GlitchMr joined #perl6
07:27 wamba joined #perl6
07:29 moritz felher: remove it from p6doc
07:32 cognominal__ joined #perl6
07:38 marmay I've got a C function that returns a string, i.e. its signature is something like void some_string(char* buffer) and it writes a string of fixed length to buffer. I would like to call this function using NativeCall. sub some_string(Str $buffer) is native("...") { * } does not work, of course. Is there an easy way to call this function?
07:40 arnsholt That should work
07:41 arnsholt Do you get some kind of error message or something?
07:41 cjbot joined #perl6
07:41 marmay No, just no output. But I didn't try any other functions from this library yet.
07:41 marmay Buf if this is supposed to work, I will try something different first.
07:42 arnsholt Nah, it should be Str
07:42 arnsholt What's the library, OOC?
07:42 marmay openssl's libcrypt.so
07:43 arnsholt Oh, hang on. Is the function writing the data in buffer to somewhere, or is it supposed to write to buffer?
07:43 marmay It writes data to buffer.
07:43 arnsholt Right, right
07:44 arnsholt Then I'm not surprised it doesn't quite work, I'm afraid :/
07:44 arnsholt (I hack quite a bit on Zavolaj)
07:45 kresike joined #perl6
07:46 kresike good morning all you happy perl6 people
07:46 arnsholt Thing is, Perl 6's Str is an immutable object, so how to get the semantics of this exposed isn't immediately obvious (or something I've thought about yet)
07:46 sorear I'm curious what would happen if you declared it (Str $buffer is rw)
07:46 marmay I tried that already, same result.
07:46 tadzik I think everything is 'is rw' in zavolaj
07:46 sorear arnsholt: I think jnthn said at yapc that Zavolaj was the only thing allowed to mutate string data?
07:46 arnsholt Hmm. That's possible
07:51 arnsholt One thing that might work is:
07:51 arnsholt my $buffer = "string of appropriate length goes here";
07:52 arnsholt explicitly-manage($buffer);
07:52 arnsholt your_func($buffer);
07:53 arnsholt explicitly-manage adds an attribute (sort of) to your Str that contains a C pointer with the string that persists
07:53 timotimo python does is similarly, but you create an actual buffer object from a string and that buffer object is read-write.
07:54 arnsholt But the changes probably won't be accessible from Perl, only C
07:54 moritz you could also do magic with the scalar container
07:54 arnsholt The right solution is probably to change the function signature to some_string(CArray[int8]), but that's NYI =(
07:55 moritz like, create a mutable C string, pass a pointer to it to the C function, and then create a new Perl 6 Str from the buffer, and put that into the container
07:57 arnsholt Or that
08:02 dalek Perlito: 2ffd277 | (Flavio S. Glock)++ | / (3 files):
08:02 dalek Perlito: Perlito5 - improve error handling at compilation-time
08:02 dalek Perlito: review: https://github.com/fglock/​Perlito/commit/2ffd277f00
08:04 ObseLeTe joined #perl6
08:06 fhelmberger joined #perl6
08:08 marmay Okay. explicitly-manage does not change anything from my Perl program's view. Using a CArray[int8] works fine, though it seems that at_pos returns 4 or 8 bytes at once. Doing some binary operations would work out fine.
08:09 arnsholt Yeah, getting sized stuff to work is in the pipeline, but not yet there
08:10 arnsholt So any int-typed CArray will read a machine int at a time
08:11 ObseLeTe joined #perl6
08:11 marmay Okay, maybe I am going to use this solution as a work-around and watch Zavolaj carefully.
08:14 moritz marmay: out of curiousity, what are you working on?
08:14 cjbot joined #perl6
08:16 marmay I am not quite sure how far I get until I run out of time or interest. But if I keep working on it I will tell you later, okay? ;9
08:16 moritz sure :-)
08:17 sorear is it a libcurl binding? :D
08:17 sorear (context: we had two people write libcurl bindings earlier this year without telling each other)
08:18 dalek Perlito: 3585bd8 | (Flavio S. Glock)++ | / (2 files):
08:18 dalek Perlito: Perlito5 - preload warnings.pm (this is required by t/op/negate.t)
08:18 dalek Perlito: review: https://github.com/fglock/​Perlito/commit/3585bd8327
08:24 Psyche^ joined #perl6
08:28 daxim joined #perl6
08:29 FROGGS sorear: thats why it is important to release even it to modules.perl6.org even if it is just a stub
08:29 FROGGS and now the question: who do I have to bug to get my module listed?
08:29 tadzik me
08:29 FROGGS purrrfect ;o)
08:29 tadzik or anyone with perl6/ecosystem write access
08:29 tadzik there's a wiki for that, I think :)
08:29 moritz felher: tell me your github ID, and I can give you write access
08:30 tadzik http://wiki.perl6.org/Create%​20and%20Distribute%20Modules
08:30 moritz erm, s/felher/FROGGS/
08:30 moritz sorry
08:30 FROGGS ya, it states that I have to bug "someone" on this channel
08:30 tadzik :)
08:30 FROGGS moritz: FROGGS
08:31 moritz FROGGS: welcome to the perl6 team
08:31 FROGGS thanks!
08:31 moritz FROGGS: you can now add stuff to ecosystem (and a few other repos :-)
08:32 FROGGS cool, I'll add my stuff then these days
08:34 wamba joined #perl6
08:38 cjbot joined #perl6
08:43 FROGGS would be cool to have my BubbleBreaker game in perl6 ...
08:43 * FROGGS has now plans for weekend
08:43 tadzik :)
08:44 seldon joined #perl6
08:46 dakkar joined #perl6
09:07 arnsholt_ joined #perl6
09:08 xinming_ joined #perl6
09:09 mathw_ joined #perl6
09:09 ironcamel joined #perl6
09:10 huf joined #perl6
09:10 zamolxes joined #perl6
09:10 Psyche^ joined #perl6
09:10 Helios joined #perl6
09:10 awwaiid joined #perl6
09:11 robinsmidsrod joined #perl6
09:12 simcop2387 joined #perl6
09:35 snearch joined #perl6
09:43 Tene joined #perl6
09:43 Tene joined #perl6
09:50 leont joined #perl6
10:00 wamba left #perl6
10:00 wamba joined #perl6
10:12 spider-mario joined #perl6
10:14 kurahaupo joined #perl6
10:16 dalek doc/variables: 81784c9 | (Felix Herrmann)++ | lib/variables.pod:
10:16 dalek doc/variables: [variables] fix length of a line
10:16 dalek doc/variables: review: https://github.com/perl6/doc/commit/81784c9898
10:16 dalek doc/variables: cce60ee | (Felix Herrmann)++ | lib/variables.pod:
10:16 dalek doc/variables: [variables] elaborate dynamic variables example
10:17 dalek joined #perl6
10:17 felher moritz: i added a few lines to [variables] and put all my changes into a branch :) you may review, merge, discard, cherry-pick however and whatever commits you like :)
10:22 cjbot joined #perl6
10:24 wk joined #perl6
10:29 moritz woah, felher++
10:29 dalek doc: 81784c9 | (Felix Herrmann)++ | lib/variables.pod:
10:29 dalek doc: [variables] fix length of a line
10:29 dalek doc: review: https://github.com/perl6/doc/commit/81784c9898
10:29 dalek doc: cce60ee | (Felix Herrmann)++ | lib/variables.pod:
10:29 dalek doc: [variables] elaborate dynamic variables example
10:29 masak good morning, #perl6 :)
10:30 moritz good UGT antenoon, masak :-)
10:30 masak Perl 6 day today! \o/
10:30 moritz \o/
10:30 dalek joined #perl6
10:30 moritz masak: so, what are your plans?
10:31 masak fix one or both known bugs with the macros. blog.
10:32 tadzik write a macro-powered module! \o/
10:32 masak thought has crossed my mind, yes :)
10:32 masak I'm thinking we can fake some pretty cool AST construction/modification by wrapping nqp:: calls in an API.
10:33 cjbot https://twitter.com//status/ :
10:33 tadzik uh-oh
10:33 masak cjbot: sorry, what?
10:33 daxim http://status.twitter.com/
10:36 cjbot https://twitter.com/Kharec​/status/240297523519057921 : En revanche, j'ai essayé deux-trois fois, j'suis pas trop #Perl6. J'pense que je m'y mettrais que quand #perl n'existera plus. #PasDeSuite
10:36 cjbot https://twitter.com/itimesup​uc/status/240308409700851712 : Perl 6 Now: The Core Ideas Illustrated With Perl 5 (Expert's Voice in Open Source) (Paperback) http://t.co/6AJW8Zki
10:37 cjbot https://twitter.com/uhyreni​/status/240308444786200576 : Perl 6 Essentials (Paperback): Perl 6 Essentials is a sneak-preview of Perl 6, the widely-anticipated rewrite of... http://t.co/0hrxMEdj
10:37 cjbot https://twitter.com/PerlWeek​ly/status/240378886406418432 : perl6.announce: ANNOUNCE: Niecza Perl 6 v21 by Stefan O'Rear http://t.co/v7Ap88zZ
10:38 cjbot https://twitter.com/ajbrowe​/status/240401107443150848 : RT @perlbuzz: Starting again with Rakudo Perl 6 http://t.co/UhFAG4RL
10:38 cjbot https://twitter.com/trochee​/status/240460876992364545 : @arthaey ... Objects &amp; namespaces as bolted-on afterthought, 1- &amp; 2-char built-in fns, perl 6 (15 years of "almost ready"!)...
10:39 cjbot https://twitter.com/blasgord​on/status/240462236538265600 : RT @PerlWeekly: perl6.announce: ANNOUNCE: Niecza Perl 6 v21 by Stefan O'Rear http://t.co/v7Ap88zZ
10:40 cjbot https://twitter.com/Erebuss​/status/240743153571876864 : J'ai hate qu'on parle des failles de PERL 6 ... ca voudra dire qu'il est sortie :D
10:40 cjbot https://twitter.com/dwarf_pow​er/status/240746346666156032 : RT @Erebuss: J'ai hate qu'on parle des failles de PERL 6 ... ca voudra dire qu'il est sortie :D
10:41 cjbot https://twitter.com/daveofly​nn/status/240751067741159425 : @rioter @surfichris If the base don't want to go, how do you propose to drag them? cf. Python 3,  Perl 6
10:41 cjbot https://twitter.com/carlmasa​k/status/240757621668335616 : "There is much work yet to be done in [designing programming languages]..." https://t.co/LBvQcfHM That's what Perl 6 has taught me, too.
10:41 masak cjbot: when I said "sorry, what?", I didn't mean "could you repeat everything you've ever said?" :P
10:42 cjbot https://twitter.com/barcelona​pm/status/240830032652677121 : RT @PerlWeekly: perl6.announce: ANNOUNCE: Niecza Perl 6 v21 by Stefan O'Rear http://t.co/v7Ap88zZ
10:42 cjbot https://twitter.com/quietfana​tic/status/240851560559693824 : RT @carlmasak: "There is much work yet to be done in [designing programming languages]..." https://t.co/LBvQcfHM That's what Perl 6 has  ...
10:43 cjbot https://twitter.com/daveofly​nn/status/240912593798168577 : @shadowcat_mst That wasn't the original plan for Perl 6 though; it's evolved that way because ppl wouldn't upgrade from 5.
10:43 cjbot was kicked by moritz: cjbot
10:43 moritz cjbot, please come back when you've learned to send each message only once :-)
10:43 masak moritz++
10:59 * felher is now heading home and cleaning up the place to show it to the next tenant
10:59 felher bye folks
10:59 masak o/
11:05 cjbot joined #perl6
11:20 mucker joined #perl6
11:36 skids joined #perl6
11:42 cognominal joined #perl6
11:47 cjbot joined #perl6
12:01 masak git-add -i ftw.
12:04 cjbot https://twitter.com/afiskon​/status/241144004295675904 : { aaa =&gt; 123, bbb =&gt; 456 } eqv { bbb =&gt; 456, aaa =&gt; 123 } #perl6 #perl
12:13 masak rn: say { aaa => 123, bbb => 456 } eqv { bbb => 456, aaa => 123 }
12:14 p6eval rakudo d70363, niecza v21-1-ga8aa70b: OUTPUT«True␤»
12:14 masak yep :)
12:32 cognominal can someone explain this signature :      method read(IO:D: Cool:D $bytes as Int)
12:33 cognominal I mean the signature part in that declaration.
12:33 tadzik it must be called on a defined IO object. It takes a defined Cool of bytes, and coerces them to Int
12:34 masak 'IO:D:' -- the invocant is a defined IO. 'Cool:D' -- the first argument to the method is a defined Cool, which is coerced to an Int.
12:35 cognominal ho, I always miss the final ':' on the first type :(
12:36 masak it's really a kind of comma in that context.
12:37 masak I mean, in a very real sense, that method has two parameters, the invocant and the coerced defined Cool.
12:38 JimmyZ joined #perl6
12:40 cognominal yes, my eyes are trained to split on the comma and I miss the colon altogether
12:42 masak well, it's a bit special in that you don't have to specify the invocant parameter at all. you get one for free.
12:42 masak rn: class B { ... }; class A { method foo(B $self:) { say "whoa!" } }; class B is A {}; B.new.foo
12:42 p6eval niecza v21-1-ga8aa70b: OUTPUT«Potential difficulties:â�¤  $self is declared but not used at /tmp/OIA1Mp_7p4 line 1:â�¤------> [32mclass B { ... }; class A { method foo(B [33mâ��[31m$self:) { say "whoa!" } }; class B is A [0mâ�¤â�¤whoa!â�¤Â»
12:42 p6eval ..rakudo d70363: OUTPUT«whoa!␤»
12:42 masak whoa.
12:44 masak n: class B { ... }; class A { has $.name; method foo(B:) { say "holy subclass black magic, $.name!" } }; class B is A {}; B.new(:name<Batman>).foo
12:44 p6eval niecza v21-1-ga8aa70b: OUTPUT«holy subclass black magic, Batman!␤»
12:45 masak rn: class A {}; class B is A { method foo(A:) { say "B.foo called on {self}" } }; B.new.foo
12:45 p6eval rakudo d70363: OUTPUT«B.foo called on B<409371901>␤»
12:45 p6eval ..niecza v21-1-ga8aa70b: OUTPUT«B.foo called on B()<instance>␤»
12:46 masak rn: class A {}; class B is A { has $.x; our method foo(A:) { say $.x } }; &B::foo(A.new)
12:46 p6eval rakudo d70363: OUTPUT«No such method 'x' for invocant of type 'A'␤  in method foo at /tmp/sxC9tMdwn5:1␤  in block  at /tmp/sxC9tMdwn5:1␤␤»
12:46 p6eval ..niecza v21-1-ga8aa70b: OUTPUT«Unhandled exception: Unable to resolve method x in type A␤  at /tmp/xhRtcfMR52 line 1 (B.foo @ 4) ␤  at /tmp/xhRtcfMR52 line 1 (mainline @ 8) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4138 (ANON @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 413…
12:46 masak fairynuff. :)
12:47 masak rn: class A {}; class B is A { has $!x = 5; our method foo(A:) { say $!x } }; &B::foo(A.new)
12:47 p6eval rakudo d70363: OUTPUT«Can not get non-existent attribute '$!x' on class 'B'␤  in method foo at /tmp/VJNmq6t_GV:1␤  in block  at /tmp/VJNmq6t_GV:1␤␤»
12:47 p6eval ..niecza v21-1-ga8aa70b: OUTPUT«Unhandled exception: Attribute $!x not defined in A or any superclass␤  at /tmp/CrsNtNMjth line 1 (B.foo @ 4) ␤  at /tmp/CrsNtNMjth line 1 (mainline @ 8) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4138 (ANON @ 3) ␤  at /home/p6eval/niecza/lib/CORE.sett…
12:47 * masak submits LTA error message rakudobug
12:51 Targen joined #perl6
12:53 cognominal suppose I write a find routine to scan a filesystem. In the absence of coroutine, how do I make it lazy? Or should I resort to some handler explicitely passed as a parameter to treat each file?
12:54 tadzik cognominal: you may want to take a look at File::Find, it's lazy
12:56 dalek Perlito: 4b486e0 | (Flavio S. Glock)++ | / (2 files):
12:56 dalek Perlito: Perlito5 - javascript - fix scalar assignment context under no-strict; TODO cleanup; add reference to http://lwn.net/Articles/451486/
12:56 dalek Perlito: review: https://github.com/fglock/​Perlito/commit/4b486e0652
12:56 cognominal nice, I did not notice it existed
12:56 tadzik it maybe should be released as a separate module
12:57 tadzik I notice that it only causes confusion, and people have trouble finding both File::Find and Shell::Command
12:59 masak (separate module)++
12:59 cognominal tadzik, where is it, I can't find it.
13:01 * masak .oO( QED )
13:01 cognominal is it part of rakudo?
13:01 tadzik nope
13:01 tadzik it's part of File::Tools
13:02 tadzik https://github.com/tadzik/perl6-File​-Tools/blob/master/lib/File/Find.pm
13:02 tadzik cognominal: ^
13:02 tadzik oh, it's using tabs :]
13:03 wamba joined #perl6
13:03 cognominal thx
13:03 tadzik basically, it's all about gather-take
13:07 masak moritz: finally getting around to reviewing https://github.com/rakudo/rakudo/commit/​39cc71e0a06d769c65230cc0aaf399fb96313e7b
13:08 cjbot https://twitter.com/afiskon​/status/241159869288292352 : @Virtuos86  { bbb =&gt; 444 } == {aaa =&gt; 123} -- True, { bbb =&gt; 444 } eqv {aaa =&gt; 123} -- False #perl6 #perl
13:09 masak moritz: looks basically good and sound, but I think you've used one exception class for two quite different cases... neither of which fits with the name X::TypeCheck::MacroUnquote. :)
13:09 benabik joined #perl6
13:09 * masak attempts to prepare a patch to remedy this
13:10 PacoAir joined #perl6
13:10 fglock joined #perl6
13:10 masak moritz: quasis/unquotes and macros are orthogonal, a bit like 'given' and 'when'.
13:11 PacoAir joined #perl6
13:12 moritz masak: I feared I might be conflating some concepts, yes
13:12 Kharec joined #perl6
13:12 Kharec hi guys
13:13 Kharec What does mean { !!! } please? In perl6 code, obviously.
13:13 moritz Kharec: it marks the routine as a stub, and makes it die if it's exected
13:13 moritz r: role R { method s { !!! } }; class A does R { }
13:13 p6eval rakudo d70363: OUTPUT«===SORRY!===␤Method 's' must be implemented by A because it is required by a role␤»
13:14 * [Coke] kills cjbot
13:14 moritz r: sub a { !!! }; a()
13:14 p6eval rakudo d70363: OUTPUT«Stub code executed␤  in sub a at /tmp/IwoNK5PgXP:1␤  in block  at /tmp/IwoNK5PgXP:1␤␤»
13:14 masak moritz: I don't blame you. most of the time with the macros grant seems to go into untangling and disconflating concepts :)
13:14 * [Coke] wonders what sort of bizarre failure could have caused that.
13:15 masak moritz: how do you feel about the idea of providing a 'submethod BUILD($!expected = AST) {}' in the two exception classes?
13:15 Kharec :c
13:15 Kharec thanks guys (I got it!)
13:15 moritz masak: so, there are two errors, one is for returning non-ASTs from holes, one for returning non-ASTs from macros?
13:15 Kharec left #perl6
13:16 masak moritz: exactly.
13:16 masak moritz: the theme of D2 seems to be that there's a deep and beautiful symmetry between those two.
13:16 moritz masak: (re BUILD) not going to work, because $!expected is an attribute of the parent class
13:16 masak oh, right.
13:16 masak moritz: can I use $.expected there?
13:16 moritz no
13:16 masak dang :/
13:17 moritz but you can write   method expected { AST }
13:17 masak then it's no longer an overridable default.
13:17 moritz because we only use the virtual accessors
13:17 moritz right
13:17 masak I don't expect the default to be overridden, ever... but I'd rather provide the AST explicitly than put in a non-overridable default.
13:18 masak so, it stays the way it is, then.
13:20 masak moritz: '# TODO: find and report macro name' -- I'll remove this comment, I think.
13:20 masak moritz: there may be a macro, but there doesn't have to be.
13:20 masak r: my $q = quasi { say "OH HAI" }; say $q
13:20 p6eval rakudo d70363: OUTPUT«AST.new()␤»
13:21 moritz masak: we also report names of things that could be anonymous
13:21 moritz (if we have the names)
13:21 moritz it's a very, very useful piece of information to have
13:21 moritz r: macro a { 42 }; say &a()
13:21 p6eval rakudo d70363: OUTPUT«42␤»
13:22 moritz that's the reason I used the same exception type for both errors
13:22 masak all I'm saying is that there isn't automatically a surrounding macro whose name we could report. I agree it's useful information when it's there.
13:22 moritz the problem is not returning the wrong type from a macro
13:22 masak right.
13:22 moritz the problem is returning the wrong type where we try to splice in an AST
13:22 masak indeed so.
13:23 moritz so I think the common error type could stay, though it might need renaming
13:23 masak X::TypeCheck::SpliceeNotAST ? :)
13:24 cognominal trying to install panda on the latest git rakudo, I get error:imcc:The opcode 'perl6_type_check_return_value_p' (perl6_type_check_return_value<1>) was not found. Check the type and number of the arguments in file '/Users/cog/.perl6/lib/Shell/Command.pir' line 584
13:24 tadzik [Coke]: about cjbot, I think twitter was down for a second, and it caused the bot to forget its known tweets db
13:24 cognominal ho, I shoud rm -rf ~/.perl6
13:24 cognominal got there before :(
13:24 tadzik cognominal: there's rebootstrap.pl which will do that for yu
13:24 [Coke] tadzik: ah! that's very plausible.
13:24 tadzik and reinstall the previously installed modules
13:24 [Coke] I suspect that might have set the "most recent tweet #" to Nil.
13:24 masak [Coke]: what tadzik said. just before it started babbling, it reported something with "twitter status".
13:25 tadzik yeah
13:25 masak moritz: X::TypeCheck::CouldNotSpliceNonAST ?
13:25 masak moritz: I think that's very clear.
13:25 fglock I'm wondering about porting nqp to a not-parrot backend
13:25 Kharec joined #perl6
13:25 moritz masak: if it has TypeCheck in the name, it doesn't need NonAST, no?
13:25 masak troo.
13:26 masak X::TypeCheck::CouldNotSplice
13:26 moritz X::TypeCheck::Splice
13:26 masak \o/
13:26 masak sold.
13:26 fglock would that make it possible to run rakudo somewhere else than parrot?
13:26 masak moritz++ # exceptionally good at naming
13:26 diakopter fglock: eventually, yes
13:26 tadzik at some point, yes
13:26 moritz fglock: that's the plan behind the move from PAST to QAST
13:27 moritz (the QAST compiler is written in NQP
13:27 fglock but it is not possible yet?
13:27 moritz the PAST compiler is written in PIR)
13:27 masak fglock: at YAPC::Europe, the sense was that at the next YAPC::Europe, Rakudo will be running on Parrot *and* some other VM.
13:27 masak fglock: I think it was pmichaud that expressed that.
13:28 skids joined #perl6
13:28 moritz fglock: not easily, some of runtime stuff like exceptions is pretty parrot specific
13:29 fglock and porting PIR to another backend is probably not a good idea, right?
13:30 [Coke] I don't see the advantage in making PIR target something other than parrot, no.
13:30 [Coke] especially when parrot itself is moving away from PIR
13:30 rjbs Portable Intermediate Language
13:30 fglock and what is the state of the transition to QAST?
13:30 Kharec left #perl6
13:30 moritz pretty much there, but not quote
13:31 moritz rakudo has been ported to QAST
13:31 moritz for NQP, there's a branch
13:31 tadzik rakudo builds and passes some spectests
13:31 tadzik (nqp/toqast and rakudo/nqptoqast I mean)
13:31 moritz but rakudo on the nqp-on-qast isn't quite there yet
13:31 masak r: my $q = quasi { {{{2}}} }; say $q
13:31 p6eval rakudo d70363: OUTPUT«use of uninitialized value of type Any in string context  in block  at /tmp/1iQkD11T1T:1␤␤use of uninitialized value of type Any in string context  in block  at /tmp/1iQkD11T1T:1␤␤===SORRY!===␤Type check failed in macro application; expected AST but got Int␤at :␤»…
13:32 tokuhiro_ joined #perl6
13:32 * masak wonders where those undefinedness warnings are coming from
13:32 moritz masak: from file name and line number in X::Comp
13:32 moritz I guess another day of jnthn++ hacking on the qast transition will get us there
13:32 * [Coke] wonders if pmichaud is about.
13:32 masak ah.
13:33 masak moritz: then I won't worry about them any more.
13:33 moritz masak: currently we have a bit of a problem with errors that can appear both at run time and at compile time
13:37 masak oh?
13:37 moritz well, either the exception type does X::Comp
13:37 moritz then it doesn't print a backtrace, but rather source line + file
13:37 masak ah, yes. I understand.
13:37 masak "Teaching my 10 year old niece how to program": http://orangethirty.blogspot.se/2012/08/t​eaching-my-10-yeard-old-niece-how-to.html
13:38 moritz but then if you throw it at runtime, you don't have that info
13:38 moritz as a kind of workaround rakudo mixes in X::Comp if you throw a non-compile-time error at compile time
13:38 moritz but that's kinda ugly
13:38 dalek rakudo/nom: fc88876 | masak++ | src/ (3 files):
13:38 dalek rakudo/nom: X::TypeCheck::MacroUnquote -> X::TypeCheck::Splice
13:38 dalek rakudo/nom:
13:38 dalek rakudo/nom: Also added an $.action attribute, because splicing takes place both during
13:38 dalek rakudo/nom: quasi-block incarnation and during macro application.
13:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/fc88876a1b
13:39 moritz I wonder if types are the wrong abstraction here, and an attribute would be nicer
13:39 moritz or maybe it would be X::Comp[$really?]
13:39 masak perhaps.
13:39 moritz and $really could be "Maybe" or "True"
13:39 masak I'd go down to attributes there, not up to parametric roles :P
13:41 [Coke] I just threw you. and this is crazy. but what's your type? runtime maybe?
13:41 moritz [Coke]++ # pop culture reference
13:42 tadzik :D
13:42 kresike bye folks
13:42 masak enighten me -- what's the reference? :)
13:42 felher masak: was "git add -i" adressed at me?
13:43 tadzik masak: https://www.youtube.com/watch?v=fWNaR-rxAic
13:43 tadzik ...not that I consider it worth listening to ;)
13:44 tadzik but everyone seems to be joking about it in the office, so I have to keep up with memes
13:45 [Coke] masak: http://www.youtube.com/results?search_query​=call+me+maybe&amp;oq=call+me+maybe&amp;gs_​l=youtube.3..0l10.152.581.0.633.4.1.0.3.3.0​.175.175.0j1.1.0...0.0...1ac.vkKDY7ApkpU
13:45 masak felher: no, to the room.
13:45 felher masak: ah okay. Yeah, git add -i or -p are nice :)
13:45 [Coke] tadzik++ - there are hundreds of remixes/makes/parodies though.
13:45 tadzik yep
13:46 [Coke] it's catchy, tanjit.
13:46 tadzik I wonder if there's a Star Wars one, like with Friday
13:46 * [Coke] prefers this version, still with the original artist: http://www.youtube.com/watch?v=lEsPhTbJhuo
13:46 rjbs QAST?
13:47 bluescreen10 joined #perl6
13:47 moritz (P++) AST
13:47 masak well, well. that is one muscular lawn mower guy.
13:47 rjbs moritz: ha
13:47 masak I can see why she'd be gawking through the window.
13:47 rjbs Made me think of http://en.wikipedia.org/wiki/Quasit
13:47 diakopter moritz: well, (++P) AST
13:48 moritz diakopter: right
13:48 [Coke] rjbs++ ++ ++ ++ ++ ++ ++ ++
13:48 moritz rjbs: maybe it's also a bit quantum :-)
13:48 * [Coke] really misses playing D&D. ;)
13:48 stopbit joined #perl6
13:48 rjbs [Coke]: I run an online game with Perl people on Saturday mornings.
13:49 [Coke] O_o
13:49 [Coke] SHUT UP AND TAKE MY MONEY
13:50 [Coke] er, I might be interested in that at some point. :)
13:50 masak tadzik: I liked that video. especially the end. the music itself is regular mundane radio pop, though.
13:50 tadzik +1 # Perlpg
13:51 tadzik masak: have you seen Friday?
13:52 leont joined #perl6
13:53 masak tadzik: oh, sure.
13:53 masak tadzik: not many of the parodies, though.
13:53 tadzik This one has a pretty decent Star Wars parody
13:54 masak moritz: thinking about it, it seems to me X::TypeCheck::Splice shouldn't inherit from X::Comp, the latter should be mixed into the former in the case of macro application.
13:54 * masak tries to find the Star Wars parody
13:55 moritz masak: my current plan is to make X::Comp mean "usually thrown at compile time"
13:55 tadzik masak: https://www.youtube.com/watch?v=BCmi5loEBUk
13:55 moritz masak: and have it provide an attribute that defaults to False, but which Perl6::World.throw sets to True
13:57 masak tadzik: yeah, found it. it's "good" :)
13:57 tadzik ;)
13:57 tadzik the ending is awesome
13:57 tadzik 3:43 and further
13:58 masak getting there.
13:59 colomon nr: say Int.new(4)
13:59 p6eval niecza v21-1-ga8aa70b: OUTPUT«Unhandled exception: Excess arguments to Int.new, used 1 of 2 positionals␤  at /home/p6eval/niecza/lib/CORE.setting line 0 (Int.new @ 1) ␤  at /tmp/ML5kiKpwdV line 1 (mainline @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4138 (ANON @ 3) ␤  at /home/…
13:59 p6eval ..rakudo d70363: OUTPUT«Default constructor only takes named arguments␤  in method new at src/gen/CORE.setting:618␤  in block  at /tmp/SSMNo5yM__:1␤␤»
13:59 masak tadzik: :D
14:00 tadzik "They've got this imperial system" :D
14:03 dalek roast: 7210a91 | masak++ | S06-macros/unquoting.t:
14:03 dalek roast: [S06-macros/unquoting.t] chased exception rename
14:03 dalek roast: review: https://github.com/perl6/roast/commit/7210a91dfe
14:05 dalek doc: 3dc7ead | moritz++ | lib/X/TypeCheck/ (2 files):
14:05 dalek doc: track MacroUnquote -> Splice name change
14:05 dalek doc: review: https://github.com/perl6/doc/commit/3dc7eadf4d
14:07 masak I *think* those are the only two cases where we will be splicing ASTs from within Perl 6.
14:07 masak well, there might be a manual .attach method somewhere in some API, I guess. but that one can simply typecheck by normal means.
14:10 FROGGS joined #perl6
14:17 masak ah, there were two more cases of throwing X::TypeCheck::Splice in Actions.pm -- taking care of them.
14:17 masak unfortunately, the three cases of invoking a macro are currently three separate but similar code paths.
14:17 masak there's a strong case for extracting those three into a single code path.
14:18 MayDaniel joined #perl6
14:20 krunen joined #perl6
14:20 [Coke] jnthn, pmichaud: I tried a different tack in the partcl-nqp/nqp2 branch - I ignore everything but the main action/grammar/compiler, add a small MAIN to setup the command line.. and there's a PAST call that cannot find the "invoke" sub. Even though there is an invoke sub; so I'm clearly putting it in the wrong place, or looking int he wrong place.
14:21 dalek rakudo/nom: 7d10d1a | masak++ | src/Perl6/Actions.pm:
14:21 dalek rakudo/nom: [Perl6::Actions] throw X::TypeCheck::Splice everywhere
14:21 dalek rakudo/nom:
14:21 dalek rakudo/nom: This make the remaining two code paths for macros catch up
14:21 dalek rakudo/nom: with the fact that we now throw X::TypeCheck::Splice when
14:21 dalek rakudo/nom: a macro to be spliced into mainline code doesn't return
14:21 dalek rakudo/nom: an AST. See also fc88876.
14:21 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/7d10d1aae2
14:23 DarthGandalf joined #perl6
14:24 birdwindupbird joined #perl6
14:28 kaare_ joined #perl6
14:34 masak what's the difference betwixt pir::perl6_decontainerize__PP and nqp::p6decont?
14:37 * masak discovers that his code from some months ago is itself confused about the macros/quasis separation
14:37 masak a variable is called $quasi_ast, but should probably be called $result_ast or something.
14:37 masak there are many possible situations when a macro doesn't return ASTs via a quasi.
14:38 masak r: macro foo($a) { $a }; say foo 42
14:38 p6eval rakudo fc8887: OUTPUT«42␤»
14:38 wamba joined #perl6
14:38 wamba left #perl6
14:40 masak also, perhaps $*W.add_quasi_fixups should be called $*W.add_ast_fixups...
14:40 * masak tries to keep upright as the ubiquitous language shifts under him :)
14:41 * FROGGS lets masak know that somebody is listening and that he is not allone
14:42 masak thanks.
14:42 wamba joined #perl6
14:42 masak it's still a very awesome thing to be finally implementing macros in Perl 6.
14:42 masak I would never have guessed a few years back that I'd end up being the one to do this.
14:43 masak I still feel like a bear with a very small brain doing this, but breaking down the work into tiny units of progress seems to help.
14:43 rjbs [Coke]: http://dudgeonmaster.org/games/alar/
14:46 FROGGS masak: ya, you can actually do much if you just begin
14:48 masak there's a true word.
14:50 FROGGS btw: does somebody know if there is some sort of Time::HiRes in perl6?
14:51 FROGGS I found a blogpost from 2009 that states that time() gives you a float...
14:51 FROGGS nr: say time
14:51 p6eval niecza v21-1-ga8aa70b: OUTPUT«1346338267.00886␤»
14:51 p6eval ..rakudo fc8887: OUTPUT«1346338265␤»
14:51 FROGGS ohh, nice
14:51 FROGGS so its half true
14:51 tadzik r: say nqp::time__N()
14:51 p6eval rakudo fc8887: OUTPUT«===SORRY!===␤Error while compiling block : Error while compiling op call: Error while compiling block : Error while compiling op call: Error while compiling op time__N: No registered operation handler for 'time__N'␤»
14:51 tadzik r: nqp::say pir::time__N()
14:51 p6eval rakudo fc8887: OUTPUT«1346338305.09024␤»
14:52 tadzik someone should write a cross-compiler Time::HiRes :)
14:52 FROGGS great, thanks
14:52 FROGGS thats what I am thinking right now
14:54 [Coke] n: say pir::time__N() # just curious.
14:54 p6eval niecza v21-1-ga8aa70b: OUTPUT«Unhandled exception: Unable to resolve method postcircumfix:<( )> in type Any␤  at /tmp/IjNgW5mI5E line 1 (mainline @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4138 (ANON @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4139 (module-CORE @ 571)…
14:54 [Coke] LTA error?
14:55 benabik joined #perl6
14:55 masak ooh -- yes.
14:55 [Coke] rjbs: subscribed.
14:55 masak [Coke]: I'd prefer for Niecza to trap and reject pir:: things on compilation.
14:56 masak I wonder if sorear will like that idea.
14:56 diakopter ERROR: NO PARROTS TO BE FOUND HERE
14:57 hoelzro ENOPARROT
14:57 flussence n: say nonexistent::foo() # the error could still be better in the general case, though
14:57 p6eval niecza v21-1-ga8aa70b: OUTPUT«Unhandled exception: Unable to resolve method postcircumfix:<( )> in type Any␤  at /tmp/pYdbhhgbop line 1 (mainline @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4138 (ANON @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4139 (module-CORE @ 571)…
14:58 flussence n: say foo::bar
14:58 p6eval niecza v21-1-ga8aa70b: OUTPUT«Unhandled exception: Unable to resolve method postcircumfix:<( )> in type Any␤  at /tmp/knfoj7ehJo line 1 (mainline @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4138 (ANON @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4139 (module-CORE @ 571)…
14:58 flussence where's that () coming from?
14:58 wamba left #perl6
14:59 wamba joined #perl6
14:59 geekosaur not a keyword, no sigil --> assumed to be a sub?
15:00 gongyiliao joined #perl6
15:02 groky joined #perl6
15:02 masak geekosaur: a sub call, yes.
15:02 masak r: macro foo($a) { quasi { {{{$a}}}() } }; say foo -> { 42 }
15:02 p6eval rakudo fc8887: OUTPUT«42␤»
15:02 masak r: macro foo($a) { quasi { {{{$a}}}() } }; my $v = 42; say foo -> { $v }
15:02 p6eval rakudo fc8887: OUTPUT«Any()␤»
15:04 SHODAN joined #perl6
15:05 smash joined #perl6
15:05 smash hello everyone
15:07 felher o/
15:07 masak hello smash.
15:08 masak r: macro podolsky() { my $q = quasi { 2 }; $q = quasi { 1 + {{{$q}}} } for ^2; $q }; say podolsky()
15:08 p6eval rakudo fc8887: OUTPUT«3␤»
15:08 masak should be 4.
15:09 masak I've managed to break this case locally, so that it complains about unregistered blocks in the serialization context. I don't know why.
15:10 masak r: macro rosen($code) { my $paradox = "this should not happen"; quasi { {{{$code}}}(); } }; my $paradox = "EPR"; say rosen(sub { $paradox })
15:10 p6eval rakudo fc8887: OUTPUT«this should not happen␤»
15:11 masak and this still returns that value, so apparently I haven't fixed what I set out to fix, either.
15:11 masak back to the drawing board, then.
15:12 jeffreykegler joined #perl6
15:13 dalek nqp: 2f7b14d | masak++ | src/QAST/B (2 files):
15:13 dalek nqp: add .evaluate_unquotes to BVal and Block
15:13 dalek nqp: review: https://github.com/perl6/nqp/commit/2f7b14d66b
15:17 leont joined #perl6
15:18 felher masak++ # for: stoop and build 'em up with wornout tools
15:18 masak did I say that? don't recall.
15:19 felher masak: was just a reference on your " back to the drawing board, then." spirit :)
15:22 felher Or, in other words, on your "won't give up. try again" spirit
15:22 mcglk joined #perl6
15:24 masak oh!
15:24 masak good things I didn't put any emoticons on that sentence, so it could be read like that ;)
15:25 felher :D
15:26 xinming joined #perl6
15:26 FROGGS in sys.ops is inline op time(out INT) { $1 = Parrot_intval_time(); } and inline op time(out NUM) { $1 = Parrot_floatval_time(); }
15:26 FROGGS how do I get the one that returns NUM?
15:28 cognominal_ joined #perl6
15:28 immortal joined #perl6
15:28 immortal joined #perl6
15:31 FROGGS nr: my Int $time = time; say time
15:31 p6eval rakudo 7d10d1: OUTPUT«1346340717␤»
15:31 p6eval ..niecza v21-1-ga8aa70b: OUTPUT«Potential difficulties:â�¤  $time is declared but not used at /tmp/bHWD73UlBx line 1:â�¤------> [32mmy Int [33mâ��[31m$time = time; say time[0mâ�¤â�¤Unhandled exception: Nominal type check failed for scalar store; got Num, needed Int or subtypeâ�¤  at /tmp/bHWD73Ul…
15:32 FROGGS nr: my Num $time = time; say time
15:32 p6eval rakudo 7d10d1: OUTPUT«Type check failed in assignment to '$time'; expected 'Num' but got 'Int'␤  in block  at /tmp/Tn9B8NYbaa:1␤␤»
15:32 p6eval ..niecza v21-1-ga8aa70b: OUTPUT«Potential difficulties:â�¤  $time is declared but not used at /tmp/R8XjRD5DDR line 1:â�¤------> [32mmy Num [33mâ��[31m$time = time; say time[0mâ�¤â�¤1346340739.214263â�¤Â»
15:32 FROGGS nr: my Num $time = time; say $time
15:32 p6eval rakudo 7d10d1: OUTPUT«Type check failed in assignment to '$time'; expected 'Num' but got 'Int'␤  in block  at /tmp/RITf_KAlza:1␤␤»
15:32 p6eval ..niecza v21-1-ga8aa70b: OUTPUT«1346340779.7081189␤»
15:33 FROGGS nr: my Int $time = time; say $time
15:33 p6eval niecza v21-1-ga8aa70b: OUTPUT«Unhandled exception: Nominal type check failed for scalar store; got Num, needed Int or subtype␤  at /tmp/hzNHBgRn4a line 1 (mainline @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4138 (ANON @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4139 (…
15:33 p6eval ..rakudo 7d10d1: OUTPUT«1346340786␤»
15:34 cognominal__ joined #perl6
15:40 SHODAN joined #perl6
15:40 mucker joined #perl6
15:40 arnsholt joined #perl6
15:40 b_jonas joined #perl6
15:40 Khisanth joined #perl6
15:40 mst joined #perl6
15:40 sorear joined #perl6
15:40 jnthn joined #perl6
15:40 pnu joined #perl6
15:40 cxreg joined #perl6
15:40 BinGOs joined #perl6
15:40 felher joined #perl6
15:40 moritz joined #perl6
15:40 Gesh joined #perl6
15:40 yeltzooo7 joined #perl6
15:40 tokuhiro_ joined #perl6
15:41 jeffreykegler joined #perl6
15:53 thou joined #perl6
15:57 Psyche^ joined #perl6
16:03 dalek roast: 1c33e9e | moritz++ | S06-macros/unquoting.t:
16:03 dalek roast: fix test plan
16:03 dalek roast: review: https://github.com/perl6/roast/commit/1c33e9e6c2
16:04 masak thank you.
16:05 moritz t/spec/S06-macros/unquoting.rakudo ..
16:05 moritz Obsolete use of | or \ with sigil on param $
16:05 moritz 1..10
16:06 moritz that's... odd
16:06 masak yeah, I'm getting that too. after https://github.com/rakudo/rakudo/commit/​d7036329db0c835a69a14d0a49a83f9b702aa8d4 , I guess.
16:07 moritz yes, I know that's the patch that enabled them
16:07 moritz but I don't see where the \$ or |$ is
16:08 masak ah; it's in Test::Util.
16:08 moritz oh, that explains a lot
16:08 moritz masak++
16:08 masak which I guess you included for throws_like.
16:08 masak plz fix ;)
16:08 moritz correct
16:09 wamba joined #perl6
16:10 dalek roast: f80f5a8 | moritz++ | packages/Test/Util.pm:
16:10 moritz lol I fox it!
16:10 dalek roast: [Test::Util] fix obsolete use of (|$) signature
16:10 dalek roast: review: https://github.com/perl6/roast/commit/f80f5a8682
16:10 [Coke] r: chr(65).say
16:10 p6eval rakudo 7d10d1: OUTPUT«A␤»
16:10 [Coke] r: chr(0xe9).say
16:10 p6eval rakudo 7d10d1: OUTPUT«é␤»
16:10 [Coke] http://www.nntp.perl.org/group/perl.​perl5.porters/2012/08/msg191113.html
16:10 masak moritz++ # foxy fix!
16:10 [Coke] r: chr(0xe9).print
16:11 p6eval rakudo 7d10d1: OUTPUT«é»
16:11 [Coke] urk. isn't packages/Test/Util.pm used by all the implementations?
16:11 moritz [Coke]: yes. Which is why I wonder why nobody noticed earlier
16:11 [Coke] that could have... ramifications.
16:12 moritz [Coke]: niecza was much earlier in implementing the sigilless stuff
16:12 masak [Coke]: what about the nntp url? I don't see anything relating to Perl 6 in there.
16:12 moritz n: sub f(|$) { }
16:12 p6eval niecza v21-1-ga8aa70b: OUTPUT«Potential difficulties:â�¤  Unsupported use of | with sigil; nowadays please use | without sigil at /tmp/KucT4P0XQn line 1:â�¤------> [32msub f(|$[33mâ��[31m) { }[0mâ�¤  &f is declared but not used at /tmp/KucT4P0XQn line 1:â�¤------> [32msub f[33mâ��[31m(|$) { …
16:12 wamba joined #perl6
16:12 moritz n: sub f(|) { }
16:12 p6eval niecza v21-1-ga8aa70b: OUTPUT«Potential difficulties:â�¤  &f is declared but not used at /tmp/dboAJPbVv7 line 1:â�¤------> [32msub f[33mâ��[31m(|) { }[0mâ�¤â�¤Â»
16:12 [Coke] p: sub f(|$) {}
16:12 p6eval pugs: OUTPUT«*** ␤    Unexpected ")"␤    expecting parameter name␤    at /tmp/Jt7uZsQhii line 1, column 9␤»
16:13 moritz could pugs run Test::Util before?
16:13 [Coke] no clue. doing a spectest run now.
16:13 [Coke] it's possible we aren't running any of those tests that use it yet.
16:15 * masak has never golfed a diff before, but does so now
16:19 masak oh!
16:20 masak .add_quasi_fixups contains an early return for ASTs that don't self-identify as quasi ASTs.
16:20 masak that *would* make the patch not work, I guess.
16:21 masak now, why did I add such an exception in the first place?
16:21 [Coke] only a few failures in pugs, nothing major. probably a non-issue.
16:22 * masak tries removing it to see what happens
16:22 moritz [Coke]: \o/
16:24 * [Coke] gets several decks of $dayjob-themed scrum cards.
16:26 BlueT_ joined #perl6
16:26 masak heh, now it segfaults :)
16:26 masak I *think* that's an improvement.
16:26 masak I mean, clearly I'm mucking around in the right code paths.
16:27 moritz lemme guess, you got an infinite recursion somewhere, which the check avoided
16:28 MayDaniel joined #perl6
16:30 moritz http://kidsruby.com/about # I want something like that for Perl 6 too :-)
16:31 ingy anybody got perl6 running on android?
16:32 masak moritz: hm, that would explain why the segfault comes after a pause.
16:32 jeffreykegler A question for those with a sense of the Perl 6 language.  I am working on "Sixish", a Perl 6-influenced interface for my parser, Marpa.
16:32 jeffreykegler Could <A> ::= <X> <Y> <Z> be considered a reasonable extension of Perl 6 for expressing BNF rules
16:32 moritz ingy: yes, mberends blogged about it
16:33 jeffreykegler It could be considered a special case of "bind and read only" -- or I least I hope it might be so considered
16:33 ingy jeffreykegler: I have a parser called Pegex (originally based off of p6 rules)
16:33 masak jeffreykegler: right. it's not Perl 6 syntax, but it's at least consistent with Perl 6 syntax.
16:33 masak jeffreykegler: I guess that's what you're asking.
16:33 ingy A: X Y X    # <= Pegex
16:34 jeffreykegler masak: yes, that was exactly my question
16:34 jeffreykegler ingy: so Pegex used a similar notation
16:34 ingy A: <X> <Y> <X>    # <= Also valid Pegex
16:34 masak r: macro foo($a) { $a }; foo say 42
16:34 p6eval rakudo 7d10d1: OUTPUT«42␤»
16:34 ingy very similar. sec
16:34 masak this also segfaults locally now.
16:34 masak I think that's why the early return was added.
16:34 masak and that moritz++ discovered this case.
16:35 ingy jeffreykegler: here's the pegex grammar for Pegex itself https://github.com/ingydotnet/p​egex-pgx/blob/master/pegex.pgx
16:35 jeffreykegler ingy, masak: OK, that's encouraging then.
16:35 ingy jeffreykegler: drop by #pegex if you have any questions about it
16:38 ingy jeffreykegler: btw, the Pegex grammaar syntax compiles very simply to json/yaml like this https://github.com/ingydotnet/peg​ex-pgx/blob/master/pegex.pgx.yaml
16:38 jeffreykegler ingy: will do, thanks
16:39 ingy moritz: url?
16:39 moritz ingy: http://blogs.perl.org/users/martin_berends/2​012/06/rakudo-perl-6-on-android-ics-403.html
16:40 ingy moritz: ta
16:41 dalek rakudo/nom: cd02586 | moritz++ | src/ (2 files):
16:41 dalek rakudo/nom: change X::Comp to mean "potentially compile-time"
16:41 dalek rakudo/nom:
16:41 dalek rakudo/nom: There are some cases (like trait application and quasi unsplicing)
16:41 dalek rakudo/nom: that usually happen at compile time, but not always.
16:41 dalek rakudo/nom: When they were thrown at run time, they warned, because
16:41 dalek rakudo/nom: file name and line number were Any. This is now fixed.
16:41 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/cd025862a8
16:41 masak not "unsplicing" :)
16:41 masak "unquote splicing", perhaps.
16:42 moritz oops
16:42 ingy moritz: crikey, this is just what I needed. I was on the fence as to whether or not to get the new ASUS tf700t. I was kinda joking about p6 on rakudo. thx!
16:42 * masak .oO( please keep up with my volatile and largely arbitrary vocabulary! ) :P
16:43 moritz ingy: note that the build-time memory usage has dropped quite a bit (minus 20..30%) since the post, so that should make compilation faster
16:43 moritz masak: just add it to p6doc/lib/glossary.pod
16:44 masak if I do an nqp::getattr and provide the totally wrong class/attribute, will nqp complain?
16:44 masak because the more I look at this, the more that seems to be what I'm doing here.
16:44 moritz yes, it will
16:44 moritz but the error message is LTA
16:45 SamuraiJack joined #perl6
16:45 moritz in particular if you do nqp::getattr($foo, Class, '$!bar'), and $foo isn't of type Class, it'll complain that Class doesn't have attribute '$!bar'
16:45 moritz or some such
16:47 ingy moritz: I am much more excited about just knowing there is a way to do unix dev on android, then about building p6
16:47 ingy but good to know:)
16:54 crab2313 joined #perl6
16:56 sorear good * #perl6
16:56 moritz \* sorear
16:57 masak s*rear!
16:57 masak \*/
16:58 moritz »*«
16:58 sorear o/ m{oritz,asak}
16:58 UncleFester6 joined #perl6
16:59 * masak gets the error "Unknown QAST node type AST" deep inside something, and realizes that he's mistakenly wrapping ASTs in ASTs somewhere
17:00 UncleFester6 p6: class c { multi method m (Int $n --> Str) { return sprintf("%d", $n*3) } ; multi method m (Int $n --> Int) { return $n *4 } } ; my Str $s = c.m(3); say $s; my Int $n2 = c.m(3); say $n2
17:00 sorear sounds like fun
17:00 p6eval niecza v21-1-ga8aa70b: OUTPUT«Unhandled exception: Ambiguous call to m; these signatures all match:␤    c, Int␤    c, Int␤  at /tmp/7cp2xVA9hK line 1 (mainline @ 5) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4138 (ANON @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4139 (modu…
17:00 p6eval ..rakudo 7d10d1: OUTPUT«Ambiguous call to 'm'; these signatures all match:␤:(c , Int $n, Mu *%_)␤:(c , Int $n, Mu *%_)␤␤  in method m at src/gen/CORE.setting:334␤  in block  at /tmp/aUhPYhMblK:1␤␤»
17:01 UncleFester6 The return types in the example are different.  Anyone else agree that considering return types makes sense?
17:06 * masak drops the macro work for now and hopes to have a fruitful discussion about it with jnthn++ later
17:07 sorear masak: I am not opposed in principle to making the compiler carp on longnames that start with "pir" or "nqp"
17:07 sorear UncleFester6: it makes sense in a language with bidirectional type inference like Haskell
17:08 sorear UncleFester6: Perl 6 needs to do this stuff at runtime, and we decided long ago that runtime type information only flows outward
17:08 sorear "Do not want want"
17:08 masak sorear: cool. it would probably be a net help, even if it invalidates those namespaces for other purposes.
17:08 sorear masak: do any other implementations have private opcode namespaces?
17:10 masak you mean, like Pugs and Perlito?
17:10 masak I'm not sure.
17:11 UncleFester6 I have a method in a class that takes a string as input and wants to do different things depending on whether the caller wants back a Str or a Buf.
17:11 UncleFester6 Will I need two differently named methods or is there some way to detect what the user wants back.
17:20 diakopter UncleFester6: does the caller know what it wants back? If so, how about a flag parameter?
17:21 moritz UncleFester6: you can't generally do that, a context doesn't know what the caller wants
17:24 UncleFester6 More specific example - a user passes in a base64 encoded string.  If the encoded data is an image they want back a Buf.  If the encoded data is a string they want back a string from a utf-something decoded Buf.
17:24 UncleFester6 I can use a flag parameter I guess but wonder if its the best one could do ...
17:24 moritz yes, either two different functions, or a flag
17:26 jeffreykegler left #perl6
17:29 sorear UncleFester6: separation of concerns.  base64 should always return a Buf, and the calller is responsible for chaining on .decode('utf8') if that is what they want.
17:30 sorear also, could someone with more of a historical background explain 'do not want want' to UncleFester6
17:30 UncleFester6 or just point me to some docs ...
17:30 moritz UncleFester6: consider multi dispatch
17:30 masak UncleFester6: in Perl 6, there is something called 'wantarray'. you can read about it at 'perldoc -f wantarray'.
17:31 masak UncleFester6: short story, Perl 6 doesn't have it.
17:31 benabik joined #perl6
17:31 sorear it's hard to document a negative feature
17:31 moritz multi a(Buf) { }; mult a(Str) { }
17:31 moritz now if you could write a magic function f that returns either a Str or a Buf
17:31 moritz what would   a(f()) do?
17:32 UncleFester6 I understand the separation argument on base64.   It's just not the way it works now and I wanted to preserve the existing "artifact" functionality ...
17:32 sorear define 'now'
17:33 sorear is there an ancient base64 module that uses want() ?
17:33 moritz now = now it returns Str
17:33 sorear oh
17:36 UncleFester6 see: https://github.com/parrot/parrot/issues/814
17:36 sorear S06:2641, S08:212
17:36 sorear are the references to &want that I can find in the current spec
17:37 * sorear wonders if it would be useful to have doc.perl6.org/want
17:38 masak +1
17:38 [Coke] that just has DONOTWANT?
17:38 [Coke] DONUT WANT
17:39 wk joined #perl6
17:39 * masak .oO( you may *think* you want want, but you really don't )
17:39 * masak .oO( your desire for want is really a... Proxy desire )
17:41 benabik sub want(*@, *%) { die "No you don't." }
17:41 colomon nr: say 10 +> 1
17:41 p6eval rakudo cd0258, niecza v21-1-ga8aa70b: OUTPUT«5␤»
17:43 * colomon is apparently now Lord Vader of the Thomas Wooden Railway
17:49 jeffreykegler joined #perl6
17:55 * jnthn is back home from l'hacakathon :)
17:56 masak jnthn! \o/
17:57 sorear o/ jnthn
17:58 jnthn hi masak, sorear
17:59 arnsholt 'lo jnthn
18:00 moritz \o *
18:01 FROGGS joined #perl6
18:03 [Coke] jnthn!
18:04 masak rn: say "Jonathan!".lc.comb[0, 2, 4, 5, 7, 8]
18:04 p6eval rakudo cd0258, niecza v21-1-ga8aa70b: OUTPUT«j n t h n !␤»
18:04 masak rn: say "Jonathan!".lc.comb[0, 2, 4, 5, 7, 8].join
18:04 p6eval rakudo cd0258, niecza v21-1-ga8aa70b: OUTPUT«jnthn!␤»
18:14 kurahaupo joined #perl6
18:15 cognominal joined #perl6
18:17 dalek rakudo/macros-d2: 1ac5431 | masak++ | src/ (2 files):
18:17 dalek rakudo/macros-d2: halfway commit, does not work
18:17 dalek rakudo/macros-d2:
18:17 dalek rakudo/macros-d2: Still seems to be largly an attempt in the right direction, though.
18:17 dalek rakudo/macros-d2: review: https://github.com/rakudo/rakudo/commit/1ac5431b62
18:19 masak just to repeat what I'm doing here: there are two places where ASTs are spliced into code in the program.
18:20 masak at macro application, and at unquote evaluation.
18:20 masak the macro application case already works, and correctly twiddles the context so that it's the static context of the original AST.
18:20 masak the above is an attempt to take the same code and adapt it for the unquote evalution case.
18:21 sorear I thought you already had d2 working
18:21 masak I do. apart from this bit.
18:22 masak making quasis behave unhygienically when they really shouldn't.
18:22 masak for example, this should print "EPR":
18:22 masak r: macro rosen($code) { my $paradox = "this should not happen"; quasi { {{{$code}}}(); } }; my $paradox = "EPR"; say rosen(sub { $paradox })
18:22 p6eval rakudo cd0258: OUTPUT«this should not happen␤»
18:33 sergot joined #perl6
18:33 sergot hi o/
18:34 Circlepuller joined #perl6
18:38 sirrobert joined #perl6
18:39 moritz \o sergot
18:40 spider-mario joined #perl6
18:43 wooden joined #perl6
18:48 wooden joined #perl6
18:48 wooden joined #perl6
18:52 stepnem joined #perl6
18:52 popl joined #perl6
19:00 masak greetings, sergocie.
19:04 sergot I'm back. Hope I'll be more active. :)
19:05 Circlepuller joined #perl6
19:10 fhelmberger joined #perl6
19:19 benabik joined #perl6
19:34 benabik joined #perl6
20:00 birdwindupbird joined #perl6
20:05 gongyiliao joined #perl6
20:07 dalek doc: bc76642 | moritz++ | lib/X/Signature/Placeholder.pod:
20:07 dalek doc: X::Signature::Placeholder
20:07 dalek doc: review: https://github.com/perl6/doc/commit/bc76642bff
20:19 sivoais joined #perl6
20:21 moritz software usability fail of the day: chromium informs me that $page is now in fullscreen (oh really? I nearly missed that) and then gives me a link called "allow".
20:22 moritz so that I can allow something that has already happened? so that the page feels better?
20:22 masak it's easier to get forgiveness than permission :P
20:22 FROGGS what happens if you dont click allow? will it be sad?
20:23 FROGGS btw: how do I make multu subs, say one that returns a Num in Num context, and an Int otherwise?
20:24 ingy joined #perl6
20:24 FROGGS is that possible? (just a regular sub, no class)
20:24 moritz no
20:24 FROGGS meh
20:24 moritz we've had this discussio today already
20:24 FROGGS I'ld like to hear yes ó.ò
20:24 FROGGS ohh, I missed that
20:24 FireFly joined #perl6
20:25 FROGGS will read the log
20:25 ingyfoo joined #perl6
20:26 sorear FROGGS: consider f(g()) versus my \x = g(); f(x)
20:27 ingy joined #perl6
20:27 sorear r: 'x'x\Int
20:27 p6eval rakudo cd0258: OUTPUT«No such method 'Int' for invocant of type 'Capture'␤  in sub infix:<x> at src/gen/CORE.setting:1040␤  in block  at /tmp/B1Keal2Q85:1␤␤»
20:27 sorear r: 'x' x Int
20:27 p6eval rakudo cd0258: OUTPUT«(timeout)»
20:27 sorear n: 'x' x Int
20:27 p6eval niecza v21-1-ga8aa70b:  ( no output )
20:28 moritz timeout? :(
20:28 sorear moritz: rakudobug 114670
20:28 sorear alexandr alexeev is a #perl6-er, yes?
20:29 FROGGS sorear: I'm sorry, I dont get it
20:29 moritz FROGGS: hold on, I'm writing an FAQ entry
20:31 dalek faq: e70c13b | moritz++ | answers.md:
20:31 dalek faq: where is want/wantarray gone?
20:31 dalek faq: review: https://github.com/perl6/faq/commit/e70c13b187
20:32 moritz r: say Int.Int.perl
20:32 p6eval rakudo cd0258: OUTPUT«Int␤»
20:32 moritz n: say Int.Int.perl
20:32 p6eval niecza v21-1-ga8aa70b: OUTPUT«Int␤»
20:32 benabik FROGGS: Generally you want to return an object that has .Int or .Num methods to convert to the appropriate types.
20:33 FROGGS benabik: I tried to return an object of Num class, it has .Int methods, but it isnt working either
20:33 moritz FROGGS: what problem are you trying to solve?
20:34 FROGGS time is returning an Int on rakudo, and Num on niecza
20:34 sorear moritz: typo: 'this is requires'
20:34 moritz sorear: I'll fix it, thanks
20:34 FROGGS I want it to return Num in Num context
20:34 moritz FROGGS: just alway make it return a Num
20:34 benabik FROGGS: there is no such thing as Num context.
20:35 masak FROGGS: what makes you want there to be a Num context?
20:35 FROGGS ya, but my Int $time = time will fail then
20:35 moritz so write a deprecation notice for it
20:35 masak FROGGS: don't do that, then.
20:35 benabik FROGGS: multi f(Num $x) {}; multi f(Int $x); f(time);  # Int or Num context?
20:35 masak FROGGS: it's either an Int or a Num. not both.
20:36 FROGGS I've read something about: class thingy { return $something but { method Num { ... } }}
20:37 masak mixins.
20:37 sorear FROGGS: 'my Int $foo = time' failing is a feature, not a bug.  it tells the user that they're throwing away information
20:38 sorear FROGGS: if the user *wants* to throw away information, 'my Int $foo = time.Int' is there for them
20:38 FROGGS typecasting, ya
20:38 dalek faq: c959ee8 | moritz++ | answers.md:
20:38 dalek faq: fix typo. sorear++
20:38 dalek faq:
20:38 dalek faq: also elaborate on how context sensititivity works in perl 6
20:38 dalek faq: review: https://github.com/perl6/faq/commit/c959ee89c9
20:38 sorear and 'my Num $x' is almost always wrong, you should have done 'my Real $x'
20:40 FROGGS I'm changing time_i to time_n and see what happens
20:40 dalek rakudo/nom: 2311372 | moritz++ | src/core/Stringy.pm:
20:40 dalek rakudo/nom: fix infinite recursion in 42 x Int
20:40 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2311372b5f
20:54 [Coke] so, if I'm having a PAST issue, should I try the QAST branch?
20:54 [Coke] (with nom)
20:55 diakopter which qast branch of what
21:01 FireFly joined #perl6
21:01 benabik joined #perl6
21:03 [Coke] (rephrase) so, if I'm having a PAST issue using nom, is there a branch other than master I should try that I might have better luck with?
21:03 tadzik nqp/toqast and rakudo/nqptoqast, or so
21:04 lichtkind joined #perl6
21:05 [Coke] ack.
21:05 [Coke] "using nqp"
21:05 [Coke] <- idiot.
21:05 [Coke] so, nqp/toqast, then.
21:05 [Coke] (trying to get around latest partcl-nqp/nqp2 blocker)
21:06 diakopter I thought that branch wasn't in a working state
21:06 tadzik toqast?
21:06 jnthn diakopter: It's not quite good enough to merge, but it ain't far off. :)
21:07 tadzik nqp passes its tests on it, and rakudo is starting to pass spectests
21:07 jnthn diakopter: The matching Rakudo branch only fails about 10 spectest files.
21:07 tadzik ooh
21:07 tadzik jnthn: did the Pod patch help?
21:07 jnthn tadzik: Not entirely.
21:08 [Coke] does rakudo's --get-nqp let you say which branch to bet?
21:08 [Coke] *get
21:08 jnthn tadzik: The Pod patch was clearly needed (as what was there before was wrong) but the way it exploded showed up an NQP issue.
21:08 tadzik hm
21:08 tadzik can I reproduce the failures somehow?
21:09 kurahaupo joined #perl6
21:09 FireFly left #perl6
21:19 jnthn tadzik: make spectest, and one of the tests really early on in S02 fails
21:21 tadzik the get_pmc_keyed business?
21:21 jnthn yeah
21:22 jnthn I fear it's a $/ publishing issue
21:24 [Coke] jnthn: does toqast change anything in how Past.op.new(:name()) works/
21:24 [Coke] ?
21:25 jnthn [Coke]: It, er, may make it not work at all?
21:25 [Coke] and/or, how can I pass :name() the name of an nqp sub and have it find it?
21:25 jnthn [Coke]: PAST::Op.new( :name('foo') ) # will generate a 'foo'()
21:26 [Coke] ok. I can't get it to find foo, even when foo exists.
21:26 [Coke] ... is that going to change with QAST? should I just switch to that branch and track that anyway
21:26 [Coke] ?
21:27 jnthn [Coke]: The QAST branch will...expect you to use QAST
21:27 jnthn With QAST that becomes QAST::Op.new( :name('foo'), :op('call') )
21:28 [Coke] any does on QAST in toqast branch?
21:28 [Coke] *docs
21:29 [Coke] I'm going to cry if I get this working with nqp/master and then have to change it all, so I'll just switch now and save myself the headache.
21:30 ingy what do you call the % in <a> % <b> ?
21:30 timotimo &infix:<<%>>
21:30 timotimo r: say &infix:<<%>>
21:30 p6eval rakudo 231137: OUTPUT«sub infix:<%>($a?, $b?) { ... }␤»
21:31 [Coke] "modulo"
21:31 jnthn [Coke]: Doing QAST docs is high on my todo list.
21:31 [Coke] a modulo b, with the modulus operator?
21:31 * [Coke] feels a slight headache coming on. ;)
21:31 jnthn [Coke]: Additionally, pmichaud was talking about doing a tutorial during the hackathon.
21:31 jnthn [Coke]: As in, complete tutorial language.
21:31 [Coke] ok. would agree it's worth switching to QAST now since nothing I have works anyway?
21:31 [Coke] would *you
21:32 jnthn Yes.
21:32 [Coke] hokay.
21:33 [Coke] I will ping you and pmichaud with my next bug, whatever that is. ;)
21:34 ingy [Coke]: I meant in p6 rules
21:35 lichtkind ingy: hej
21:35 ingy tag
21:35 lichtkind :)
21:35 lichtkind missed you in frankfurt will come to bologna?
21:36 [Coke] I thought it wasn't % but something like +%
21:36 masak ingy: "separator specifier"?
21:36 [Coke] but IANAP6E
21:36 sorear ingy: in '<a> % <b>' I call it a "syntax error"
21:36 [Coke] (clearly. :P)
21:36 masak [Coke]: no, the + is the quantifier and % modifies it.
21:36 sorear % is a quantifier modifier
21:36 sorear it can only appear immediately after another quantifier
21:37 sorear it is, or at least was, similar to other modifiers like the minimal matching modifier ?
21:37 sorear as in a+?
21:37 jnthn Woo. It seems that NQP on QAST is a little bit faster :)
21:37 sorear jnthn: :(
21:37 jnthn At least, CORE.setting built faster
21:37 jnthn That's before I wrote the optimizer
21:38 jnthn sorear: ":(" because it's only a little bit faster?
21:38 sorear yes
21:38 jnthn sorear: Well, generating better code can only compensate so much for All The Other Things.
21:39 jnthn sorear: And it's only slightly better so far. As I said, no optimization stuff yet.
21:40 sorear jnthn: is Rakudo using QAST yet?
21:40 sorear I mis-understood this as "I switched NQP&Rakudo to QAST and only got a tiny gain"
21:41 sorear because I would think that not using PAST would make the CORE.setting build MUCH faster!
21:41 jnthn sorear: Oh, Rakudo had already switched
21:41 dalek Heuristic branch merge: pushed 19 commits to nqp/toqast by jnthn
21:41 jnthn This is moving NQP to use QAST also.
21:42 jnthn It didn't get immediately faster BUT memory usage dropped a load.
21:42 sorear jnthn: aha. does it make the NQP bootstrap faster, somehow correcting for the time needed to compile QAST's own pm files?
21:42 jnthn Didn't time that.
21:43 * felher is exicted about QAST + Optimizer. But not that exicted that he can not go and watch a movie now with a friend and a cup of mead :)
21:43 felher bye folks :)
21:43 japhb o/
21:43 jnthn grr, seems I left a patch or two behind on my laptop last night, which I thought I'd pushed
21:44 * japhb finally catches up with backlog while the europeans are still awake
21:44 jnthn So rakudo/nqpqast spectest isn't quite as good as it should be
21:44 felher jnthn++ btw :)
21:45 dalek rakudo/nqpqast: d703632 | moritz++ | src/Perl6/Grammar.pm:
21:45 dalek rakudo/nqpqast: warn on obsolete use of \ and | with sigilled parameter
21:45 dalek rakudo/nqpqast: review: https://github.com/rakudo/rakudo/commit/d7036329db
21:45 dalek rakudo/nqpqast: fc88876 | masak++ | src/ (3 files):
21:45 dalek rakudo/nqpqast: X::TypeCheck::MacroUnquote -> X::TypeCheck::Splice
21:45 dalek joined #perl6
21:46 japhb re: D&D -- On the recommendation of the local comic/game shop, I've been teaching my kids to roleplay using the "Pathfinder Roleplaying Game Beginner Box".  A moderately simplified d20 System variant; reminds me a lot of the original D&D boxed sets I had as a kid.  Really well designed for bootstrapping people from scratch into the RPG world.
21:48 dalek rakudo/nqpqast: b4a2b7a | jonathan++ | src/Perl6/Grammar.pm:
21:48 dalek rakudo/nqpqast: Patch from tadzik++ to add missing $<spaces>.
21:48 dalek rakudo/nqpqast: review: https://github.com/rakudo/rakudo/commit/b4a2b7a24b
21:48 dalek rakudo/nqpqast: f92c7fb | jonathan++ | src/Perl6/Metamodel/Dispatchers.pm:
21:48 dalek rakudo/nqpqast: Dispatcher fix (also can avoid creating an iterator).
21:48 dalek rakudo/nqpqast: review: https://github.com/rakudo/rakudo/commit/f92c7fb6e6
21:49 jnthn There we go
21:49 tadzik wo :)
21:49 jnthn Thought I'd pushed those last night
21:49 jnthn Well, I probably did write the push command but...hackathon wifi was hackathon wifi. :)
21:50 tadzik :P
21:50 tadzik time to sleeps. Good knight #perl6
21:51 lichtkind good night tadzik
21:51 japhb o/
21:51 jnthn o/
21:52 japhb moritz, re: https://github.com/perl6/roast/commit/f80f5a8682 , shouldn't the #OK comment be removed as well now?
22:05 tokuhiro_ joined #perl6
22:06 sorear yes
22:07 sorear .oO( STD could have a warning for "useless use of #OK" )
22:09 masak 'night, #perl6
22:19 * jnthn gets some rest also o/
22:26 benabik joined #perl6
22:32 cognominal joined #perl6
22:47 skids joined #perl6
22:51 lichtkind bye jnthn
22:57 Circlepuller_ joined #perl6
23:07 ingy masak++ I coined separator indicator before I saw that
23:07 ingy sorear: :P
23:08 japhb phenny, tell moritz Browsing over the KidsRuby GitHub info, it looks like we could build a Perl 6 clone using essentially the same technologies.  Looks more or less straightforward, but some of the libraries involved will have quite large bindings, so definitely a good test of Zavolaj and a fair amount of work.  But at least the path forward is well lit.  :-)
23:08 phenny japhb: I'll pass that on when moritz is around.
23:39 * felher wishes all happy (and unhappy [and with-no-particual-emotion]) perl6 people a good night.
23:39 betterworld joined #perl6
23:39 felher *particular

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

Perl 6 | Reference Documentation | Rakudo