»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend! Set by sorear on 4 February 2011. |
|||
00:01
simcop2387 left
|
|||
RandalSchwartz | well - there's not enough time to do everything I want, sadly | 00:03 | |
japhb | RandalSchwartz, [Coke]: This is known, though I don't know if it's been rakudobug'ed. | ||
00:03
simcop2387 joined
|
|||
RandalSchwartz | ahh! | 00:03 | |
hey japhy | |||
japhb | RandalSchwartz, different guy. :-) | ||
RandalSchwartz | oh - that's not japhy | ||
nick collision in first four chars! | |||
japhb | Anyway, the problem is: | ||
When Rakudo had to revert back from Parrot 4.7 or 4.8 back to 4.4, we discovered that Rakudo's build process | |||
does not properly deal with a rewind of the required Parrot version. | 00:04 | ||
Best I've seen is: git clean -dxf; rm -rf parrot nqp installl | |||
er, s/l$//; | |||
[Coke] | ah. so maybe my comment about that not getting removed was correct. | 00:05 | |
japhb | After that, the normal build process should work fine. | ||
[Coke], yep, pretty much. | |||
RandalSchwartz | japhb - didn't | ||
rm -rf parrot, then that file got deleted by something early in the cycle | |||
so I had to go in and reset hard | |||
then it worked | |||
so something in the "fetch parrot" part of rakudo is breaking that file | 00:06 | ||
at least for me | |||
japhb | Did you do all the stuff I had above? In particular, there was the nuke of the nqp directory as well as the parrot one. | ||
I don't know the details of what is broken, but that pair of commands fixed it in all the places I saw it. | |||
RandalSchwartz | I did git clean -dfx and that resets it back to the checkout | ||
unless nqp is in the checkout, then it was gone | 00:07 | ||
japhb shrugs in the face of illogical reality | |||
You are way more than welcome to investigate the real cause of the fail and fix it. ;-) | 00:08 | ||
RandalSchwartz | yeay! perl6 fires up | ||
[Coke] | RandalSchwartz: I would just double check next time that the -xdf really did remove parrot. | ||
RandalSchwartz | it did. I saw it say that. :) | ||
oh - but maybe it said that but didn't do it? never seen that before. | |||
[Coke] | ugh I'm now at 41% of downloading parrot from my initial attempt to rebuild for you. :) | ||
RandalSchwartz | but now I have an updated "live" tag, so I'm happy | ||
you should come over here... lots of bandwidth | 00:09 | ||
[Coke] | I'm in Ballston Spa NY just now. You? | ||
RandalSchwartz | a bit aways from that :) | ||
[Coke] | next time for sure. :) | 00:10 | |
getting 156 KiB/s to github! | 00:11 | ||
RandalSchwartz | woo! | ||
japhb | Ugh. Big long error trace from Parrot, looks like possibly GC corruption. I did not feel like golfing GC problems tonight ... :-/ | 00:12 | |
diakopter | r: X[X] | ||
p6eval | rakudo b86628: OUTPUT«===SORRY!===Method 'parameterize' not found for invocant of class 'Perl6::Metamodel::PackageHOW'» | ||
diakopter | phenny: tell masak r: X[X] # LTA error imho | 00:13 | |
phenny | diakopter: I'll pass that on when masak is around. | ||
diakopter | phenny: tell moritz disect_longname in rakudo should be dissect_longname :) | 00:14 | |
phenny | diakopter: I'll pass that on when moritz is around. | ||
00:14
kst` joined
00:16
kst left
|
|||
diakopter | phenny: tell masak same for r: sub foo(X of X) { } | 00:16 | |
phenny | diakopter: I'll pass that on when masak is around. | ||
RandalSchwartz wanders off | 00:17 | ||
00:18
RandalSchwartz left
|
|||
diakopter | phenny: tell masak vivify fail for scalar; work with @ sigil thoughr: my Array of Associative $a; $a.push({}); | 00:24 | |
phenny | diakopter: I'll pass that on when masak is around. | ||
[Coke] | anyone know the rakudo command line to build a parrot amenable to gdb'ing off the top of their head? | 00:27 | |
parrot&perl6 | |||
diakopter | phenny: tell masak hash allowed in array? r: say {} ~~ Positional; my Array of Positional @a; @a.push({}); say @a.perl | 00:28 | |
phenny | diakopter: I'll pass that on when masak is around. | ||
[Coke] | (i'm getting function names, but no args or line #s) | 00:29 | |
got it. | 00:40 | ||
bug: reconfiguring rakudo with new parrot build options doesn't force a parrot rebuild. | 00:41 | ||
00:48
fgomez left
00:50
xinming left
00:51
xinming joined
01:01
fgomez joined
01:05
PacoAir left
|
|||
[Coke] | phenny: ask TimToady to comment on rt.perl.org/rt3/Ticket/Display.html?id=63778 (marked as a spec ticket) | 01:13 | |
phenny | [Coke]: I'll pass that on when TimToady is around. | ||
01:18
CharellKing joined
|
|||
[Coke] | Can someone on openbsd double check rt.perl.org/rt3/Ticket/Display.html?id=85750 ? | 01:21 | |
01:31
colomon joined
|
|||
colomon | o/ | 01:31 | |
sorear | colomon! \o/ | 01:35 | |
colomon | o\ | ||
sorear: how goes it? | 01:36 | ||
dalek | ast: 970a119 | coke++ | S01-perl-5-integration/basic.t: Add test for RT #77596, fudge for rakudo |
01:41 | |
sorear | colomon: good | 01:42 | |
dalek | kudo/nom: e765c99 | coke++ | t/spectest.data: Run test for RT #77596 |
01:43 | |
colomon | just realized I'm way behind the times. you're back at school now? | ||
01:43
MikeFair__ left
01:44
MikeFair_ joined
|
|||
gfldex | it is | 01:50 | |
nvm | |||
01:54
bro_grammer joined
01:56
hash_table left
|
|||
sorear | colomon: no, taking a break from that. I has dayjob now | 01:58 | |
01:59
hash_table joined
02:02
sizz joined,
sizz_ left,
bro_grammer left
02:03
Chillance left
|
|||
grondilu | rn: my @a = ^4; for @a -> $l is rw { @a»++; say $l }; | 02:04 | |
p6eval | rakudo b86628, niecza v22-14-g136ddcf: OUTPUT«1357» | 02:05 | |
grondilu | rn: for my @a = ^4 -> $l is rw { @a»++; say $l++ }; | 02:06 | |
p6eval | rakudo b86628, niecza v22-14-g136ddcf: OUTPUT«1357» | ||
colomon | sorear: ah, hope that is going well. | 02:09 | |
02:19
armitage81 left
02:26
orafu left,
orafu joined
02:41
kst`` joined
|
|||
japhb | loop-over-run crash golfed! | 02:41 | |
See gist.github.com/3925501 and comments | 02:42 | ||
Rakudobug filed. | |||
02:42
kst` left
02:53
kst`` is now known as kst
|
|||
CharellKing | Hi everyone | 02:57 | |
maybe you are at night | |||
now we are daytime | 02:58 | ||
sorear | hello CharellKing | 03:01 | |
we got folks all over | |||
it's evening for me, early morning for jnthn et al | 03:02 | ||
CharellKing | yeah | 03:06 | |
you get up so early | |||
which country are you from | |||
Maybe sleep early is good for you | 03:09 | ||
03:11
jaldhar joined
03:19
xinming left,
bloonix joined
03:31
cognominal left
03:37
thou joined
03:38
[particle] left
|
|||
raiph | phenny, tell masak r: say "@a[]" # Null PMC access. New bug? | 03:40 | |
phenny | raiph: I'll pass that on when masak is around. | ||
03:41
cognominal joined
03:44
Targen left
03:49
Targen joined
03:50
bloonix left
03:55
raiph left
04:08
xinming joined
04:30
telex left
04:34
Entonian joined
04:36
telex joined,
Entonian left
|
|||
diakopter | rn: say [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] | 04:51 | |
p6eval | rakudo e765c9, niecza v22-14-g136ddcf: OUTPUT«» | ||
diakopter | rn: say []{}{}*^[] | 04:54 | |
p6eval | rakudo e765c9: OUTPUT«0» | ||
..niecza v22-14-g136ddcf: OUTPUT«» | |||
cognominal | rn: | 1 | 05:20 | |
p6eval | rakudo e765c9: OUTPUT«===SORRY!===CHECK FAILED:Undefined routine '&prefix:<|>' called (line 1)» | ||
..niecza v22-14-g136ddcf: OUTPUT«Unhandled exception: Unable to resolve method Capture in type Int at /home/p6eval/niecza/lib/CORE.setting line 3287 (prefix:<|> @ 4)  at /tmp/NsEVCEIuwM line 1 (mainline @ 3)  at /home/p6eval/niecza/lib/CORE.setting line 4215 (ANON @ 3)  at /home/p… | |||
cognominal | rn: sub compare (|args, Num $x, Num $y --> Bool) { ... } | 05:26 | |
p6eval | niecza v22-14-g136ddcf: OUTPUT«Potential difficulties: $x is declared but not used at /tmp/A7d5EszBEj line 1:------> sub compare (|args, Num ⏏$x, Num $y --> Bool) { ... } $y is declared but not used at /tmp/A7d5EszBEj line 1:------> sub compare (|args, Num … | ||
..rakudo e765c9: OUTPUT«===SORRY!===Cannot put required parameter $x after variadic parametersat /tmp/0P6c7R4cU2:1» | |||
cognominal | rn: my Int \x = 6 ; my \y = 4; sub foo (\x, \y) { x = y; }; foo x, y ; | 05:40 | |
p6eval | niecza v22-14-g136ddcf: OUTPUT«Unhandled exception: Writing to readonly scalar at /tmp/kJpyMqje4a line 1 (foo @ 3)  at /tmp/kJpyMqje4a line 1 (mainline @ 6)  at /home/p6eval/niecza/lib/CORE.setting line 4215 (ANON @ 3)  at /home/p6eval/niecza/lib/CORE.setting line 4216 (module-C… | ||
..rakudo e765c9: OUTPUT«Cannot assign to a non-container in sub foo at /tmp/veIlpp_CCP:1 in block at /tmp/veIlpp_CCP:1» | |||
05:48
hash_table left
|
|||
dalek | rl6-bench: 91def7b | (Geoffrey Broadwell)++ | components.json: Add regex for finding release tags to components.json |
06:15 | |
rl6-bench: f6ce8a9 | (Geoffrey Broadwell)++ | bench: Refactor handling of COMPONENTS_DIR and checking whether setup has been done |
|||
rl6-bench: 21065ad | (Geoffrey Broadwell)++ | bench: Add extract-releases command; start filling in build command |
|||
06:18
sizz left,
sizz joined
06:21
kaare_ joined
06:23
VXZ joined
06:24
cognominal left
06:26
sizz left,
sizz joined
06:30
cognominal joined
|
|||
cognominal | shoud I file a bug for the erros when typing 'my $a' on the rakudo shell? or has that been already done? | 06:33 | |
moritz | moritz@jacq:~/p6/rakudo>./perl6 | 06:34 | |
phenny | moritz: 00:14Z <diakopter> tell moritz disect_longname in rakudo should be dissect_longname :) | ||
moritz | my $a> my $a | ||
Any() | |||
doesn't look terribly wrong to me | |||
cognominal | moritz: gist.github.com/3926154 | 06:37 | |
moritz | that's known and submitted | 06:38 | |
cognominal | oops | 06:39 | |
sorry that was 'my int $a' | 06:40 | ||
06:50
cognominal left,
cognominal joined
06:57
CharellKing left
07:10
aindilis left
07:19
LordVorp left
07:21
LordVorp joined
07:36
CharellKing joined
|
|||
CharellKing | HI | 07:36 | |
sorear | Hello | 07:40 | |
CharellKing | you are always here | 07:42 | |
Maybe 24 hours | |||
07:44
azawawi joined
|
|||
azawawi | hi | 07:44 | |
how do I enable history on perl6 rakudo REPL? i.e. like bash shell being able to go back to previous typed commands. | 07:45 | ||
sorear | install readline, then rebuild rakudo from scratch | 07:46 | |
need to make sure parrot/ is deleted before rebuilding | |||
07:46
thou left
|
|||
sorear | *install readline development files | 07:46 | |
azawawi installs packages.debian.org/search?keywords...adline-dev | 07:49 | ||
07:50
mucker joined
|
|||
azawawi installs libicu-dev and libreadline-dev | 07:52 | ||
sorear: thx | 07:53 | ||
07:53
GlitchMr joined
|
|||
Woodi | allo today | 07:56 | |
cognominal | nr: use Test; my @data = 'a' .. 'z'; my @out = <a e i o u y>; @data ==> grep {/<[aeiouy]>/} ==> is($(*), $(@out), 'basic test for $(*)'); | ||
p6eval | niecza v22-14-g136ddcf: OUTPUT«Unhandled exception: Feed ops NYI at /home/p6eval/niecza/lib/CORE.setting line 1443 (die @ 5)  at /home/p6eval/niecza/lib/CORE.setting line 3360 (infix:<==>> @ 4)  at /tmp/5vaWsUQADg line 1 (mainline @ 6)  at /home/p6eval/niecza/lib/CORE.setting li… | ||
..rakudo e765c9: OUTPUT«Cannot call 'is'; none of these signatures match::(Mu $got, Mu $expected, $desc = { ... }) in block at /tmp/ZuGOrbgStY:1» | |||
Woodi | CharellKing: there is good chance that there is someone here not being afk each hour in the day :) you know, it's like ICQ but better :) | 07:58 | |
08:04
cognominal left
08:06
jaffa4 joined
|
|||
jaffa4 | hi | 08:06 | |
Woodi | backlogging last two days make me think that perl6.org don't contain things we working on or wanting to appear. I mean something like projects or infrastructure parts needed to be improved eg. "we want modules.perl6.org rewrited/merged somewhere else" | 08:07 | |
jaffa4 | Can someone tell me how to push a new element into array in a hash? | ||
Woodi | like: trac.parrot.org/parrot | ||
o/ jaffa4 | |||
jaffa4: so you have hashes as array elements ? | 08:09 | ||
jaffa4 | no arrays as values in a hash. | ||
08:12
cognominal joined
|
|||
Woodi | rn: my %h; my @a = (a,b,c); %h{'a'} = @a; push %h{'a'}, 'd'; say %h{'a'}; | 08:13 | |
p6eval | rakudo e765c9: OUTPUT«===SORRY!===CHECK FAILED:Undefined routine '&a' called (line 1)Undefined routine '&b' called (line 1)Undefined routine '&c' called (line 1)» | ||
..niecza v22-14-g136ddcf: OUTPUT«===SORRY!===Undeclared routines: 'a' used at line 1 'b' used at line 1 'c' used at line 1Unhandled exception: Check failed at /home/p6eval/niecza/boot/lib/CORE.setting line 1437 (die @ 5)  at /home/p6eval/niecza/src/STD.pm6 | |||
..li… | |||
Woodi | rn: my %h; my @a = <a,b,c>; %h{'a'} = @a; push %h{'a'}, 'd'; say %h{'a'}; | ||
p6eval | rakudo e765c9, niecza v22-14-g136ddcf: OUTPUT«a,b,c d» | ||
Woodi | something wrong | 08:14 | |
jaffa4 | well, well | ||
r:y %h; my @a = (a,b,c); %h{'a'} = @a; push %h{'a'}, 'd'; say %h{'a'}; | 08:15 | ||
test | |||
Woodi | you say r:y | 08:16 | |
and ('a','b','c') need to be used | 08:17 | ||
jaffa4 | r: my %h; my @a = 1,2,3 ; %h{'a'} = @a; push %h{'a'}, 'd'; say %h{'a'}; | 08:18 | |
p6eval | rakudo e765c9: OUTPUT«1 2 3 d» | ||
Woodi | or with < and > braces for auto-quote acording to my asymptotical knowledge :) | ||
oo :) | |||
or just with , :) | |||
jaffa4 | thank you | 08:19 | |
Woodi | np | 08:20 | |
Woodi deserve coffe :) | |||
08:23
cognominal left
|
|||
jaffa4 | r: my %h; my @a = 1,2,3 ; %h{'a'} = @a; %h{'a'}.push 'd'; say %h{'a'}; | 08:23 | |
p6eval | rakudo e765c9: OUTPUT«===SORRY!===Confusedat /tmp/HMPX8U9Jxq:1» | ||
jaffa4 | r: my %h; my @a = 1,2,3 ; %h{'a'} = @a; %h{'a'}.push( 'd'); say %h{'a'}; | 08:24 | |
p6eval | rakudo e765c9: OUTPUT«1 2 3 d» | ||
08:25
wamba joined
08:26
mucker left
08:30
SamuraiJack joined
08:31
cognominal joined
|
|||
cognominal | What is the syntax to reference an non infix opérator to do some introspection? | 08:38 | |
GlitchMr | cognominal: &prefix:<+>? | 08:39 | |
Optionally without `&` if all you want to do is call it | 08:40 | ||
08:44
cognominal left
08:49
cognominal joined
08:54
colomon left,
xinming left,
kaare_ left
09:00
cognominal left
09:07
cognominal joined
09:12
mberends joined
09:25
cognominal left
|
|||
masak | hi, #Perl6 | 09:31 | |
phenny | masak: 00:13Z <diakopter> tell masak r: X[X] # LTA error imho | ||
masak: 00:16Z <diakopter> tell masak same for r: sub foo(X of X) { } | |||
masak: 00:24Z <diakopter> tell masak vivify fail for scalar; work with @ sigil thoughr: my Array of Associative $a; $a.push({}); | |||
masak: 00:28Z <diakopter> tell masak hash allowed in array? r: say {} ~~ Positional; my Array of Positional @a; @a.push({}); say @a.perl | |||
Further messages sent privately | |||
masak | r: say "@a[]" | 09:32 | |
p6eval | rakudo e765c9: OUTPUT«Null PMC access in find_method('postcircumfix:<[ ]>') in block at /tmp/lGMvG30Y3D:1» | ||
masak | oh wow. | ||
masak submits rakudobug | |||
09:32
cognominal joined
|
|||
masak | r: X[X] | 09:37 | |
p6eval | rakudo e765c9: OUTPUT«===SORRY!===Method 'parameterize' not found for invocant of class 'Perl6::Metamodel::PackageHOW'» | ||
masak submits rakudobug | |||
r: XX | 09:38 | ||
p6eval | rakudo e765c9: OUTPUT«===SORRY!===CHECK FAILED:Undefined routine '&XX' called (line 1)» | ||
masak | r: X | 09:39 | |
p6eval | rakudo e765c9: ( no output ) | ||
masak | std: X[X] | 09:42 | |
p6eval | std 64edd1c: OUTPUT«===SORRY!===Undeclared name: 'X' used at line 1,1Check failedFAILED 00:00 42m» | ||
masak | r: sub foo(X of X) { } | 09:43 | |
p6eval | rakudo e765c9: OUTPUT«===SORRY!===Method 'parameterize' not found for invocant of class 'Perl6::Metamodel::PackageHOW'» | ||
masak submits rakudobug | |||
std: sub foo(X of X) { } | |||
p6eval | std 64edd1c: OUTPUT«===SORRY!===In parameter declaration, typename 'X' must be predeclared (or marked as declarative with :: prefix) at /tmp/npYhuHAAfP line 1:------> sub foo(X⏏ of X) { }Parse failedFAILED 00:00 42m» | ||
09:44
MayDaniel joined
|
|||
masak | r: my Array of Associative $a; $a.push({}); | 09:45 | |
p6eval | rakudo e765c9: OUTPUT«Type check failed in assignment to '$a'; expected 'Array+{TypedArray}' but got 'Array' in sub infix:<=> at src/gen/CORE.setting:11732 in method push at src/gen/CORE.setting:1253 in block at /tmp/2SicZ3R81i:1» | ||
masak | r: my Array of Associative @a; @a.push({}); | 09:46 | |
p6eval | rakudo e765c9: ( no output ) | ||
masak | if the former worked and the latter didn't, I'd be less surprised. | ||
the latter should declare an array of arrays of associative. | |||
r: say {} ~~ Positional; my Array of Positional @a; @a.push({}); say @a.perl | 09:47 | ||
p6eval | rakudo e765c9: OUTPUT«FalseArray+{TypedArray}.new({})» | ||
masak | yeah, I don't follow. something feels weird here. | ||
I won't submit rakudobugs on that until someone explains it to me :) | |||
jaffa4 | if I use our in a sub, it still get variable not found in another sub. .Is that correct? | 09:52 | |
masak? | 09:54 | ||
09:55
CharellKing left
09:56
Su-Shee_ is now known as Su-Shee,
MayDaniel left
|
|||
azawawi | Found a bug in File::Spec github.com/FROGGS/p6-File-Spec/issues/1 | 09:57 | |
masak | jaffa4: that is correct. | 09:58 | |
jaffa4: you have to declare variables, even our variables, in order to be able to use them. | 09:59 | ||
however... | |||
r: sub foo { our $x = 42 }; sub bar { say our $x }; foo; bar | |||
p6eval | rakudo e765c9: OUTPUT«42» | ||
masak | there *is* some cross-lexpad communication going on. | ||
jaffa4 | our declares in global scope | ||
masak | yeah, that's where you're wrong. | ||
jaffa4 | It should be visible in another subs, should it not? | ||
masak | see eval above. | 10:00 | |
lumi__ | jaffa4: No, it declares a package variable, but the name is only in scope lexically, I think | ||
masak | correct. | ||
10:00
spider-mario joined
|
|||
jaffa4 | that is interesing | 10:01 | |
10:02
tokuhiro_ joined
|
|||
jaffa4 | I see potentials bugs in here for future Perl 6 developers | 10:02 | |
masak | actually, we had a narrowing in semantics exactly there as part of the switch over to nom. | ||
jaffa4: yeah, one has to think a little differently about 'our' compared to Perl 5, that is true. | |||
personally, I've bought into the reasons for the change. YMMV. | 10:03 | ||
lumi__ | Lexicalize all the things! | ||
masak | that's us. | 10:04 | |
jaffa4: and yes, the change makes 'our' variables one notch less useful in Perl 6, in the sense that people will end up using them less often. such is life. we have other, nicer features that people can rely on instead. | 10:05 | ||
jaffa4 | Like what? | 10:06 | |
masak | from my point of view, the main reason to use 'our' in Perl 6 is to make a variable (or sub) visible from outside of a package. | ||
as to what other features to use instead of 'our', I don't have a ready-made answer. :) generally, I'm not so inclined to use 'our' in that way in the first place. | 10:07 | ||
so all the examples I can think of are artificial. | |||
& | |||
jaffa4 | &? | 10:08 | |
au | (&, as in fading to background) | 10:12 | |
azawawi farabi6 can now launch its webserver and the editor is visible in the browser :) | 10:27 | ||
jnthn | azawawi: ooh :) | 10:28 | |
10:28
daniel-s left
10:35
MayDaniel joined
|
|||
azawawi integrates Perlito with Farabi6 | 10:35 | ||
10:43
cognominal_ joined
10:46
cognominal left
10:47
PacoAir joined
|
|||
cognominal_ | irclog.perlgeek.de/perl6/2012-10-21#i_6083925 thx GlitchMr, I hae a loosy connexion and there is no way to know if what I type in xhchat will have make it. I answered to myself as I often did but ig got lost. | 10:49 | |
one should not type the operator as in the grammar, say infix:sym<,> but infix:<,> | 10:50 | ||
10:55
fgomez left
10:58
colomon joined
10:59
am0c joined
11:05
Su-Shee_ joined
11:09
Su-Shee left
11:10
fgomez joined
11:14
Moukeddar joined
|
|||
dalek | p/kill-nqpattr: 8bbf1cb | jnthn++ | src/QRegex/P6Regex/ (2 files): Give P6Regex code objects in standalone mode. This means that it now no longer depends on BlockMemo, and thus will not use nqpattr either. |
11:24 | |
p/kill-nqpattr: 8d698e3 | jnthn++ | src/stage0/ (9 files): Update bootstrap. |
|||
p/kill-nqpattr: e0d7900 | jnthn++ | src/QRegex/Cursor.nqp: Remove remaining nqpattr calls. |
|||
am0c | jnthn++ | 11:27 | |
11:29
am0c left
11:39
Moukeddar left
|
|||
dalek | p/kill-nqpattr: 4248b7f | jnthn++ | src/QRegex/P5Regex/ (2 files): Update P5Regex to avoid BlockMemo/nqpattr. |
11:40 | |
p/kill-nqpattr: 94ff05c | jnthn++ | src/core/NQPRoutine.pm: Remove two more (now-unused) nqpattr methods. |
|||
p/kill-nqpattr: 903ce78 | jnthn++ | / (3 files): Eliminate QAST::BlockMemo, now nqpattr is gone. It was always just a hack to provide for nqpattr, and has no other purpose. |
|||
11:40
xinming joined
|
|||
dalek | p/kill-nqpattr: 2957383 | jnthn++ | src/stage0/ (9 files): Another bootstrap update. Fully eliminates nqpattr usage and QAST::BlockMemo. |
11:48 | |
p/kill-nqpattr: 68aa467 | jnthn++ | / (3 files): Eliminate nqpattr cheat implementation. With this, we're down to just 2 .pir non-generated .pir files in NQP. |
|||
11:48
Chillance joined
11:50
mucker joined
11:56
mucker left,
xdbr joined
11:57
xinming left
11:59
xinming joined
12:05
Su-Shee_ is now known as Su-Shee
12:06
cognominal_ left
|
|||
dalek | p/kill-nqpattr: d8ff663 | jnthn++ | src/QRegex/P5Regex/ (2 files): Copy of copy-pastos; kboga++. |
12:12 | |
12:13
cognominal_ joined
12:27
domidumont joined
12:28
SamuraiJack_ joined,
rindolf joined,
SamuraiJack left
|
|||
azawawi | what's the expected things for rakudo 2012.10? more performance? more p6 support? | 12:36 | |
12:38
domidumont left
|
|||
jnthn | azawawi: The 2012.10 compiler release is already cut, so the Rakudo Star that ships with it will have the things in the ChangeLog for 2012.10. :) But yes, the things you mention plus bug fixes. | 12:39 | |
12:39
domidumont joined
|
|||
azawawi looks at the changelog | 12:41 | ||
jnthn | The debugger goes into R* and that has some improvements this month too. | ||
jnthn is working on a blog post about those | 12:42 | ||
azawawi advocates github.com/azawawi/farabi6 :) | 12:45 | ||
GlitchMr | azawawi: glitchmr.github.com/perl-6-changes-2012W40.html, glitchmr.github.com/perl-6-changes-2012W41.html and glitchmr.github.com/perl-6-changes-2012W42.html | 12:46 | |
That would be 2012.10 | |||
Everything in those posts was added in 2012.10 | |||
azawawi | GlitchMr: thx | 12:47 | |
GlitchMr | bugs.php.net/bug.php?id=55371 | 12:49 | |
/* if (PHP_VERSION < 6) { | |||
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; | |||
}*/ | |||
WTH? | |||
I through that most of PHP code is bad... but that goes above bad. | |||
[Coke] | Where should a test for rt.perl.org/rt3/Ticket/Display.html?id=76946 go? I have a test, but it seems like we need a "weird rakudo regression" spectest file. :) | 12:54 | |
ah. integration/weird_errors, I suppose. | 12:56 | ||
13:04
Psyche^ joined
|
|||
jnthn | [Coke]: There or where the other tests for .= are (I guess in S12-methods somewhere) | 13:04 | |
13:07
Patterner left,
Psyche^ is now known as Patterner
|
|||
[Coke] | r: gist.github.com/3926907 | 13:07 | |
p6eval | rakudo e765c9: OUTPUT«===SORRY!===Missing blockat /tmp/eNfJQ9VFpO:7» | ||
[Coke] | Can someone point out what I'm doing wrong there? | 13:08 | |
azawawi | I have a question about panda... where does it install other shared files... e.g. lib/YourFiles/share | 13:10 | |
and what is the ~/.perl6 for? | 13:11 | ||
jnthn | r: say X::Adhoc | 13:13 | |
p6eval | rakudo e765c9: OUTPUT«Could not find symbol '&Adhoc' in method <anon> at src/gen/CORE.setting:9955 in at src/gen/Metamodel.pm:2401 in any find_method_fallback at src/gen/Metamodel.pm:2389 in any find_method at src/gen/Metamodel.pm:925 in at src/gen/BOOTSTRAP.pm:827 in any … | ||
jnthn | r: say X::AdHoc | ||
p6eval | rakudo e765c9: OUTPUT«X::AdHoc()» | ||
jnthn | [Coke]: Capitalization. | ||
[Coke] | That seems LTA. | ||
13:14
tokuhiro_ left
|
|||
[Coke] | jnthn++ | 13:16 | |
jnthn | STD manages a better error there. I think we have a ticket about getting Rakudo to. | 13:17 | |
dalek | p/kill-nqpattr: e6b9101 | jnthn++ | src/QRegex/Cursor.nqp: Don't booleanize code objects in Cursor. Now that $!regexsub is the actual code object, boolifying it doesn't play well with Perl 6 code objects. |
||
p/kill-nqpattr: deb59ee | jnthn++ | src/QRegex/P6Regex/Actions.nqp: Do store the NFA of standalone regexes. Turns out that the current way we do gen_op in Rakudo needs that. (Yes, this will change soon, but this is the easiest way for now.) |
|||
[Coke] | jnthn: excellent, I'm trying to close a ticket, I didn't want to opena new one! :) | 13:18 | |
13:19
kaare_ joined
|
|||
felher | rn: say 'ABC' ~~ / :i ^ < a b c abc > $ / | 13:25 | |
p6eval | rakudo e765c9: OUTPUT«#<failed match>» | ||
..niecza v22-14-g136ddcf: OUTPUT«#<match from(0) to(3) text(ABC) pos([].list) named({}.hash)>» | |||
dalek | ast: 33c0502 | coke++ | integration/weird-errors.t: Add test for RT #76946 |
13:27 | |
13:27
rindolf left
|
|||
jnthn | r: "ABC" ~~ / ABC / | 13:28 | |
p6eval | rakudo e765c9: ( no output ) | ||
jnthn | r: say "ABC" ~~ / :i abc / | ||
p6eval | rakudo e765c9: OUTPUT«「ABC」» | ||
jnthn | r: say "ABC" ~~ / :i [ a | abc ] / | ||
p6eval | rakudo e765c9: OUTPUT«「ABC」» | ||
jnthn | r: say "ABC" ~~ / :i < a abc > / | ||
p6eval | rakudo e765c9: OUTPUT«#<failed match>» | ||
jnthn | wtf. The latter is meant to be syntactic sugar for the first. | ||
dalek | Heuristic branch merge: pushed 32 commits to nqp by jnthn | 13:29 | |
kudo/nom: d4a9b19 | jnthn++ | / (4 files): Rakudo updates for nqpattr removal. Also bumps NQP_REVISION to get the kill-nqpattr merge. gen_op gets a bit messier in this, but the categorically-better branch eliminates the code that needed an update here anyway. |
13:30 | ||
felher | jnthn: i could imagine this being the same problem as either rt.perl.org/rt3//Public/Bug/Displa...l?id=76500 or rt.perl.org/rt3//Public/Bug/Displa...l?id=77410 ? | 13:32 | |
dalek | kudo/nom: 978492e | jnthn++ | src/Perl6/Actions.pm: Respect :i in < foo bar > syntax. |
13:33 | |
jnthn | felher: Wasn't actually the deep problem I already fixed, just needed a tweak to the < foo bar > compilation. | 13:34 | |
felher | jnthn++ :) | 13:35 | |
13:38
kAm0t3 joined
|
|||
dalek | ast: 63938fd | jnthn++ | S05-modifier/ignorecase.t: Add test for :i and quote words. |
13:38 | |
13:39
hash_table joined
|
|||
[Coke] | I don't know if it's peculiar to the perl installation of RT, but the auto-wrapping of emails is painful. as is the unicode mangling. | 13:40 | |
I have no desire to switch over to github, but blah. | |||
(I wouldn't mind /being on github/), but switching? no. | |||
13:42
flightrecorder joined
|
|||
dalek | kudo/categorically-better: b866287 | moritz++ | src/Perl6/Grammar.pm: RT #115356: redeclaring a class as a role |
13:43 | |
kudo/categorically-better: e765c99 | coke++ | t/spectest.data: Run test for RT #77596 |
|||
kudo/categorically-better: d4a9b19 | jnthn++ | / (4 files): Rakudo updates for nqpattr removal. Also bumps NQP_REVISION to get the kill-nqpattr merge. gen_op gets a bit messier in this, but the categorically-better branch eliminates the code that needed an update here anyway. |
|||
rakudo/categorically-better: 978492e | jnthn++ | src/Perl6/Actions.pm: | |||
[Coke] | jnthn: you were right, it's already reported as 88748 | 13:45 | |
jnthn | :) | 13:47 | |
Time for a break, bbl | |||
masak | diakopter: your latest sets of fuzzings makes me feel like Rakudo has more lingering "early warts" (a la 2008) than I thought. | 13:48 | |
of course, you're not following the common paths, which is kind of the point. | 13:49 | ||
but still. | |||
[Coke] | is there a way to CATCH a "CHECK FAILED" error? | 13:57 | |
jnthn | masak: How do you conclude that? | ||
masak: They all look like LTA errors, aside from the "@foo[]" one. | |||
[Coke] | (there must be because the REPL doesn't die.) | ||
jnthn | masak: And diakopter may well have found that one by reading the comment in Actions.pm that explains this issue and why it's not immediately easy to fix. | 13:58 | |
masak | jnthn: yes. the "@a[]" one was perhaps the most surprising. | ||
oh! | |||
masak hunts down that comment | |||
# XXX Move to HLL::Actions after NQP gets QAST. | 14:00 | ||
heh :) | |||
someone could do that now :) | |||
14:01
flightrecorder left
|
|||
masak | no, I didn't find a comment in Actions.pm regarding why "@a[]" is non-trivial. | 14:07 | |
hints welcome. | |||
jnthn | huh, it's the only hit for "@ in the file... | 14:08 | |
[Coke]: They can be caught like any error if you're eval'ing code | |||
masak | jnthn: found it. | ||
jnthn | You can't catch them for the current file because it never makes it to runtime. :) | 14:09 | |
masak | I don't understand the problem. | 14:10 | |
14:10
birdwindupbird joined
|
|||
masak | if it's "@a", it shouldn't interpolate. if it's "@a[]", it should, and thus the variable needs to exist. | 14:10 | |
14:15
am0c joined
|
|||
jnthn | And at the point you're in the action method for @a, you didn't parse the [] yet. | 14:18 | |
I think the comment is really saying "at the point we do the check, we don't know what's coming up" | |||
Good starting point for a fix is probably to look at if STD gets it right, and if so how. | 14:19 | ||
masak | clearly you can't do the right thing before you've parsed the [] | ||
because you'll only be doing the declaredness check if there is one. | 14:20 | ||
so you'll have to establish a "conditional promise" or something. | |||
hm, that's an interesting notion. kind of like a phaser. | |||
14:21
rindolf joined
|
|||
masak | but you don't need a language construct for that, I think. just closures :) | 14:25 | |
14:28
crab2313 joined
|
|||
jnthn | STD does it with the $*VAR contextual | 14:30 | |
See termish | |||
masak | aye. I see it. | 14:32 | |
seems sensible. | |||
the "conditional promise" is conveyed through the contextual. | |||
jnthn | *nod* | 14:34 | |
If you feel like hacking on it some time, feel free :) | |||
masak | ok :) | ||
jnthn | If your Rakudo tuits aren't too tired up with macros ;) | 14:35 | |
masak | "tired up" is a nice melange of "tired" and "tied up" :P | ||
14:37
xinming left
|
|||
jnthn | hah...I meant tied :P | 14:39 | |
14:39
spider-mario left
|
|||
masak .oO( the 's' and 'm' modifiers are gone. probably the memory of them was too painful... ) | 14:40 | ||
azawawi | old question; how much is std.pm can rakudo run? | 14:41 | |
14:41
xinming joined
|
|||
azawawi | old question; how much from std.pm can rakudo run? | 14:41 | |
14:42
kAm0t3 left
|
|||
masak | quite a lot. | 14:42 | |
maybe... all of it, at this point? | |||
jnthn | Not sure | ||
I know that even NQP can manage a good bit of it though | 14:43 | ||
azawawi | Since in Farabi i have to use viv to report errors accurately and use rakudo/niecza as a runtime | ||
jnthn | It's kind of a convergence process :) | ||
14:45
xinming left
14:52
xinming joined
15:06
azawawi left
15:09
[particle] joined
15:13
GlitchMr left,
GlitchMr joined
15:17
GlitchMr is now known as era32
15:22
fglock left
15:24
crab2313 left
15:25
nyuszika7h left
15:28
nyuszika7h joined
15:38
wamba left
15:42
Moukeddar joined,
flightrecorder joined
15:43
FROGGS joined
15:56
wamba joined
16:01
[particle]1 joined
16:02
azawawi joined
16:03
[particle] left
|
|||
azawawi | github.com/azawawi/farabi6/commit/...dff1bf64af | 16:03 | |
# Run Perl 6 code using Perltio 6 JS | |||
# in Farabi6 :) | 16:04 | ||
au | azawawi: I wonder if one can create a gh-pages branch and move lib/Farabi6/files/* into the root directory :) | 16:09 | |
i.e. so it can run as a single-page app in azawawi.github.com/farabi6/ | |||
azawawi | au: right now im experimenting with a perl 6 backend | 16:14 | |
au | *nod* | 16:16 | |
azawawi | panda does not seem to bundle stuff well | 16:17 | |
im confused about the .perl6 directory and what it should contain | 16:18 | ||
if bundle js resources under lib/XYZ/files... where should it be installed? | 16:20 | ||
s/if/if i/ | |||
16:30
benabik joined,
azawawi left
|
|||
moritz | r: say 'ß'.uc | 16:32 | |
p6eval | rakudo 978492: OUTPUT«ß» | ||
moritz | n: say 'ß'.uc | ||
p6eval | niecza v22-14-g136ddcf: OUTPUT«ß» | 16:33 | |
moritz | rakudo-- | ||
niecza-- | |||
p: say 'ß'.uc | |||
p6eval | pugs: OUTPUT«ß» | ||
moritz | pugs-- | ||
16:34
am0c left
|
|||
jnthn | prn: say "wir sind alle scheiße in deutsch".uc | 16:37 | |
p6eval | rakudo 978492, niecza v22-14-g136ddcf, pugs: OUTPUT«WIR SIND ALLE SCHEIßE IN DEUTSCH» | ||
jnthn | Hm, how on earth do we make that work in the NFA, I wonder... | ||
That'll need some care. | 16:38 | ||
:) | |||
16:39
jaldhar left
|
|||
moritz | jnthn: as [ß|SS] | 16:39 | |
jnthn | moritz: Yeah, will just have to take special notice of those cases. | 16:40 | |
moritz | well, actually [ß|SS|Ss|sS|ss] | ||
jnthn | o.O | ||
Really? sS too? | 16:41 | ||
masak | scheisSe. | ||
jnthn | Das ist es. | ||
jnthn wonders what these things foldcase too | 16:42 | ||
moritz | $ perl -CS -Mutf8 -wE 'say "sS" =~ /ß/i' | ||
1 | |||
jnthn: to ss all | |||
16:45
circlepuller left,
fgomez left,
circlepuller joined
|
|||
nwc10 | $ perl -le 'print "\x{DF}\x{100}" =~ /ss/i' | 16:47 | |
1 | |||
$ perl -le 'print "\x{DF}\x{100}" =~ /(s)(s)/i' | |||
$ | |||
(this IRC client isn't sure how to do Unicode) | 16:48 | ||
but the character class inversion of \x{DF} is quite fun too. | |||
(case insensitively) | 16:49 | ||
(conceptually) | |||
16:59
fgomez joined,
colomon left
17:03
birdwindupbird left
17:09
cognominal_ left
17:14
cognominal_ joined
17:22
Celelibi left
17:31
Celelibi joined
|
|||
era32 | I want to do codegolf.stackexchange.com/question...is-diamond | 17:32 | |
Currently I've this: say " "x(9-$_),(1 x$_)**2 for 1..9,(8...1) | |||
Any ideas how can I shorten it? | |||
17:35
mars joined,
mars is now known as Guest82398
17:38
Celelibi left
|
|||
jnthn | era32: Hm, that's already quite short... :) | 17:42 | |
x(9-$_) doesn't need the parens I think | 17:43 | ||
Still need a space between x and 9, but it can save a char I think | |||
era32 | Thanks :-) | 17:44 | |
moritz likes the (1 x $_) ** 2 trick | 17:45 | ||
jnthn | I was trying to work out a way to have 0..8 or so so that you can use ^8 there | ||
era32 | codegolf.stackexchange.com/a/8768/3103 | 17:46 | |
:-) | |||
diakopter | masak: I don't know about that; my perspective hasn't changed. I don't think they're big deals enough to call warts | ||
era32 | I find this " " ugly, but whatever | 17:47 | |
diakopter | maybe moles | ||
era32 | In Perl 5, I would do $", but I don't think I can do that in Perl 6 ;-) | ||
diakopter | although moles implies more permanent; maybe pimple is better | ||
17:47
spider-mario joined
|
|||
moritz | you can still write chr(20) instead :-) | 17:49 | |
era32 | Except that's longer | ||
This is code golf | |||
moritz | I know, hence the smiley :-) | ||
era32 | 20.chr would be shorter, but still too long | 17:50 | |
I was thinking about using map, but 1. it would be longer, 2. isn't map lazy? | 17:51 | ||
moritz | it is | ||
era32 | Also: codegolf.stackexchange.com/question...-languages | 17:52 | |
I find it interesting that the shortest solution looks like: main; | 17:53 | ||
I'm surprised to see it compiles | |||
jaffa4 | IS this a regular experssion error message: Preceding context expects a term, but found infix / instead? | ||
17:54
Celelibi joined,
colomon joined
|
|||
era32 | But... shouldn't / in context of term a regular expression? | 17:54 | |
std: a / b / | |||
p6eval | std 64edd1c: OUTPUT«===SORRY!===Undeclared routine: 'a' used at line 1Check failedFAILED 00:00 42m» | 17:55 | |
era32 | std: print / b / | ||
p6eval | std 64edd1c: OUTPUT«ok 00:00 42m» | ||
jaffa4 | std: /^\-p=(.+)$/ | ||
p6eval | std 64edd1c: OUTPUT«===SORRY!===Unrecognized regex metacharacter = (must be quoted to match literally) at /tmp/MOF8j5EIf9 line 1:------> /^\-p=⏏(.+)$/Unable to parse regex; couldn't find final '/' at /tmp/MOF8j5EIf9 line 1:------> /^\-p=[33… | ||
jaffa4 | raudo: /^\-p=(.+)$/ | ||
r: /^\-p=(.+)$/ | |||
p6eval | rakudo 978492: OUTPUT«===SORRY!===Preceding context expects a term, but found infix / insteadat /tmp/MsgRqZ6v6o:1» | ||
jnthn | Hmm | 17:56 | |
era32 | what the... | ||
diakopter | rn: foo (sub foo { }) | ||
era32 | Rakudo usually has less detailed error messages... | ||
p6eval | rakudo 978492: OUTPUT«Too many positional parameters passed; got 1 but expected 0 in sub foo at /tmp/8wUGlOvxVJ:1 in block at /tmp/8wUGlOvxVJ:1» | ||
..niecza v22-14-g136ddcf: ( no output ) | |||
era32 | The error is about =, but... | ||
This error message is really wrong | |||
jnthn | My guess is that somehow the parser ends up falling out of regex parsing, at which point you get the "huh, I didn't find any term" error. | 17:57 | |
era32 | I mean, "but found infix 'whatever'" doesn't even normally happen in Rakudo. Usually all I see is "Confused" | ||
felher | Shouldn't that work (i.e: just write binary, not encode anything to utf-8): bpaste.net/show/52645/ ? | ||
jnthn | era32: It's trying to do better than "Confused" here | ||
jaffa4 | not very useful error message | 17:58 | |
jnthn | jaffa4: It can be. | ||
era32 | Rakudo currently doesn't have very good error messages for syntax errors. | ||
Usually Niecza is better at that. | |||
jnthn | But it shouldn't have failed to parse the regex in this way here. | ||
era32 | But it's first "but found instead" error message I've seen from Rakudo | 17:59 | |
r: /=/ | |||
p6eval | rakudo 978492: OUTPUT«===SORRY!===Unrecognized regex metacharacter = (must be quoted to match literally) at line 2, near "/"» | ||
jnthn | Right, it gets it in this case. | ||
era32 | r: /p=/ | ||
p6eval | rakudo 978492: OUTPUT«===SORRY!===Preceding context expects a term, but found infix / insteadat /tmp/sK7JYdNG8b:1» | ||
era32 | ok | ||
jnthn | Hmm | ||
era32 | > / | ||
Preceding context expects a term, but found infix / instead | 18:00 | ||
That would make sense | |||
jnthn | Yeah | ||
I'm not sure what's going on | |||
I guess --rxtrace -e "/p=/" may be interesting to study. | |||
18:01
jaldhar joined
|
|||
era32 | Perhaps it backtracks at =... it backtracks so much that it thinks it's not regular expression | 18:01 | |
And because it's not regular expression, it sees / that is infix operator. | |||
And reports error message | |||
jnthn | era32: Yes, that's what's happening | 18:02 | |
Something is missing to stop it backtracking so far. | |||
jaffa4 | What about this: print <<EOF; | 18:03 | |
era32 | We don't have shell style heredocs anymore | 18:04 | |
I think we have q:to today | |||
jaffa4 | ok | 18:05 | |
era32 | Yet, I think that STD.pm6 should have error when it detects something that looks like heredoc | ||
... but that would be difficult as << >> are quotes | 18:06 | ||
niecza> << a {'a b'}>>.perl | |||
("a", "a", "b").list | |||
r: << a {'a b'}>>.perl.say | 18:07 | ||
p6eval | rakudo 978492: OUTPUT«("a", "\{'a", "b'}")» | ||
era32 | What could happen here? | ||
Oh, lack of interpolation | |||
jnthn | Not implemented those yet. | ||
jnthn has been looking at quoting stuff overall recently and is planning to take on some of it | |||
That and heredocs are two of the things I want to do. | 18:08 | ||
flussence | I can haz q:to? :D | ||
jnthn | flussence: Yeah. I wanna get through the categoricals fixes/improvements I'm working on first, though. | ||
flussence | of course, I can wait :) | 18:09 | |
jaffa4 | q:to is not implemented, right? | 18:10 | |
flussence | n: say q:to<a>ba | ||
p6eval | niecza v22-14-g136ddcf: OUTPUT«b» | ||
era32 | I would like to have some <<HEREDOC detection in STD.pm6... perhaps detection of ' or " after <<... | 18:11 | |
Or some uppercase word character? | |||
flussence | for certain values of the junction "implemented", almost everything is... | ||
era32 | Perhaps forcing space just after << (qw, but with interpolation) would work | 18:12 | |
18:12
_jaldhar joined
|
|||
era32 | « » form of those is preffered anyways. And interpolation in qw[] isn't something you use often... but perhaps that's because of lack of implementation in Rakudo. | 18:13 | |
18:13
jaldhar left
|
|||
era32 | Perhaps force space unless character after << is $ or @ or % or {? | 18:13 | |
18:14
thou joined
|
|||
era32 | Also, is it just me, or Niecza appears to be more complete Perl 6 implementation? | 18:15 | |
compared to Rakudo | 18:16 | ||
18:16
cosimo joined
|
|||
era32 | But perhaps it's just because Rakudo's parser still isn't even close to STD.pm6. | 18:17 | |
flussence | depends on what your criteria for completeness is. Right now I've got code sitting around that works in neither | ||
era32 | When Niecza uses slightly modified version of STD.pm6 | 18:18 | |
jnthn | era32: See www.perl6.org/compilers/features for an overview of features | 18:19 | |
era32 | All Niecza really lacks for me is socket support | ||
I wonder if calling C# methods directly would work | |||
s/C\#/.NET/ | 18:20 | ||
raw.github.com/mj41/Perl-6-GD/mast...odData.png | 18:21 | ||
This says that Rakudo is 83%... but I have feeling that another 17% will take longer time than that 83%... | |||
jnthn | era32: The problem is that the things in that list take hugely different amounts of time to implement. | 18:22 | |
era32 | Implementing heredocs would be 1% further the goal | ||
Yeah. .rand, .pick and .roll sound very easy to implement. | 18:23 | ||
jnthn | Yes, and it would also take a bunch less effort than, say, compact arrays | ||
era32 | Similarly, trigonometric functions are even easier. | ||
... but there is a catch | |||
Perl 6 has lots of trig functions! | 18:24 | ||
jnthn | Thankfully, those are already green :) | ||
era32 | And is TrigBase implemented in Rakudo or Niecza? | ||
18:24
havenn joined
|
|||
jnthn | Not sure off hand | 18:25 | |
era32 | Isn't TrigBase required to be green in trigonometric functions? | ||
Perhaps it should be replaced with yellow... | |||
18:25
havenn left
|
|||
jnthn | Or a separate item, maybe. | 18:25 | |
era32 | Whatever I do, it will decrease number of percents | 18:26 | |
Unless I do nothing about that | |||
sorear | good * #perl6 | ||
jnthn | Well, the features page only captures one angle of things too. | ||
"there's a bug in some corner case" doesn't prevent giving a thing green. Overall it's "what can I expect to basically work" | 18:27 | ||
sorear | rn: say 1, 2 X[+] 10, 20 | ||
p6eval | rakudo 978492, niecza v22-14-g136ddcf: OUTPUT«11 21 12 22» | 18:28 | |
era32 | At least this feature page doesn't have nonsense like .chars method. | ||
jnthn gets back to working towards turning one more of the reds into a green | |||
era32 | Obviously if you implement string type you should have basic methods like .chars. | ||
jnthn | Well, the yak shaving for... :) | ||
moritz | hasn't TrigBased been removed? | ||
era32 | moritz: perlcabal.org/syn/S32/Numeric.html#..._functions | 18:29 | |
It's still in specification | |||
sorear | era32: niecza has basic socket support now | ||
era32 | :-) | ||
tadzik | good evening | ||
era32 | Is it good enough to let's say... create IRC bot? | ||
jnthn | o/ tadzik | 18:30 | |
18:30
jaldhar_ joined
|
|||
tadzik | there are irc bots running already | 18:30 | |
sorear | o/ tadzik | ||
18:30
_jaldhar left
|
|||
jnthn | tadzik: Some panda question in the backlog | 18:31 | |
18:31
havenn joined
|
|||
era32 | gist.github.com/3928017 | 18:31 | |
I still have no idea what .arg method does in Ruby... | |||
Ruby is so confusing | |||
tadzik | jnthn: care to copypaste? I'm on the phone, sorry | 18:32 | |
jnthn | tadzik: azawawi wanted to know about bundling additional files so that they get installed. Details at irclog.perlgeek.de/perl6/2012-10-21#i_6084570 | 18:33 | |
era32 | Also... matching /(s)(s)/i sounds impossible... | 18:36 | |
This is the problem with characters like ß | |||
tadzik | azaw<TAB><TAB> | 18:39 | |
:( | |||
18:41
benabik left
|
|||
dalek | nda: 97572e5 | moritz++ | ext/Test__Mock/lib/Test/Mock.pm: [Test::Mock] update to new version that does not warn |
18:42 | |
18:43
benabik joined
18:51
colomon left
18:52
kristina_83 joined
18:57
rindolf left
18:58
kristina_83 left,
nyuszika7h left
19:17
domidumont left
19:25
azawawi joined
|
|||
benabik | era32: From ruby-doc.org: arg, angle, phase = Returns 0 if the value is positive, pi otherwise | 19:27 | |
19:28
cosimo left
19:31
azawawi left
19:33
SamuraiJack_ left
19:35
nyuszika7h joined
19:39
jaffa4 left
19:42
Exodist left
19:52
bro_grammer joined
19:53
azawawi joined
|
|||
azawawi | tadzik: ping :) TAB TAB | 19:53 | |
19:54
havenn left
19:55
hash_table left
|
|||
masak .oO( he was tabbed in the back! ) | 19:55 | ||
azawawi | masak: :) | ||
19:58
Guest82398 left,
hash_table joined,
bro_grammer left
|
|||
azawawi | masak: so im using now IO::Socket::INET in Farabi6... directly to do HTTP requests... i filed a couple of bugs regarding HTTP::Client and LWP::Simple | 19:59 | |
masak | nice. | ||
azawawi++ | |||
azawawi | so when is the expected date for rakudo 2012.10 release? | ||
jnthn | The Rakudo Star release for a month is typically made in the week following the compiler release. | 20:00 | |
So, sometime in the coming week | |||
Not sure who'll make it. | |||
azawawi | a quick question. How do i list modules in the Setting? the ones that i cant 'use' before using :) | 20:01 | |
i need that for autocomplete and Help POD generation | |||
masak | azawawi: check which ones are defined in src/core in Rakudo? | 20:03 | |
grondilu | rn: .say for <a b> SX[~] <c d>; | ||
p6eval | niecza v22-14-g136ddcf: OUTPUT«acadbcbd» | ||
..rakudo 978492: OUTPUT«No such method 'postcircumfix:<( )>' for invocant of type 'List' in at src/gen/BOOTSTRAP.pm:852 in any at src/gen/BOOTSTRAP.pm:836 in block at /tmp/CiS1Tm0Jrc:1» | |||
grondilu | NYI I guess | ||
jnthn | r: say CORE::.keys.grep(/^\w/) | 20:04 | |
p6eval | rakudo 978492: OUTPUT«Match Buf GatherIter Numeric Stringy Rational i Backtrace Mu Failure Any Cool Attribute Signature Parameter Code AST MapIter Block CallFrame Range Routine Sub Method tai-utc Submethod Duration Regex Instant Str Int Num DateTime Date Parcel Dateish Iterable Iterator… | ||
20:05
havenn joined
|
|||
azawawi | masak: i dont see any POD in rakudo/src/core | 20:07 | |
masak | azawawi: no, there's just module files. | ||
I meant "defined" as in "defined in code". | |||
azawawi takes a look at github.com/perl6/doc | |||
dalek | p: f8df485 | jnthn++ | src/core/NQPRoutine.pm: Add some missing methods in NQPRegex. |
20:12 | |
p: 8aa7fe1 | jnthn++ | src/ (4 files): Handle genericity of NFAs for regexes in roles. Make it so that if you have a regex that mentions a variable that is a role parameter, then a generic version of the NFA will be saved. As the regex is incoprorated into the concrete role, this generic NFA is turned into a concrete one with the value of the role parameter being substituted in.Thus it participates fully in LTM. |
|||
20:13
flightrecorder left
|
|||
jnthn | That was a mildly fiddly patch to write... :) | 20:13 | |
masak | :) | 20:14 | |
20:15
FROGGS left
|
|||
masak | oh wow, I hadn't even *thought* of regexes with role parameters in them. | 20:15 | |
jnthn | Things you didn't realize STD relied on... ;) | ||
Now I've just gotta deal with these braids... | 20:16 | ||
20:16
era32 left
|
|||
sorear | masak: Worse, STD relies on regexes with role parameters participating fully in LTM | 20:17 | |
masak | oh, right. | ||
I did know that part, actually. | 20:18 | ||
things having to do with stoppers and stuff are parameterizable. | |||
jnthn | sorear: Yeah, that's the bit I just implemented. :) | ||
If we're really lucky, I even got it rightish... | 20:19 | ||
20:19
kaare_ left
|
|||
azawawi | so to use panda and p6doc which are bundled inside rakudo star 2012.09, the PATH variable needs to includes modules/panda/bin and modules/doc/bin, right? | 20:20 | |
p6doc is not in rakduo/install/bin. any reason why? | 20:22 | ||
im asking too many questions, right? | |||
jnthn | azawawi: The questions are fine, I just suspect the folks who could answer them are pmichaud or maybe moritz, and they ain't here right now. | 20:24 | |
My guess at the answers is "seems so" and "not sure, maybe no good reasons as making people add multiple things to their path seems odd" | 20:25 | ||
20:32
havenn left
|
|||
dalek | kudo/categorically-better: 70b4b22 | jnthn++ | src/Perl6/ (2 files): Get eval with custom operators to work again. It stopped working because it relied on global grammar modification before, which won't fly now we're doing mixins. |
20:46 | |
20:53
mberends left
|
|||
tadzik | azawawi: TAB TAB | 20:53 | |
azawawi | tadzik: hi | ||
tadzik | hellio | ||
so, you have JS in lib/ | 20:54 | ||
azawawi | tadzik: thanks first for panda... great work! :) | ||
tadzik | thank you :) | ||
azawawi | yeah lib/Farabi6/files | ||
github.com/azawawi/farabi6/tree/ma...abi6/files to be exact | 20:55 | ||
panda install seems not to put them in ~/.perl6 | |||
tadzik | yes | ||
I only made panda handle .pm(6) and .pod | 20:56 | ||
didn't really expect anything else in lib/ :) | |||
it should probably copy over all the things it doesn't recognize | |||
azawawi | yup | 20:57 | |
tadzik | I don't know how it is in Perl 5 | ||
azawawi | it is basically that or share directory | ||
flussence | I dunno about the *right* way to do it, but $dayjob just runs things from the source directory... | ||
azawawi | farabi6 is basically a perl6 backend with a js editor frontend | 20:58 | |
so i need to find out where it is stored via $?FILE | |||
i know it is installed in src in rakudo though but that is weird | 20:59 | ||
since i bundled it inside lib/Farabi6 to get namespace protection | |||
dalek | p: d3b8c89 | jnthn++ | src/QRegex/NFA.nqp: Fix a thinko. |
21:03 | |
kudo/categorically-better: 2ad86ea | jnthn++ | src/Perl6/Grammar.pm: Remove premature optimization. Need to always update %?LANG. |
21:05 | ||
21:06
cognominal_ left
21:08
PacoAir left
21:13
havenn joined,
benabik left
21:18
Exodist joined
21:26
rindolf joined
|
|||
dalek | kudo/categorically-better: 78cf73f | jnthn++ | src/Perl6/World.pm: Process categoricals at import time. |
21:45 | |
masak | 'night, #perl6 | 21:55 | |
Hor|zon | masak: night | 21:58 | |
21:59
Moukeddar left
22:04
timbunce_ joined
|
|||
dalek | p: f90a081 | jnthn++ | src/ (3 files): Fix interaction of action methods and ::(...). This gets custom circumfixes working again in categorically-better. |
22:08 | |
22:11
rindolf left
22:16
rindolf joined
|
|||
jnthn | sleep & | 22:16 | |
rindolf | Hi all. | ||
jnthn: night. | |||
japhb | o/ | 22:21 | |
rindolf | japhb: what's up? | ||
22:22
bapa joined,
spider-mario left
22:23
azawawi left
|
|||
japhb | rindolf, just finishing catching up with IRC, about to hop back into perl6-bench coding | 22:24 | |
you? | |||
rindolf | japhb: been working on fc-solve.shlomifish.org/ | 22:26 | |
japhb | rindolf, ah, looks like a fun pastime. :-) | 22:28 | |
dalek | rl6-bench: a880c85 | (Geoffrey Broadwell)++ | components.json: Add build steps for rakudo and niecza to components.json. Currently the rakudo build steps are vastly more paranoid than niecza's. |
22:29 | |
rl6-bench: fd9e390 | (Geoffrey Broadwell)++ | bench: Continue fleshing out build command |
|||
22:34
gaussblurinc joined
|
|||
gaussblurinc | hello! what about news of perl6? is there any good news or upcoming events? | 22:36 | |
22:38
bapa left,
bapa joined
|
|||
japhb | gaussblurinc, You happen to have stopped by when the most active event-goers amongst us are asleep. | 22:38 | |
gaussblurinc, How far back since the last time you looked for news on Perl 6? | 22:39 | ||
gaussblurinc | 2010, may, yapc :\ | 22:40 | |
japhb | gaussblurinc, Ah, it's been quite a while then! A lot of good implementation work has been going on over the last 2 1/2 years. | ||
Have you tried a recent Rakudo Star release? | |||
gaussblurinc | no, find it on github now and starting to download | 22:41 | |
japhb | Perfect. It's a monthly release, and the stuff it's dependent on has already released for this month, so 2012.10 should be coming in the next week or so. | 22:42 | |
gaussblurinc | good, what about 'happy birthday' or something? is it really stable release? | 22:44 | |
japhb | It's an iterative release. In the Perl 6 world, we generally don't have big landmark releases. We just release something better, month after month, for several years now. | 22:47 | |
There are bugs; we fix them. There are omissions; we fill them. And so it goes. | 22:48 | ||
22:56
Celelibi left
|
|||
gaussblurinc | thanks for information! | 23:00 | |
23:01
Celelibi joined
23:11
MayDaniel left
23:20
grondilu left
23:21
rindolf left
23:30
sunnavy joined,
sunnavy_ left
23:32
gaussblurinc left
23:44
havenn left
23:47
imarcusthis left
|