pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, elf: etc.) (or perl6: for all) | irclog: irc.pugscode.org/
Set by Tene on 29 July 2008.
00:02 dalek left
meppl good night 00:03
00:04 jnthn left 00:05 meppl left
masak Wikipedia++ # This article is about the function transformation technique. For the dish, see Curry. 00:06
00:08 pmichaud joined, jnthn joined 00:13 dalek joined, smg left 00:14 pmichaud left, pmichaud joined, renormalist left 00:15 dalek left 00:16 PerlJam joined, dalek joined 00:18 jnthn left, jnthn joined 00:19 dalek left 00:20 dalek joined 00:30 masak left 00:37 pedrob left 00:44 DemoFreak joined 01:24 wknight8111 joined 01:30 DemoFreak left 01:40 alc joined 01:43 alester_ joined, smg joined 01:45 Exodist left 01:50 FurnaceBoy joined 01:56 Limbic_Region joined 02:00 jauaor left 02:15 lisppaste3 left 02:16 lisppaste3 joined 02:21 wknight8111 left 02:22 lisppaste3 left 02:27 lisppaste3 joined 02:31 eternaleye left, Limbic_Region left 02:34 hercynium joined
pugs_svn r22908 | bacek++ | [spec] Replace some skip with todo for rakudo 02:37
03:17 Psyche^ joined 03:20 nothingmuch_ joined 03:21 nothingmuch left, nothingmuch_ is now known as nothingmuch 03:26 Patterner left, Psyche^ is now known as Patterner 03:31 fleebailey33 joined 03:40 FurnaceBoy left 03:46 Alias__ joined, Alias_ left 03:55 fleebailey33 left 04:00 bacek left, bacek_ left, yahooooo3 left, Maddingue left, lambdabot left 04:01 eternaleye joined 04:02 bacek_ joined, bacek joined, lambdabot joined, yahooooo3 joined, Maddingue joined 04:04 z80ASM joined
pugs_svn r22909 | lwall++ | [gimme5] move more boilerplate out of normal matcher methods 04:20
bacek_ perl6: say Object ~~ Any; say Any ~~ Object 04:21
p6eval elf 22847: OUTPUT[Can't call method "Str" on an undefined value at ./elf_f line 649.␤ at ./elf_f line 3861␤]
..pugs: OUTPUT[␤1␤]
..rakudo 32404: OUTPUT[Null PMC access in get_string()␤current instr.: 'parrot;P6metaclass;add_parent' pc 95 (runtime/parrot/library/P6object.pir:126)␤]
04:37 cpfr joined 04:39 bacek left, bacek_ left, yahooooo3 left, Maddingue left, lambdabot left 04:44 Maddingue joined, bacek_ joined, bacek joined, lambdabot joined, yahooooo3 joined
literal did someone answer my question while my connection was out? 04:59
pmichaud literal: I didn't see the question. 05:05
literal here it is: does the language standard define some way of getting at the name of the implementation? like $?RUNTIME or something
pmichaud possibly $?COMPILER 05:06
05:06 z80ASM left
pmichaud moritz_ / masak: the tests for RT #58526 in S29-list/pick.t look wrong to me. 05:09
pugs_svn r22910 | pmichaud++ | [spec]: Fix test in S29-list/pick.t . 05:42
05:49 Bzek left 05:52 hercynium left
pugs_svn r22911 | lwall++ | [tryfile] needs chomp when files from stdin 05:56
06:18 spx2 left, spx2 joined
pugs_svn r22912 | pmichaud++ | [spec]: Add tests that "$a" and "{3}" return Str. 06:18
06:23 mberends left 06:46 iblechbot left
moritz_ rakudo: say 'test'; 07:20
07:20 p6eval left, p6eval joined, p6eval left
moritz_ I've just switched the evalbot to use a local parrot mirror. It seems it didn't work ;) 07:21
07:22 p6eval joined 07:28 justatheory left
moritz_ rakudo: say "another test" 07:32
p6eval rakudo 32416: OUTPUT[another test␤]
moritz_ rakudo: say "{1}".WHAT 07:37
p6eval rakudo 32416: OUTPUT[Int␤]
07:38 Bzek joined
moritz_ rakudo: say "a {1}".WHAT 07:38
p6eval rakudo 32416: OUTPUT[Str␤]
pmichaud I have that fixed in the rakon branch, but not in trunk yet. 07:41
Feel free to skip/todo the tests until we merge the branch. 07:42
07:42 rakudo_svn joined
rakudo_svn r32417 | pmichaud++ | [rakudo]: partial spectest-progress.csv update 07:42
moritz_ pmichaud: done. 07:43
pugs_svn r22913 | moritz++ | [t/spec] TODO'ed two new tests for rakudo
pmichaud we should be able to merge the branch tomorrow sometime. It fixes most of the array issues we've been having.
moritz_ nice
sadly I'm not online during the weekend, so I can't witness it first hand (or help with testing) :( 07:44
pmichaud > say [ [1,2], [3,4] ].perl
[[1, 2], [3, 4]]
lambdabot Not in scope: `say'Not in scope: `perl'
moritz_ but I volunteer to clean up any passing TODO tests on Sunday.
pmichaud rakudo: say [ [1,2], [3,4] ].perl
p6eval rakudo 32416: OUTPUT[[[1, 2], [3, 4]]␤]
pmichaud oh, that was working already. 07:45
oh well. :-)
moritz_ it wasn't working when stored in a hash.
pmichaud rakudo: say [ [1,2], [3,4] ].pick(*)
p6eval rakudo 32417: OUTPUT[341␤]
moritz_ rakudo: my %h = (a => [[1, 2], [3, 4]]); say %h<a>.perl
p6eval rakudo 32417: OUTPUT[[1, 2, 3, 4]␤]
pmichaud right, that should be fixed in the new branch.
let's see 07:46
> my %h = (a => [[1, 2], [3, 4]]); say %h<a>.perl
[[1, 2], [3, 4]]
lambdabot <no location info>: parse error on input `='
moritz_ nice.
pmichaud this fixes lots of the "little" issues that have been surrounding arrays and hashes 07:47
moritz_ that should also reduce the amount of undef warnings in tests that are now marked as todo
pmichaud yes, likely.
anyway, I need sleep -- back in a while.
moritz_ good night (and great work)
07:48 hanekomu joined 08:03 pbuetow joined 08:13 ashizawa joined 08:19 elmex joined 08:32 pbuetow left 08:40 bacek_ left 08:42 DemoFreak joined 08:45 preflex_ joined, preflex left 08:46 KidShenck joined 08:50 agentzh left 08:57 ejs joined 09:00 cosimo joined 09:05 stephenos left 09:09 hanekomu_ joined 09:14 ludan joined 09:15 hanekomu_ left
ludan hi 09:15
moritz_ hi there
09:22 hanekomu left 09:26 agentzh joined, preflex_ left 09:27 preflex joined 09:35 pmurias joined 09:47 nacho_ joined, DemoFreak left 09:51 agentzh left 09:52 agentzh joined 09:59 r00t|work joined, r00t|work left 10:03 preflex left 10:04 preflex joined, iktome joined 10:06 wolverian joined 10:14 nacho_ left 10:29 alc left, pmurias left 10:37 meppl joined 10:38 agentzh left 10:41 zamolxes joined 10:43 agentzh joined 10:49 ashizawa left 10:52 iktome left 11:07 Bzek left 11:09 schmalbe joined 11:31 iblechbot joined 11:37 pedrob joined 11:53 fleebailey33 joined, pedrob left 11:56 pedrob joined 11:57 jauaor joined
jauaor Hello 11:58
12:07 pmurias joined
wayland76 jauaor: Hello :) 12:09
12:09 zamolxes left
jauaor Hi wayland76 :-) 12:10
breakfast, brb
wayland76 bedtime for me & 12:14
12:20 KidShenck left 12:22 z80ASM joined 12:30 alester_ left 12:32 Jedai joined 12:44 ludan left 12:47 meppl left 12:49 |Jedai| left 12:50 Bzek joined 12:57 pedrob left 12:59 cosimo left 13:01 alester_ joined 13:03 alester_ left
jauaor back 13:13
13:16 Alias__ left, smg left 13:35 masak joined 13:46 Bzek left 13:47 sri_kraih_ joined, sri_kraih_ left, sri_kraih_ joined 14:04 sri_kraih left 14:19 rindolf joined
jauaor finally compiling parrot 14:26
14:27 DemoFreak joined 14:29 Aisling left, Aisling joined
pmurias jauaor: re finally, did you have any problems with compiling parrot? 14:35
lambdabot pmurias: You have 3 new messages. '/msg lambdabot @messages' to read them.
14:35 fleebailey33 left
jauaor pmurias: no .... just no free time 14:37
hah
pmurias: I am compiling for mac though, running a fulltest now
14:47 smg joined 14:58 pmurias left 14:59 ejs left, ejs joined 15:03 jhorwitz joined
bacek pugs: say Bool.pick 15:08
p6eval pugs: OUTPUT[*** pick not defined: VType (mkType "Bool")␤ at /tmp/8CzicbeaQR line 1, column 5 - line 2, column 1␤]
bacek pugs: say Bool.pick(*) 15:09
p6eval pugs: OUTPUT[*** pick not defined: VType (mkType "Bool")␤ at /tmp/yLV3OGGQQQ line 1, column 5 - line 2, column 1␤]
TimToady that is a very recent spec change 15:11
I would not expect anyone to have implemented it yet 15:12
it's also possible it's a bad design, and there should be a way of getting a list of the types values instead 15:14
*type's
15:16 eternaleye left, adc_Penner joined 15:18 cosimo joined
pmichaud an interesting artifact of Bool.pick is that ?Bool.pick will always return Bool::True . 15:28
[particle] why is that? 15:29
pmichaud because .pick returns a list of one element.
it does not return one element. :-)
[particle] ok, so you need ?$(Bool.pick)
no...
pmichaud no
Bool.pick[0]
[particle] you need yep
pmichaud or I've been writing Bool.pick.[0] 15:30
15:30 pmurias joined
[particle] do lists have a .head method? 15:30
pmichaud .first, I think.
jauaor mmm it seems like a fulltest is indeed a fulltest
pmichaud so Bool.pick.first
[particle] so ?Bool.pick.first works
pmichaud rakudo: say [1,2,3].pick.perl; 15:31
p6eval rakudo 32423: OUTPUT[[2]␤]
[particle] jauaor: that's no lie
pmichaud rakudo: say [1,2,3].pick.first.perl;
p6eval rakudo 32423: OUTPUT[No applicable methods.␤␤current instr.: '_block11' pc 66 (EVAL_11:20)␤]
15:31 cosimo left
TimToady maybe pick should be returning a capture, not a list/array 15:31
pmichaud ENOFIRST
[particle] rakudo: say [1,2,3].pick.first
p6eval rakudo 32423: OUTPUT[No applicable methods.␤␤current instr.: '_block11' pc 66 (EVAL_12:20)␤]
[particle] yep, no .first
TimToady I think returning an array is bogus 15:32
pmichaud could be.
TimToady is like saying that map's closure always returns an array 15:33
[particle] what would prefix:? interrogate in the Capture returned from .pick?
TimToady you mean prefix:<?> I presume. this is #perl where that notation is forbidden :) 15:34
#perl6 even
[particle] :P
TimToady prefix:<?> takes a scalar argument, and if you bind a capture with one positional argument, it just binds that one argument 15:35
pmichaud yes, I've been thinking about ways to fix that in Rakudo (the prefix:? notation)
TimToady so ?Bool.pick ought to be false half the time, I think 15:36
pmichaud same for something like foo() if Bool.pick; ? 15:37
is there a binding there?
TimToady presumably 15:38
[particle] doesn't 'if' imply prefix:<?> ?
pmichaud I think it just implies a test for boolean-ness
that doesn't _have_ to be prefix:<?>
[particle] ok, yes, that's correct. 15:39
TimToady it implies item context on the capture returned by the pick, so that it can call the appropriate low-level method
which at the moment is .true still
jauaor mm.. seems like failed 3 tests out of 66
pmichaud I have to finish preparing for a meeting in 20 mins -- will be back in 50. 15:40
(actually, I'm here the whole time -- will start paying attention again in 50)
15:42 cosimo joined 15:47 ZuLuuuuuu joined
jauaor mm.. seems like the test got stuck or something ... 15:54
16:09 hercynium joined
rakudo_svn r32425 | pmichaud++ | [rakudo]: spectest-progress.csv update: 211 files, 4413 passing 16:10
pmurias TimToady: congrats on getting rid of TRE ;)
jauaor ended up interrupting the test 16:11
TimToady 'course, that means I have to write a real lexer now :)
the current one is just the TRE workaround that happened to be good enough to workaround TRE entirely 16:12
16:13 rindolf left 16:17 tcliou left 16:19 pedrob joined, tcliou joined 16:20 xinming left, xinming joined, stephenos joined
jauaor pastebin.com/m59d4751 16:27
buubot jauaor: The paste m59d4751 has been copied to erxz.com/pb/13317
jauaor anybody got an idea?, trying to run 'parrot perl6.pbc'
parrot 0.8.0
16:33 ejs left 16:41 pedrob_ joined 16:44 pedrob left, justatheory joined 16:47 justatheory left, justatheory joined
jauaor mmm.. interesting 16:48
it works if I 'make perl6'
pmichaud jauaor: is it actually Parrot 0.8.0 or the current head in the svn repo? 16:49
(i.e., the 0.8.0 release?)
jauaor pmichaud: the parrot 0.8.0 .. from the tarball itself
correct
pmichaud ah. I'm not sure what the issue is there. 16:50
16:50 eternaleye joined
rakudo_svn r32428 | pmichaud++ | [rakudo]: Remove -G flag from test_summary.pl, 16:50
r32428 | pmichaud++ | as it results in "out of memory" errors on my machine
r32428 | pmichaud++ | for the S05-mass/rx.t tests.
pmichaud it looks kinda weird to me.
16:52 pedrob_ left, Exodist joined 16:53 Exodist left 16:54 adc_Penner left 16:56 Exodist joined, pmurias left 17:12 z80ASM left, pedrob joined 17:13 pmurias joined, pedrob left
jauaor yeah .. in principle, it looks weird 17:19
pmurias moritz_: the irc log for today is blank 17:20
17:22 eternaleye left 17:27 aindilis left 17:28 aindilis joined 17:30 pbuetow joined 17:36 tomyan left 17:48 meppl joined 17:52 jan_ left 17:54 jan_ joined 17:56 rindolf joined 17:58 fleebailey33 joined 18:04 fleebailey33 left 18:16 aindilis left 18:17 aindilis joined 18:29 zamolxes joined 18:40 bacek left 18:42 tcliou is now known as tcliou|slept
masak oh! pair query methods are gone. fancy that. 18:48
18:53 tewk_ left, tewk joined
masak what's this TRE people seem so happy that TimToady got rid of? 18:53
also, FWIW, I liked Bool.pick the moment I saw it. :)
18:56 mberends joined
TimToady well, if we don't break that you can now say Day ~~ :pick<Tue> to get a 1/7th chance :) 19:00
or maybe that's :pick(Tue) 19:01
PerlJam or both 19:02
TimToady since Tue is acting as a typename
yes, but it just seems like more work to do Tue ~~ 'Tue' than Tue ~~ Tue
and that's assuming types stringify to their names, which is still in doubt 19:03
19:04 pedrob joined
PerlJam What else would they stringify to? A structure representation? A composition representation? ? 19:04
[particle] 0x5afecafe 19:05
TimToady or maybe a package name with a :ver and :auth
PerlJam Hmm
TimToady or maybe they're undef like the protoobjects of the same name :)
[particle] that sounds like a Capture
TimToady so maybe they stringify to a warning 19:06
or maybe '' but Failure 19:07
PerlJam "ope' not this Class..."
~Typename ~~ Failure seems a little harsh :) 19:08
[particle] ~Bool ~~ /you have been eaten by a grue/
PerlJam I have got to get a better font. All of the tildes look like dashes. 19:09
19:12 hercynium left 19:21 hercynium joined 19:29 ab5tract joined 19:35 hanekomu joined 19:37 idemal left 19:47 zamolxes left 19:50 rindolf left 19:57 zamolxes joined 20:00 cpfr left 20:01 schmalbe left 20:02 hanekomu_ joined 20:04 hanekomu_ left
TimToady @tell azawawi S_s_h seems to be calling is_type and is_routine on all sorts of things for which it makes no sense, such as the insides of strings like "True" and the various bits of longnames like statement_control:PRE 20:06
lambdabot Consider it noted.
20:07 spx2_ joined 20:10 spx2 left 20:16 fridim_ joined 20:19 hanekomu left 20:21 smg left
TimToady @tell azawawi the problem is you can't just scan for /identifier/; you need to pick color based on the *last* context you care about, like nibbler or deflongname 20:22
lambdabot Consider it noted.
20:26 cosimo left
TimToady @tell azawawi so in the case of push @basetypenames, "True" the True is currently blue because the push is an identifier, which is bogus, since True is just a nibble 20:30
lambdabot Consider it noted.
21:04 alex_ndc joined 21:07 alex_ndc left 21:08 alexn joined 21:10 alexn is now known as alexn_org 21:12 ab5tract left 21:16 alexn_org left 21:17 alexn_org joined 21:20 alexn_org left 21:21 alexn_org joined, alexn_org left 21:22 alexn_org joined, alexn_org left 21:23 alexn_org joined 21:25 ab5tract joined 21:26 riffraff joined, riffraff left 21:29 alexn_org left, alexn_org joined 21:36 ruoso joined
ruoso hmmm... irc log seems offline 21:37
21:38 japhb left 21:40 japhb joined
pmurias ruoso hi 21:42
ruoso hi pmurias
have you seen my changes in mildew?
I took the liberty to do it, as you were offline for a few days 21:43
pmurias ruoso: feel free to change anything you want i don't belive in code "ownership"
ruoso ;P
but did you agree with removing $AST::CODE? 21:44
pmurias looking...
i was just attempting to make emitting a bit more consise 21:46
it was propably a bit to clever
ruoso: sm0p has bit rotted 21:47
ruoso pmurias, in which sense?
pmurias it doesn't compile with a new gimme5 21:48
21:48 cpfr joined
pmurias does anything recurse in DESTROYALL atm? 21:48
ruoso oh... the sm0p compiler..
21:48 alexn_org left
ruoso pmurias, we might just implement the 'free' operator in mold 21:49
and re-implement it in mold correctly
and it does recurse today, yes
because one object's destroyall can end up in another destroyall call
pmurias ahh 21:50
implementing the 'free' operator in mold isn't hard 21:51
21:51 smg joined 21:52 alexn_org joined
ruoso pmurias, then we have just some tests using slime, right? 21:54
pmurias ruoso: i wanted to remove slime to have an easier task of hunting down NULLs which are a problem with mold
ruoso: tests 2,9,12,16,17
ruoso yes.... I agree completely...
slime already played its role
the most important of it being proving the concept that SMOP can have more than one interpreter cooperating at the same time 21:55
pmurias ruoso: i'll remove those tests
ruoso pmurias, just comment them on the CMakeLists.txt 21:56
pmurias, we can rewrite them using mold
later
pmurias ok
ruoso dinner & 21:58
pmurias ruoso: the remaining tests pass with a SMOP_DISPATCH DESTROYALL 22:00
pugs_svn r22914 | azawawi++ | [STD_syntax_highlight] removed check on 'lex' directory 22:01
rakudo_svn r32441 | pmichaud++ | [rakudo]: merge rakon branch to trunk 22:10
22:11 ZuLuuuuuu left
pugs_svn r22915 | pmurias++ | [smop] 22:14
r22915 | pmurias++ | removed SLIME
r22915 | pmurias++ | commented out slime using tests
r22915 | pmurias++ | commented out test 1 as it tests slightly inlegal things and is duplicated by higher level stuff
r22915 | pmurias++ | test 4 fails as we are doing DESTROYALL incorrectly now
22:16 hercynium left 22:28 alexn_org left 22:29 alexn_org joined, alexn_org left 22:32 rindolf joined
pugs_svn r22916 | bacek++ | [spec] Made Incrementor/Decrementor behave according to S03. 22:34
22:38 wknight8111 joined 22:39 alexn_org joined 22:57 alexn_org left 23:02 DarkArchon joined
DarkArchon moritz_ doesn't happen to be around does he? 23:03
pugs_svn r22917 | azawawi++ | [STD_syntax_highlight] added --snippet-html 23:06
masak DarkArchon: well, he's usually gone on weekends.
DarkArchon :( damn
23:06 alexn_org joined
masak yeah, can't everyone be 100% dedicated to Perl 6 all the time? would be much easier that way. 23:07
23:07 pmurias left
DarkArchon it would, alas, the world isn't perfect 23:08
masak ...yet >:) 23:09
23:10 Psyche^ joined
DarkArchon some evil death ray that will make us all dedicated to perl 6 in mind? 23:10
I don't suppose anyone else on knows a lot about the ilbot? 23:15
23:16 jhorwitz left
DarkArchon how about perl in general? 23:19
masak what about it? 23:20
23:20 rindolf left 23:21 idemal joined
DarkArchon I'm having trouble getting ilbot to run 23:21
it keeps failing on line 22
masak did you mean "how about some evil death ray that will make us all dedicated to perl in general in mind?" or "I don't suppose anyone else on knows a lot about perl in general" :)
DarkArchon use IrcLog qw(get_dbh gmt_today); <-- that
which means I'm missing something
(unless I'm way off)
the question is what?
masak DarkArchon: sorry, I wish I could be of any assistance, but your guess is as good as mine in this case. 23:22
DarkArchon damn
23:23 Patterner left, Psyche^ is now known as Patterner 23:24 zamolxes left, zamolxes_ joined 23:26 fridim_ left 23:28 zamolxes_ left
pmichaud std: my %h; %h{"key"} = "value"; say %h\{"key"}; 23:34
p6eval std 22847: OUTPUT[parse failure␤]
masak :) 23:38
even std is wrong. 23:39
Khisanth DarkArchon: it means it's probably reporting the wrong line number :) 23:40
DarkArchon it reported correct line numbers for other, similar, errors. If so though, then how do I find out what the problem is? 23:41
masak there's a Perl 6 authority food chain nowadays: Sxx > std > spectests > tests > implementations
23:41 pmurias joined 23:43 Limbic_Region joined
diakopter food is right. in what direction does the eating occur? 23:44
DarkArchon ? 23:45
diakopter chomps 23:47
masak diakopter: chomps always work from the right, IIRC. this goes for both Perl 5 and 6. 23:48
23:51 alester left 23:52 DarkArchon left 23:56 iblechbot left