»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg camelia perl6: ... | irclog: irc.perl6.org | UTF-8 is our friend!
Set by sorear on 25 June 2013.
00:01 Pleiades` left, filly left, filly joined 00:03 Pleiades` joined 00:05 bluescreen100 joined
dalek rl6-roast-data: 9218024 | coke++ | / (4 files):
today (automated commit)
00:07
00:07 thou left
[Coke] rakudo.moar back to compiling, but not finding Test.pm 00:07
00:08 bluescreen10 left
japhb_ Dang. I'd really like to see what numbers it can put up. 00:11
Oh, and raydiak, no worries about "spouting off" about a cool Perl 6 project. That's pretty well on topic here. 00:12
[Coke] perl6-m: use Test; 00:13
r: use Test;
camelia ( no output )
[Coke] is it too soon to get rakudo-moar in ther?
rakudo-moar: use Test;
looks like ./perl6-m -Ilib finds it (and then dies elsewise), while PERL6LIB=`pwd`/lib ./perl6-m doesn't find it (and then complains it's not in the directory that it's in) 00:15
japhb_ I think it's time to add it to the recognized : names, but not to default it into r:
[Coke] here, this seems to be the ll exception blocking loading Test: 00:16
gist.github.com/coke/8063652
TimToady it wants m: because we'll be testing that heavily 00:17
[Coke] (the -I version works with --ll-exception to give this stack trace - if you remove ll-exception, you get the cannot load error again)
diakopter japhb_: it would be fun to get an order of magnitude of orders of magnitude improvement there
00:18 ajr_ left
TimToady no, that would be Fun 00:18
diakopter the exact allusion eludes me 00:19
00:20 REPLeffect left
TimToady it's a bit obscure 00:20
the 32 bit, to be precise 00:21
00:25 xenoterracide joined 00:30 xenoterracide left
[Coke] who moderates the perl6-announce list? 00:31
I had a message rejected due to lack of moderation.
I'm sorry, the list moderators for the perl6-announce list 00:32
have failed to act on your post. Thus, I'm returning it to you.
00:36 Rotwang left 00:37 gdey left
lue TimToady: were you perchance referencing DF? 00:42
TimToady no, I was referencing ASCII 00:43
00:43 jnap left 00:45 bluescreen100 left 01:08 xenoterracide joined 01:26 Alina-malina left, Alina-malina joined 01:35 jnap joined 01:36 rurban1 joined 01:42 kivutar left 01:50 finanalyst joined, [Sno] joined 01:52 gtxcomm left 01:56 colomon left 02:04 tgt left 02:05 gdey joined 02:16 rurban1 left 02:22 rurban1 joined 02:24 colomon joined 02:28 jeffreykegler left
[Coke] work in progress for day 21: gist.github.com/coke/8064687 02:32
raiph [Coke]: s/progamatic/programmatic/ 02:40
"You use a preceding colon in the argument declaration" # maybe mention that the two dots in a colon are mnemonic for a key/val pair? 02:42
[Coke] that mnemonic does nothing for me, I'll omit it. 02:46
02:47 rurban1 left
[Coke] seen moritz? 02:48
preflex: seen moritz?
preflex moritz was last seen on #git 5 hours, 18 minutes and 19 seconds ago, saying: I don't get any messages by chanserv when I join the channel
[Coke] preflex: ask moritz if he needs someone to do the release for DEC-19
preflex Consider it noted.
[Coke] note: I am not volunteering. :) 02:49
02:49 colomon left 02:51 colomon joined
raiph [Coke]: your article looks good to go to me # [Coke]++ 02:57
[Coke] few more sections. (reload, you'll get one more.) 03:01
lue would consider doing an R* release again. 03:02
[Coke]++ for the post-to-be 03:07
[Coke]: One thing I want to mention is perhaps including the *@a and *%b slurpies in your post. If you can't fit them in the post, that's fine. Just thought I'd mention it. 03:09
[Coke] it's already there.... in a secret version, whoops. unifying shortly. 03:11
there, slurpies and methods and traits added. 03:16
lue Some things I noticed: "(using the expanded pair syntax again)" --- you say 'again', but "expanded pair syntax" has never been mentioned before. Getting rid of the "again" would fix it, it seems. 03:20
"also showing that positionals and named arguments can be combined in the same declaration." Do you mean to be talking about just pointy blocks? (As in, "combined in one pointy block declaration" ?) Otherwise it seems a bit late to point this out. 03:21
I would change "It is always the first parameter" in the Methods section to "It must be the first parameter if you define it" or "It is always the first parameter (defaults to 'self' if you don't specify something)", because the way it is now makes it seem like you *have* to declare a name for C<self>. 03:23
And finally, super minor nitpick: "(without parenthesis)" under Slurpy should be parentheses. 03:24
[Coke]++ again for the post :)
[Coke] r: say 18/50 03:25
camelia rakudo-parrot 2b027b, rakudo-jvm 2b027b: OUTPUT«0.36␤»
[Coke] lue: all your notes addressed in some fashion. 03:29
03:30 colomon left
[Coke] oh, I missed something I wanted to add on multis. 03:30
03:31 colomon joined
lue [Coke]: Just looked at them. Looks good :) 03:33
[Coke] is cached still isn't implemented, right? 03:35
diakopter the general case is pretty hard 03:38
03:39 gdey left
[Coke] "it's just memoize" 03:40
(which is pretty hard, yes)
ok, updated gist to include one more example at the end of Types. 03:41
wonder if we can get mjd to implement is cached.
diakopter :) 03:44
[Coke] ok, porting to wp...
03:49 BenGoldberg left 03:50 gfldex left
[Coke] perl6advent.wordpress.com/?p=2191&a...eview=true 03:55
what timezone is the wp server in? 03:58
(should go live at 0:03 in the morning, whenever that is.)
lue [Coke]: UTC as far as I'm aware 03:59
[Coke] eh. I can just push it now, I guess. 04:01
TimToady yes, it thinks it was published 4 hours ago :) 04:02
[Coke] pushed.
lue should never be trusted to handle that error case: "Warning: Wordpress has detected Continuity Errors in your blog via Time Travel. Please correct." 04:03
[Coke]: just skimmed over your post to see if there were any missing <> things in your code. There weren't, so far as I could tell. 04:05
04:56 preflex_ joined, ChanServ sets mode: +v preflex_ 04:57 preflex left, preflex_ is now known as preflex 05:03 jnap left 05:04 gfldex joined 05:06 SevenWolf joined 05:08 rurban1 joined 05:09 araujo left 05:29 rurban1 left 05:33 jnap joined
[Coke] lue++ 05:35
05:38 jnap left 05:50 nebuchadnezzar left 05:51 nebuchadnezzar joined 05:53 nebuchadnezzar left, nebuchadnezzar joined 06:09 nebuchadnezzar left, nebuchadnezzar joined, SamuraiJack joined 06:10 kaare__ joined, daxim left
moritz good morning 06:12
preflex moritz: you have 1 new message. '/msg preflex messages' to read it.
moritz sorry, I missed the date for the rakudo release
I'll do some of it now, but I'll have to travel today and tomorrow
so might be good if somebody else takes over
06:13 daxim joined
raydiak \o good morning from the currently dark side of the earth 06:14
06:15 hummeleB1 left 06:26 finanalyst left
dalek kudo/nom: cd2f9c7 | moritz++ | docs/announce/2013.12.md:
release announcement. Please review!
06:40
kudo/nom: 63b0d10 | moritz++ | docs/release_guide.pod:
update release_guide with Dec 2013 release
06:41
p: 9fdfe1f | moritz++ | VERSION:
bump VERSION to 2013.12
06:42
lue moritz: while you're in the release guide, could you fix the mojibake for the last release name? At least, I'm assuming Malmö isn't an actual pm group :) 06:43
moritz lue: where do you see the Mojibake?
lue: so far everything I've seen wrt the release name has been perfectly fine UTF-8
lue Right at the bottom, release #70
tadzik "Private attributes from roles are now visible in the classes they apply to" \o/ 06:44
lue Oh, might be github borking things.
moritz oh, missing encoding directive
lue++
tadzik also, I think we may want to redefine the scheduled release dates of Rakudo, as Parrot doesn't get releases anymore
dalek kudo/nom: 3514394 | moritz++ | docs/release_guide.pod:
the release guide is written in UTF-8
moritz lue: mojibake on github gone 06:47
lue yeah, noticed :) 06:50
tadzik wow, Jolla's are orderable as of now: shop.jolla.com/ 06:53
TimToady rosettacode.org/wiki/History_variables#Perl_6
wanted to use 'handles *' but that didn't work right
also wanted to mixin directly to $var.VAR but that doesn't work either, since those fetches and stores seem to be hotpathed 06:54
moritz eeks, t/hll/06-sprintf.t fails two tets on nqp-parrot
06:56 rurban1 joined
dalek p: 9466ff0 | moritz++ | / (2 files):
TODO two failing tests, bump VERSION to 2013.12.1
06:57
06:58 darutoko joined
dalek kudo/nom: cf133aa | moritz++ | tools/build/NQP_REVISION:
[release] bump NQP revision
06:58
kudo/nom: 03a7756 | moritz++ | VERSION:
[release] bump VERSION
06:59
lue TimToady: but how do I know the history of the history? 07:00
07:00 rurban1 left
moritz builds the release candidate tarball 07:03
lue moritz: based on tadzik's earlier comment, is the announcement mentioning coordination with Parrot releases still necessary? Or can fixing that wait until next release :) ? 07:05
moritz lue: I'm in no position to make any decisions regarding the release schedule
lue I was just referring to the specific language in the announcement that clarifies we coordinate with Parrot releases, which according to tadzik doesn't happen anymore. 07:06
(not to the actual scheduling itself; no problems with that from me for now)
moritz lue: well, it already says that it's soon after the parrot releas is *scheduled*, not after the actual release 07:07
lue fair enough, for now at least :) . 07:08
moritz otoh it wouldn't hurt to reword
dalek kudo/nom: fc97467 | moritz++ | Configure.pl:
[Configure] --gen-parrot implies backend parrot
07:09
kudo/nom: 79cdc9f | moritz++ | docs/announce/2013.12.md:
[announce] decouple release date wording a bit from parrot, lue++, tadzik++
lue tadzik: Unless you can provide an argument for a better release date, I'd say just backdefining our current choice would be good in the future. (cf. every SI unit except kg)
moritz IMHO it would be good to have the rakudo compiler release a bit earlier each month 07:11
tadzik I'm satisfied with the current wording :)
moritz that would give the R* release manager more time to make the release within the same month
lue
.oO("Paradise comes at the Ides of [Month]!" *cackle*)
Speaking of R*, I'm thinking that I'll probably be up for it. So long as it doesn't have to interrupt Christmas afternoon :) 07:14
07:26 Rotwang joined 07:35 jnap joined 07:39 jnap left
moritz oh noes, somehow I have 3 failing test files with p-spectest 07:42
S05-modifier/perl5_{2,3,4} all abort before finishing 07:43
Unrecognized regex metacharacter ! (must be quoted to match literally)
at eval_0:1
------> my $x = anon regex { ^⏏! }
dalek kudo/nom: 1049b41 | moritz++ | t/spectest.data:
comment out failing test files
07:44
moritz release tagged and uploaded 07:48
raydiak moritz++ 07:49
Woodi thanx moritz++
moritz annoucement sent to p6c
Woodi and hi today :)
hmm, I had idea of R+ distribution few days ago but forget what was rationale for it... 07:51
probably it was same as R* but for users not devs...
moritz uhm, R* is meant for users 07:56
08:11 SamuraiJack left 08:24 Piers left, aindilis left 08:33 cognominal left 08:34 cognominal joined 08:35 jnap joined 08:40 jnap left
labster I don't know, doubling the x operator can be kind of confusing: 08:57
p: my \x = 3; my \xx = 5; sub postfix:<x> ($x) { $x~"1" }; sub x ($x) { $x ~ "2" }; say x(x)x x x xx xx
camelia rakudo-parrot 1049b4: OUTPUT«321321321 321321321 321321321 321321321 321321321␤»
jercos holy molé batman. 08:59
09:03 raiph left 09:04 cibs_ joined 09:08 cibs left 09:26 araujo joined, kivutar joined 09:36 jnap joined 09:38 spider-mario joined 09:41 jnap left 09:42 kaare__ left 09:56 kaare__ joined
masak goooood morning, #perl6 10:05
masak sits down to write tomorrow's p6advent post 10:12
10:17 finanalyst joined 10:22 V_S_C joined 10:28 V_S_C left
masak [Coke]: doctor(:prop<cricket bat>, :number<5>); 10:30
[Coke]: that <cricket bat> is a list of two strings -- maybe not what you intended?
(it comes out right in this case, because a list of strings stringifies to have a space in between. but if :$prop were typed, it wouldn't have worked) 10:31
10:34 woolfy left 10:35 woolfy joined, lizmat_ joined, lizmat left 10:37 jnap joined 10:41 jnap left 10:42 dmol left 10:44 dmol joined 10:46 cibs joined 10:49 ssutch left 10:50 beastd joined, cibs_ left 10:54 denis_boyun joined, cibs left 10:55 SevenWolf left 10:59 cibs joined 11:03 denis_boyun left, denis_boyun joined 11:15 rindolf joined 11:18 denis_boyun left
lizmat_ [Coke]++ for blog post, which taught me something I didn't know yet! 11:37
colomon moritz++ 11:39
11:41 denis_boyun joined
lizmat_ r: sub a (:$b) {say $b}; a(:b<foo>) # this works 11:42
camelia rakudo-parrot 1049b4, rakudo-jvm 1049b4: OUTPUT«foo␤»
lizmat_ r: sub a (:$b($c)) {say $c}; a(:b<foo>) # this doesn't, but should? 11:43
camelia rakudo-jvm 1049b4: OUTPUT«Flattening named argument must have VMHash REPR␤␤»
..rakudo-parrot 1049b4: OUTPUT«Not enough positional parameters passed; got 0 but expected 1 in sub-signature of parameter $b␤ in sub a at /tmp/zCPqh6ECnC:1␤ in block at /tmp/zCPqh6ECnC:1␤␤»
lizmat_ std: sub a (:$b($c)) {say $c}; a(:b<foo>) # this doesn't, but should?
camelia std 3b262af: OUTPUT«ok 00:01 128m␤»
lizmat_ Am I doing something wrong with the expanded pair syntax as described in [Coke]'s blogpost 11:44
masak r: sub a (:b($c)) {say $c}; a(:b<foo>)
camelia rakudo-parrot 1049b4, rakudo-jvm 1049b4: OUTPUT«foo␤»
masak I think the :$b($c) form should either Just Work
or have a much better error message.
11:44 Rotwang left
masak (and S06 will probably know which) 11:44
masak submits rakudobug 11:45
lizmat_ ah, now I see it :-), thanks masak++
masak (also, the fact that Rakudo JVM gives something different is suspect in itself)
lizmat_ indeed
moritz++ for silent rakudo release 11:48
11:48 lizmat_ is now known as lizmat
masak moritz++ 11:50
11:51 cibs left, cibs joined 11:53 cibs left
masak nwc10++ # I love seeing MoarVM discussion on p6c 11:53
11:56 cibs joined
lizmat loves seeing Perl6 and its advent calendar being used to spot/fix problems in Marpa 11:57
masak oh, I missed that part.
but yes, that's lovely.
FROGGS moritz: the failing perl5 tests might be my fault :/ 11:59
masak bisect! bisect! bisect!
FROGGS I will
masak it's quite fun to teach, actually. 12:00
(did it yesterday, and on Wednesday)
TimToady: would still love to see a post from you on 23rd or 24th. 12:01
pmichaud: ditto.
(but I understand if you're too busy, and we'll probably be able to cover for you) 12:02
lizmat seconds
12:03 denis_boyun left 12:08 kivutar left 12:16 denisboyun joined
masak started writing a draft for tomorrow's p6advant post: gist.github.com/masak/3e1c8697e27672efe7de 12:17
I expect it to be about twice as long. but that's a start. 12:18
&
12:24 denisboyun left 12:29 PacoAir joined 12:33 tgt joined 12:38 dmol left, dmol joined, jnap joined
FROGGS p: my $x = "b"; say "ab" ~~ m/a<$x>/ 12:43
camelia rakudo-parrot 1049b4: OUTPUT«「ab」␤␤»
FROGGS p: my $x = "\n"; say "a\n" ~~ m/a<$x>/
camelia rakudo-parrot 1049b4: OUTPUT«False␤»
12:43 jnap left
FROGGS that is the problem... (which my m:P5 patch hits...) 12:44
ahh! /o\ 12:46
that strikes again: rakudo/src/core/Cursor.pm:195: my $rx := eval("my \$x = anon regex \{ $arg \}"); 12:47
12:48 denis_boyun joined
FROGGS well, it is more about the other evals 12:49
12:55 denis_boyun left 12:57 denis_boyun joined 13:06 denis_boyun left 13:13 denis_boyun joined 13:24 colomon left 13:28 denis_boyun left 13:33 fhelmberger joined, colomon joined
colomon o/ # computer reclaimed from cartoon-watching 5yo 13:37
13:39 yeltzooo9 left, jnap joined 13:41 yeltzooo joined 13:44 jnap left 13:45 gfldex left 13:51 ivanshmakov left 13:52 ivanshmakov joined 13:53 gfldex joined 14:01 Rotwang joined 14:08 cognominal left, cognominal joined 14:09 fhelmberger_ joined 14:11 jnap joined 14:12 fhelmberger left 14:13 fhelmberger_ left 14:25 mtk left 14:28 mtk joined 14:43 atroxaper joined 14:46 xinming left 14:49 xinming joined 14:53 telex left 14:54 atroxaper left
FROGGS p: my @a := nqp::split("", "abc") # why is that so? 14:55
camelia rakudo-parrot 1049b4: OUTPUT«Unmarshallable foreign language value passed for parameter '$got'␤ in block at /tmp/_53Pye4a2I:1␤␤»
14:55 atroxaper joined 14:56 telex joined 15:10 zakharyas joined 15:15 wsri left, kivutar joined, wsri joined 15:19 rurban1 joined 15:31 pecastro left 15:39 zaydon joined 15:43 jeffreykegler joined 15:45 raiph joined 15:47 cognominal left 15:49 cognominal joined 15:53 kivutar left, cooper left
TimToady I can probably do the 24th, if I can figure out what to write about 15:53
hopefully my cold will be easing up over the next day or two 15:54
anyway, ideas welcome 15:55
15:58 hummeleB1 joined, dayangkun left, Psyche^ joined 16:02 Psyche^_ left
[Coke] masak: no, I didn't mean that. Fixing. 16:02
updated to ("cricket bat") 16:05
16:05 Rotwang left
[Coke] masak++ 16:12
dalek kudo-star-daily: 8bb7e1d | coke++ | log/ (5 files):
today (automated commit)
16:13 WHAT joined, WHAT is now known as Guest57937 16:14 Guest57937 left 16:15 lahlha joined
[Coke] we have a failure in R*: github.com/coke/rakudo-star-daily/...odules.log - modules/perl6-lwp-simple's t/get-unsized.t 16:17
TimToady masak: :$b($c) might Just Work, but it will probably Just Work Wrong, unless you meant :$b ($c)
16:18 cognominal left, cognominal joined 16:20 Rotwang joined
TimToady (in a sig, that is; in normal code it'd be a pair with a postcircumfix:<( )>) 16:29
timotimo should :$b($c) be forbidden in signatures then and give a helpful error message? 16:30
std: my int a = 5;
camelia std 3b262af: OUTPUT«===SORRY!===␤Multiple prefix constraints not yet supported at /tmp/SasOKSPDNi line 1:␤------> my int ⏏a = 5;␤Malformed my at /tmp/SasOKSPDNi line 1:␤------> my int ⏏a = 5;␤ expecting any of:…»
timotimo r: my int a = 5;
camelia rakudo-jvm 1049b4: OUTPUT«===SORRY!===␤Type 'int' is not declared. Did you mean 'Int'?␤at /tmp/Qp6I8Df8xh:1␤------> my int ⏏a = 5;␤Malformed my␤at /tmp/Qp6I8Df8xh:1␤------> my int ⏏a = 5;␤ expecting any of:…»
..rakudo-parrot 1049b4: OUTPUT«===SORRY!===␤Type 'int' is not declared. Did you mean 'Int'?␤at /tmp/QyDxdSn37l:1␤------> my int ⏏a = 5;␤Malformed my␤at /tmp/QyDxdSn37l:1␤------> my int ⏏a = 5;␤ expecting any …»
timotimo r: my Int a = 5;
camelia rakudo-parrot 1049b4: OUTPUT«===SORRY!===␤Type 'Int' is not declared. Did you mean 'int'?␤at /tmp/q_Z_OLS6bO:1␤------> my Int ⏏a = 5;␤Malformed my␤at /tmp/q_Z_OLS6bO:1␤------> my Int ⏏a = 5;␤ expecting any …»
..rakudo-jvm 1049b4: OUTPUT«===SORRY!===␤Type 'Int' is not declared. Did you mean 'int'?␤at /tmp/ossbZBExQ_:1␤------> my Int ⏏a = 5;␤Malformed my␤at /tmp/ossbZBExQ_:1␤------> my Int ⏏a = 5;␤ expecting any of:…»
timotimo interesting, I'll look into that
TimToady well, and does it make sense to disallow brackets after :$b in normal code? 16:31
16:32 SamuraiJack joined
timotimo didn't think about that yet 16:32
hm, i don't really know why rakudo falls through to the typo_typename branch of token scoped; it should hit the same NYI as std IMO. i'll investigate further 16:33
ah, of course! 16:36
typename requires the type to actually be declared
FROGGS TimToady:
err
TimToady: some sort of "why I designed it that way" or so would be awesome 16:37
because your perspective is very interesting, and is another than the usually dev has
is different from* 16:39
16:45 xenoterracide left 16:46 FROGGS left, finanalyst left
TimToady well, that would be a whole book 16:53
16:55 fhelmberger joined 16:58 fhelmberger left 16:59 fhelmberger joined 17:00 FROGGS joined 17:03 bluescreen10 joined, fhelmberger left 17:10 atroxaper left
timotimo i'm trying to make my Int foo = 5 throw a "malformed variable identifier (did you mean to declare a \sigilless variable instead?)" 17:14
does that seem sane?
FROGGS think so 17:15
at least in case "Int" is a known type
timotimo yes 17:16
i'm matching multiple known typenames, then an ident and then \: ** 0..2 \=
multiple == one or more
17:17 xenoterracide joined
dalek d: 4731beb | larry++ | STD.pm6:
disallow extra brackets on various pair thingies
17:18
17:22 xenoterracide left
TimToady maybe s/variable/name/, since sigilless names are not generally variables 17:23
r: my Int \foo = 42; say foo 17:24
camelia rakudo-parrot 1049b4, rakudo-jvm 1049b4: OUTPUT«42␤»
TimToady r: my Int \foo = "oops"; say foo
camelia rakudo-jvm 1049b4: OUTPUT«Type check failed in binding; expected 'Int' but got 'Str'␤␤»
..rakudo-parrot 1049b4: OUTPUT«Type check failed in binding; expected 'Int' but got 'Str'␤ in block at /tmp/6XudZIH_G1:1␤␤»
TimToady \o/
timotimo i'll change that
FROGGS there is progress :o)
timotimo progress on what?
FROGGS on everything 17:25
17:25 raiph left
timotimo sounds good 17:25
TimToady
.oO(even congress has had progress lately)
17:25 raiph joined
FROGGS I remember that the last code did something weird a few months back 17:25
17:26 SamuraiJack left
TimToady metoo, which is why I tried it 17:26
timotimo the last code of what? huh? 17:27
FROGGS yeah... rakudo really gets "mature" these days
timotimo: this: my Int \foo = "oops"; say foo
star: my Int \foo = "oops"; say foo
camelia star 2013-09: OUTPUT«Type check failed in binding; expected 'Int' but got 'Str'␤ in block at /tmp/9FcvSywF1S:1␤␤»
timotimo oh!
FROGGS must be a few months more :o)
TimToady n: my Int \foo = "oops"; say foo 17:28
camelia niecza v24-108-g17d73e4: OUTPUT«oops␤»
timotimo a full rebuild of rakudo-jvm and rakudo-parrot in parallel takes quite a while on my laptop :( 17:29
TimToady std: my $b; my $c; :$b($c)
timotimo oh well. it's not supposed to be a desktop replacement anyway
camelia std 3b262af: OUTPUT«ok 00:01 124m␤»
17:29 colomon left 17:30 colomon joined
FROGGS geese, but I am getting better now after ten times: www.youtube.com/watch?v=qyMOaROAz9I 17:32
p: say "!".ord 17:40
camelia rakudo-parrot 1049b4: OUTPUT«33␤»
17:41 lahlha left
TimToady std: my $b; my $c; :$b($c) 17:49
camelia std 4731beb: OUTPUT«===SORRY!===␤Extra argument not allowed; pair already has variable argument at /tmp/Rxc8orY6Rm line 1:␤------> my $b; my $c; :$b⏏($c)␤Parse failed␤FAILED 00:01 122m␤»
TimToady std: -> :$b($c) {}
camelia std 4731beb: OUTPUT«===SORRY!===␤Subsignature not allowed after named parameter; please insert whitespace at /tmp/kzohuS6EdA line 1:␤------> -> :$b⏏($c) {}␤Parse failed␤FAILED 00:01 122m␤»
TimToady std: -> :$b ($c) {}
camelia std 4731beb: OUTPUT«Potential difficulties:␤ $c is declared but not used at /tmp/UjyXulYy7p line 1:␤------> -> :$b (⏏$c) {}␤ok 00:01 124m␤»
TimToady std: -> :$b[$c] {} 17:50
camelia std 4731beb: OUTPUT«===SORRY!===␤Subsignature not allowed after named parameter; please insert whitespace at /tmp/KXeT0qqFV_ line 1:␤------> -> :$b⏏[$c] {}␤Parse failed␤FAILED 00:01 122m␤»
TimToady std: -> :$b<foo> {}
camelia std 4731beb: OUTPUT«===SORRY!===␤Cannot apply this shape at /tmp/IJSBx5uVln line 1:␤------> -> :$b⏏<foo> {}␤Parse failed␤FAILED 00:01 122m␤»
TimToady std: -> :%b<foo> {}
camelia std 4731beb: OUTPUT«ok 00:01 124m␤»
17:50 pecastro joined
FROGGS std: my $c; :$<foo>($c) 18:01
camelia std 4731beb: OUTPUT«===SORRY!===␤Extra argument not allowed; pair already has variable argument at /tmp/j70p6Pn7O7 line 1:␤------> my $c; :$<foo>⏏($c)␤Parse failed␤FAILED 00:01 122m␤»
18:05 cooper joined, cooper left, cooper joined 18:18 ssutch joined
FROGGS p: my $q = "+"; say "aaa" ~~ /a<$q>/ # should this match "aaa"? 18:26
camelia rakudo-parrot 1049b4: OUTPUT«Failed allocation of 2345205760 bytes␤Parrot VM: PANIC: Out of mem!␤C file src/gc/gc_gms.c, line 1974␤Parrot file (not available), line (not available)␤␤We highly suggest you notify the Parrot team if you have not been working on␤Parrot. Use…»
18:30 jeffreykegler left
[Coke] lizmat++ 18:32
18:35 tgt left 18:36 ajr joined 18:37 ajr is now known as Guest10017, Guest10017 is now known as ajr_ 18:41 rurban1 left 18:45 pdurbin joined 18:46 denis_boyun joined, rurban1 joined, PacoAir left 18:47 PacoAir joined 18:54 denis_boyun left 18:58 rurban1 left 19:01 dwarring joined 19:05 darutoko left 19:12 smls joined
smls Hi 19:13
19:16 mtk left
FROGGS[mobile] Hi smls 19:17
smls What's the best way to start playing around with Perl 6?
Raduko Star?
FROGGS[mobile] yes, that and maybe read the Advent calender posts 19:18
[Coke] wonders if anyone has fixed hte jvm eval server leak. 19:27
diakopter no 19:30
pdurbin smls: what operating system are you on?
smls 64bit Linux 19:31
pdurbin on Fedora you can just yum install it
nwc10 how old is the version that yum installs? 19:32
19:33 bartolin joined
pdurbin starts installing it 19:34
nwc10: rakudo-star-0.0.2013.09_5.5.0-1.fc19.x86_64 19:35
nwc10 not that old
pdurbin of course, I assume there's a newer version in Fedora 20
FROGGS[mobile] nice
smls pdurbin: My distro (Arch Linux) has a raduko-2013.11 package in the inofficial user repository, I'm installing it now 19:36
pdurbin smls: cool
smls (it compiles from source, so it's taking a while)
19:38 gfldex left 19:39 bartolin left 19:52 bartolin joined 19:54 kurahaupo_mobile joined
lue hello world o/ 19:58
colomon \o 20:05
woolfy TimToady: subject to write advent blog for the 24th about: a state of Perl 6 from your view, most important things that have changed. Just an idea. 20:10
TimToady: if you got the energy to write such a book (re: FROGGS "some sort of "why I designed it that way" or so would be awesome"): such a book would really be awesome and I would buy quite a pile to sell them at Perl-events 20:12
rjbs pants, only three more days to make it through! 20:22
smls Is there a way to tell the .perl method to deparse the contents of code references for debugging purpuses? 20:30
p: my $code = sub ($x) { $x + 20 }; say $code.perl;
camelia rakudo-parrot 1049b4: OUTPUT«sub($x) { ... }␤»
timotimo we don't have that i'm afraid
smls Perl 5's Data::Dumper supports this
timotimo what does it look like? does it give you the source code?
or does it give you a parse tree or something like that?
we have --target=parse to get a parse tree, --target=ast to get an AST and --target=pir to get parrot intermediate representation output 20:31
ah, i see, Data::Dumper would give you the perl5 source code of the thing you're after 20:33
on rakudo, you can find any method or sub that doesn't start with nqp:: in gen/p-CORE.setting which is perl6 code
(the code in the core setting uses some low-level primitives, those are the ones starting with nqp::)
smls timotimo: It would output Perl source code as generated by B:Deparse 20:36
for example: pastebin.com/raw.php?i=iy6MFBqL 20:37
timotimo ah. yes, we don't have something like that 20:38
smls ok
20:49 rurban1 joined
GlitchMr <smls> pdurbin: My distro (Arch Linux) has a raduko-2013.11 package in the inofficial user repository, I'm installing it now 20:58
You mean AUR?
smls yes
GlitchMr Also, I just downloaded Rakudo Perl on Fedora 20. I'm surprised, it's just 6.2MB.
20:58 tgt joined 21:00 thou joined
GlitchMr (it even includes panda, but it's not in PATH for some reason - under /usr/lib64/parrot/5.5.0/languages/perl6/bin) 21:00
timotimo r: try eval "my Int a = 10"; say $!.WHAT 21:01
camelia rakudo-parrot 1049b4, rakudo-jvm 1049b4: OUTPUT«(X::Comp::Group)␤»
timotimo r: try eval "my Int a = 10"; say $!
camelia rakudo-parrot 1049b4, rakudo-jvm 1049b4: OUTPUT«===SORRY!===␤Type 'Int' is not declared. Did you mean 'int'?␤at eval_0:1␤------> my Int ⏏a = 10␤Malformed my␤at eval_0:1␤------> my Int ⏏a = 10␤ expecting any…»
timotimo hm.
21:02 kurahaupo_mobile left
timotimo r: try eval "my Int a = 10"; say $!.sorrows>>.WHAT; 21:02
camelia rakudo-parrot 1049b4, rakudo-jvm 1049b4: OUTPUT«(Array)␤»
timotimo r: try eval "my Int a = 10"; say $!.sorrows.map: *.WHAT;
camelia rakudo-jvm 1049b4: OUTPUT«No such method 'count' for invocant of type 'Whatever'␤ in block at gen/jvm/CORE.setting:7255␤ in block at gen/jvm/CORE.setting:7167␤ in block at gen/jvm/CORE.setting:7167␤ in block at gen/jvm/CORE.setting:7167␤ in block at gen/jvm/CORE.…»
..rakudo-parrot 1049b4: OUTPUT«No such method 'count' for invocant of type 'Whatever'␤ in method reify at gen/parrot/CORE.setting:7266␤ in method reify at gen/parrot/CORE.setting:7183␤ in method reify at gen/parrot/CORE.setting:7183␤ in method reify at gen/parrot/CORE.sett…»
timotimo wow, whoops
r: try eval "my Int a = 10"; say $!.sorrows.map: { .WHAT };
camelia rakudo-parrot 1049b4, rakudo-jvm 1049b4: OUTPUT«(X::Undeclared)␤»
timotimo r: try eval "my Int a = 10"; say $!.panic; 21:03
camelia rakudo-parrot 1049b4, rakudo-jvm 1049b4: OUTPUT«===SORRY!=== Error while compiling eval_0␤Malformed my␤at eval_0:1␤------> my Int ⏏a = 10␤ expecting any of:␤ scoped declarator␤»
21:03 kivutar joined
lue GlitchMr: just so you know, that is expected behavior. 21:04
timotimo what exactly? 21:05
the panda path?
dalek kudo/nom: 57a89f4 | (Timo Paulssen)++ | src/Perl6/Grammar.nqp:
suggest \ for sigilless var declarations
21:06
timotimo oh, hm. 21:07
r: my Int a;
camelia rakudo-jvm 1049b4: OUTPUT«===SORRY!===␤Type 'Int' is not declared. Did you mean 'int'?␤at /tmp/UAOQdAw0Cc:1␤------> my Int ⏏a;␤Malformed my␤at /tmp/UAOQdAw0Cc:1␤------> my Int ⏏a;␤ expecting any of:␤ …»
..rakudo-parrot 1049b4: OUTPUT«===SORRY!===␤Type 'Int' is not declared. Did you mean 'int'?␤at /tmp/bbmDyHIvCd:1␤------> my Int ⏏a;␤Malformed my␤at /tmp/bbmDyHIvCd:1␤------> my Int ⏏a;␤ expecting any of:␤ …»
timotimo right. that needs a fix, too.
lue timotimo: yes, that is what I meant. 21:08
GlitchMr Huh? But Int does exist.
Is it because of forgotten sigil?
timotimo yes. 21:09
i'm working on it :)
GlitchMr If I change this to int, it suggests me to use Int. Help, I'm trapped in recursion factory.
timotimo you'll have a fix on your hands very soon
21:10 thou left
timotimo need to rebuild some stuff first and then test my fix 21:10
r: my foobar = 5; 21:12
camelia rakudo-jvm 1049b4: OUTPUT«===SORRY!===␤Type 'foobar' is not declared␤at /tmp/DvKDIvrObv:1␤------> my foobar⏏ = 5;␤Malformed my␤at /tmp/DvKDIvrObv:1␤------> my ⏏foobar = 5;␤ expecting any of:␤ scope…»
..rakudo-parrot 1049b4: OUTPUT«===SORRY!===␤Type 'foobar' is not declared␤at /tmp/6BjM0tc5mO:1␤------> my foobar⏏ = 5;␤Malformed my␤at /tmp/6BjM0tc5mO:1␤------> my ⏏foobar = 5;␤ expecting any of:␤ sc…»
timotimo i could give a better error message there, too.
21:16 bartolin left 21:18 xenoterracide joined
timotimo wow, just 98 seconds for a stage parse on my desktop. that was one second more recently 21:19
GlitchMr foobar is not a type here.
timotimo that's right 21:20
as i said, i want to make it emit a better error.
just some final touches on this code and it'll be ready to push
GlitchMr I would think that user wanted to create a local variable called foobar, not that he forgot to name a variable. 21:21
Unless "foobar" would be name of the type, assume it's a local variable, not a type.
my Int = 5; # forgot variable name 21:22
my foobar = 5; # forgot a sigil
timotimo yes, i know all of this! 21:23
21:25 rindolf left
timotimo fights surprising NPMCA issues 21:28
ah, i forgot to force the grammar to generate the $/ 21:36
masak 'evenin', #perl6 21:40
timotimo i can still get it to null pmc access in get_string :( 21:42
hey masak :)
are you giving us t4 reviews for christmas? :D 21:43
21:43 denisboyun joined
masak timotimo: that would be quite awesome, wouldn't it? 21:44
in the spirit of Perl 6, I'm not going to make any promises :)
timotimo :)
but perl6 does have Promises now!
masak but it might be good to know that I haven't dropped t4; just haven't had tuits for p6cc at all.
timotimo: Perl 6 makes Promises -- the core devs don't :)
timotimo :) 21:46
masak TimToady: topic suggestion: "40-Year Desert Journey Best Practices" :D
timotimo r: my int;
camelia rakudo-parrot 57a89f: OUTPUT«===SORRY!===␤Type 'int' is not declared. Did you mean 'Int'?␤at /tmp/2T4Rv9mMCv:1␤------> my int⏏;␤Malformed my␤at /tmp/2T4Rv9mMCv:1␤------> my int⏏;␤ expecting any of:␤ …»
..rakudo-jvm 57a89f: OUTPUT«===SORRY!===␤Type 'int' is not declared. Did you mean 'Int'?␤at /tmp/f0cA47V4Il:1␤------> my int⏏;␤Malformed my␤at /tmp/f0cA47V4Il:1␤------> my int⏏;␤ expecting any of:␤ s…»
timotimo dang, where does the null pmca come from? 21:47
oh, does it only happen in the repl? 21:48
yes, indeed. huh! 21:49
21:49 thou joined 21:51 smls left 21:53 ajr_ left, denisboyun left 21:54 jnap left
timotimo well, that kind of sucks :( 21:58
should i say "well, in compiled code and in the tests it works just fine!" or should i go hunt for some regression that only happens in our repl? 21:59
22:03 kurahaupo_mobile joined
masak rn: sub infix_prefix_meta_operator:<!!!>($op) {}; say "alive" 22:04
22:04 kaare__ left
camelia niecza v24-108-g17d73e4: OUTPUT«===SORRY!===␤␤Cannot extend category:infix_prefix_meta_operator with subs at /tmp/JTWvE0IR5a line 1:␤------> sub infix_prefix_meta_operator:<!!!>⏏($op) {}; say "alive"␤␤Potential difficulties:␤ $op i…» 22:04
..rakudo-parrot 57a89f: OUTPUT«===SORRY!=== Error while compiling /tmp/WbpLnETYOU␤Cannot add tokens of category 'infix_prefix_meta_operator'␤at /tmp/WbpLnETYOU:1␤------> sub infix_prefix_meta_operator:<!!!>⏏($op) {}; say "alive"␤ expec…»
..rakudo-jvm 57a89f: OUTPUT«===SORRY!=== Error while compiling /tmp/bYcpvoy6ri␤Cannot add tokens of category 'infix_prefix_meta_operator'␤at /tmp/bYcpvoy6ri:1␤------> sub infix_prefix_meta_operator:<!!!>⏏($op) {}; say "alive"␤ expectin…»
masak aww
22:06 denisboyun joined 22:11 gfldex joined, denisboyun left 22:13 denis_boyun joined 22:16 jeff_s1 joined
masak tomorrow's advent post: gist.github.com/masak/3e1c8697e27672efe7de 22:18
masak puts it into wordpress
22:19 denis_boyun__ joined, denis_boyun left
masak "Word count: 666" -- oops 22:22
I'll take that as a good sign ;)
22:23 xenoterracide left 22:24 denis_boyun__ left 22:25 jnap joined 22:29 jnap left
masak post scheduled. 22:31
'night, #perl6
22:35 thou left 22:36 denis_boyun joined 22:39 dmol left 22:40 denis_boyun left 22:44 zaydon left
lizmat masak++ 22:44
and also gnight #perl6!
22:45 bbkr joined
dalek : df82f79 | (Elizabeth Mattijsen)++ | misc/perl6advent-2013/schedule:
TimToady++
22:47
22:51 bbkr left 23:01 kurahaupo_mobile left
lue timotimo: At least way back when, the REPL was frequently an unreliable source of problem-hunting in Perl 6. Don't know how true that still is. 23:02
23:02 denis_boyun joined
timotimo mhm 23:04
lue Wow. Wp's formatting of <pre> blocks (at least in the advent blog's theme) makes the font so small for me, the tildes look like hyphens :/ 23:13
masak++ for the blog post. 23:17
23:18 denis_boyun left 23:22 [Sno] left, [Sno] joined 23:24 denis_boyun joined 23:25 jnap joined 23:30 jnap left 23:32 gfldex left 23:33 nwc10 left, gfldex joined, zakharyas left 23:36 finanalyst joined 23:39 spider-mario left 23:45 nwc10 joined 23:54 denis_boyun_ joined 23:55 denis_boyun left