00:21 cj left 00:28 japhb joined 00:32 jhorwitz left 00:33 hercynium left 00:57 cls_bsd left, cls_bsd joined 01:16 alester joined
bacek pugs: index("Hello World", "x") 01:25
p6eval pugs: RESULT[-1]
01:28 kanru left 01:31 scrottie joined, hcchien_ is now known as hcchien
scrottie grr. 01:31
02:01 justatheory left, justatheory joined 02:03 Limbic_Region left 02:12 vixey left 02:13 vixey joined 02:23 kanru joined 02:28 a-jing joined 02:29 a-jing left 02:52 Auzon1 joined, Auzon left, Auzon1 is now known as Auzon 03:02 lambdabot left 03:03 Limbic_Region joined 03:04 stevan_ left 03:06 xinming joined 03:09 xinming left 03:10 xinming_ left 03:14 xinming joined 03:31 stevan_ joined 03:32 stevan_ left, stevan_ joined 03:42 pbuetow_ joined, apeiron_ joined 03:49 apeiron_ left 03:52 pbuetow left 03:53 Limbic_Region left 03:57 apeiron left 04:08 apeiron joined 04:24 xinming_ joined 04:34 PZt left 04:35 wknight8111 left 04:37 bacek_ joined, xinming left 04:39 nipotan is now known as nipotaway 04:41 Alias_ joined 04:46 bacek left 05:02 xinming_ left 05:07 bacek_ left 05:17 bacek joined 05:18 xinming joined 05:42 xinming_ joined 05:49 xinming_ left, zostay left 05:53 xinming_ joined, xinming_ left 05:54 xinming_ joined 05:56 xinming left 05:59 alester left 06:05 Psyche^ joined 06:09 xinming joined 06:15 Patterner left, Psyche^ is now known as Patterner 06:16 xinming_ left, xinming_ joined 06:17 zostay joined 06:25 dduncan joined 06:26 xinming__ joined
dduncan question: what toolkit do you presenters recommend or are currently using: eg, Spork, or XUL, or something else? I see talks in both formats in the Pugs repo. I'm inclined to try Spork first, but I'm concerned about CPAN showing it has a lot of failing tests with recent Perls, though that may just be the tests ... is anyone using Spork right now? 06:27
06:28 bacek_ joined 06:29 xinming left 06:38 bacek left 06:40 xinming_ left 06:46 justatheory left 06:47 xinming__ left 06:48 c1sung left 06:49 LCamel left 06:58 Alias_ left 07:02 elmex joined 07:07 xinming joined 07:13 cognominal_ left 07:17 xinming left 07:18 masak joined 07:19 Jedai joined 07:21 dduncan left 07:36 xinming joined 07:41 r0bby left, p6eval left, simcop2387 left, silug left, yves left, ilbot2 left, rafl left 07:42 r0bby joined, p6eval joined, simcop2387 joined, silug joined, rafl joined, ilbot2 joined, yves joined 07:56 penk joined 07:58 xinming left, xinming joined 08:02 Eevee joined 08:11 xinming_ joined 08:12 xinming left 08:21 meppl joined 08:28 xinming joined 08:41 xinming_ left 08:43 Auzon left 08:59 xinming_ joined 09:00 bacek_ left 09:07 cognominal_ joined, xinming left, rindolf joined
rindolf Hi all. 09:07
clkao: here? 09:09
09:10 cognominal__ joined, cognominal_ left 09:13 pmurias joined
pmurias rindolf: hi 09:13
rindolf Hi pmurias 09:16
pmurias: what's up?
pmurias last minute registering for university ;) 09:17
i'll propably make pixie pass more tests ones i get that done 09:20
rindolf: and what's up for you? 09:21
rindolf pmurias: chatting.
pmurias: trying to be able to send email again to @perl.org
I can receive email.
pmurias rindolf: you're trying to get unbanned? 09:23
rindolf pmurias: yes. :-(
pmurias you can always get a new email adress :(
rindolf pmurias: I did.
But I like shlomif. 09:24
09:45 barney joined 09:55 rindolf left 10:01 agentzh left 10:04 agentzh joined 10:10 luqui joined
pmurias pixie: say 'hi' 10:13
p6eval pixie: No output (you need to produce output to STDOUT)
pmurias moritz_: what does the recompilation of implemenations in the evalbot? 10:17
moritz_ pmurias: cron 10:19
pmurias: sudo chroot /new_chrrot; su - evalenv; crontab -e 10:20
don't know if I've installed oone for pixie yet
pmurias pixie: say 'hi' 10:21
p6eval pixie: No output (you need to produce output to STDOUT)
10:23 pmurias left 10:28 icwiener joined, ludan joined 10:30 yahooooo2 left 10:32 yahooooo joined 10:35 penk left 10:47 a-jing joined, a-jing left 11:10 jfredett left 11:11 jfredett joined 11:13 chris2 joined
moritz_ pugs: .print if $_ % 2 for ^11; 11:18
p6eval pugs: OUTPUT[*** ␤ Unexpected "for"␤ expecting operator␤ at /tmp/OhQtSW0ba7 line 1, column 18␤]
11:21 barney left 11:23 vixey` joined 11:25 vixey left 11:27 FadeAway7 joined
FadeAway7 hi, audreyt 11:29
11:31 FadeAway7 is now known as DJ_Dongdot 11:33 vixey` left 11:35 a-jing joined 11:36 a-jing left, meppl left
moritz_ rakudo: my $x = sub { 1; }; say $x.WHAT 11:39
p6eval rakudo 28889: OUTPUT[Sub␤]
moritz_ rakudo: my $x = { 1; }; say $x.WHAT 11:40
p6eval rakudo 28889: OUTPUT[Code␤]
11:56 DJ_Dongdot left 12:08 barney joined 12:58 alester joined, kanru left, alester left 12:59 redicaps joined
ruoso ruoso starts today on the SMOP grant work ;) 13:04
kolibrie ruoso++ 13:08
13:08 kanru joined, ludan left 13:13 ludan joined 13:16 Psyche^ joined 13:18 cmarcelo joined 13:19 wknight8111 joined, Khisanth left 13:21 barney left
moritz_ TimToady: maybe you could/should add a clause to statement_control:unless that warns nicely about 'else' 13:23
s/warns/croaks/, more likely
rakudo_svn r28895 | pmichaud++ | [rakudo]: 13:27
r28895 | pmichaud++ | * spectest-progress update: 75 files, 1172 passing tests
13:28 Patterner left, Psyche^ is now known as Patterner 13:32 icwiener_ joined 13:34 icwiener left 13:38 baest_ left 13:42 Khisanth joined 14:07 jan__ left 14:11 jan__ joined 14:14 TJCRI joined 14:20 renormalist left 14:22 alester joined 14:28 hercynium joined 14:37 iblechbot joined
ruoso @tell pmurias how far have you gone with the alternative sm0p parser? is it producing code already? 14:37
ops... E_NO_BOT
14:44 DietCoke joined
pugs_svnbot r21129 | ruoso++ | [SMOP] Starting to write the test for p6opaque. Currently it is created and destroyed, but nothing is called 14:45
14:59 kanru left 15:00 Khisanth left, justatheory joined 15:11 Khisanth joined
pmichaud anyone know how many tests are in the pugs test suite (approximate number)? 15:12
[particle] 18k-20k
pmichaud okay, works for me.
[particle] so we're 5+% done :) 15:13
moritz_ I can confirm that 15:15
pmichaud thanks :-)
I'll say 19k then. 15:17
any estimates for how many have made it into t/spec ? 15:18
[particle] looking now...
moritz_ by sheer file size a quarter to third
pmichaud that's probably good enough
since it's a rapidly moving target anyway 15:19
moritz_ not as rapidly as I'd hoped for
but still not bad
[particle] ack plan t/spec -wh 15:20
should be a way to add those quickly enough
15:23 barney joined 15:24 icwiener_ left 15:25 icwiener joined 15:28 icwiener left
[particle] there are at least 4500 tests in t/spec atm 15:38
ack plan t/spec -wh | perl -nle"$_=~m/(\d+)/;$x+=$1;print$x" 15:39
... 15:40
running that on t/ gives 19389
moritz_ ok, between 1/5 and 1/4 15:41
pmichaud perfect
[particle] some plan()s have expressions in them, so it's not exact
15:41 Auzon joined
moritz_ aye 15:42
pmichaud I'm saying ~19,000 in pugs and ~5,000 in t/spec
we're within 10% :-)
(er, those numbers are within 10% of the actual numbers)
[particle] yep
btw stevan says the t/oo/from_moose/ tests should be removed--they're way too out of date 15:43
pmichaud stevan++ 15:44
are all of the tests in t/ for Perl 6, or do some of them test other things (such as moose)?
moritz_ [particle]: will you rip them out? or should I?
stevan_ [particle]: soon we will have better tests for you guys
moritz_ stevan_: if you want to be the hero of the realm, formulate them language agnostic ;-) 15:46
[particle] ok, 18864 tests in pugs/t/ now 15:47
pugs_svnbot r21130 | particle++ | these are way out of date, and will be updated soon, so sayeth the Moooooooose
stevan_ moritz_: one second, let me clone myself first ...
moritz_ ;)
[particle] don't forget to clone your threads
we don't need another ingy around here
pugs_svnbot r21131 | moritz++ | [t] operators/inc.t: shanged tests from dies_ok to eval_dies_ok
stevan_ moritz_: the idea is that we will move the class defs into their own files, and associate them with some .pl files that run the actual tests 15:48
they we have small test-runner that basically is the code for your .t file
moritz_ sounds sane
stevan_ so while they wont be language agnostic,.. they will be cleaned up such that mechanical translation should be easier
pugs_svnbot r21132 | moritz++ | [spec] moved operators/inc.t to spec/. rakudo says "Null PCM access in type()" 15:53
moritz_ t/operators/repeat.t sys that $str x -1 should be '', rakudo say "Cannot repeat with negative arg" 15:54
the former seems to be more in line with perl 5
pmichaud is there a ticket for the Null PMC access in type() yet?
okay, we can fix repeat. Feel free to file a ticket for it -- it should be an easy fix. 15:55
I need to refactor the Str class anyway.
moritz_ pmichaud: Ovid++ reported something with the same error message
pmichaud okay. That probably needs to be passed over to jonathan++
I'll see if I can find it and do that. 15:56
pugs_svnbot r21133 | moritz++ | [spec] moved operators/repeat.t to t/spec/, fixed POD 16:02
16:05 renormalist joined
moritz_ rakudo: say ( (1, 2) xx 2 ).perl 16:06
p6eval rakudo 28901: OUTPUT[[1, 2, [1, 2]]␤]
moritz_ that's so wrong ;)
pmichaud yes, lists of captures has an issue with it. I have no idea what that problem is right now, but since I just updated Array handling it might be ripe for fixing now. 16:07
pugs: say ( (1,2) xx 2 ).perl
p6eval pugs: OUTPUT[(1, 2, 1, 2)␤]
pmichaud I might just get infix:<xx> to work in list context for now and worry about slicing context a bit later. 16:08
pugs_svnbot r21134 | moritz++ | [spec] fudged and corrected S03-operators/repeat.t
moritz_ funny, rakudo has infix:<x=>, but no infix:<xx=> 16:09
pmichaud STD.pm constructs the inplace assignment operators from the infixes automatically -- at present Rakudo has to identify them individually
that will undoubtedly be fixed as part of the STD.pm convergence effort. 16:10
16:11 Auzon left
rakudo_svn r28902 | moritz++ | [rakudo] one more file for spectest_regression 16:12
16:15 vixey joined
pugs_svnbot r21135 | moritz++ | [spec] moved ternary.t to spec/ 16:15
16:16 Auzon joined
pugs_svnbot r21136 | moritz++ | [spec] fixed (aka removed) POD from ternary.t 16:16
16:16 kanru joined
pugs_svnbot r21137 | moritz++ | [spec] fudged ternary.t 16:19
r21138 | moritz++ | [spec] S29-list/grep.t fixed adverbial closure test 16:22
rakudo_svn r28903 | moritz++ | [rakudo] tests for ternary now in spectest_regression 16:23
16:23 barney left 16:26 cathyal left
moritz_ pmichaud: I see you added "### refactored to t/spec/S03-operators/equality.t" note to some tests - is there a good reason not to delete those? 16:26
pmichaud you can delete them now. I was trying to keep people from saying "oh, we need equality tests here too" and duplicating the tests. 16:27
moritz_ ok
pmichaud might leave a note that "tests for equality are in S03-operators/equality.t" though.
moritz_ don't think it's worth, since the tests are moving away from plain t/ anyway 16:28
pmichaud that's fine.
pugs_svnbot r21139 | moritz++ | [t] removed redundant tests 16:31
16:34 masak left
pugs_svnbot r21140 | moritz++ | [spec] moved short_circuit.t to spec/, fixed POD, shortened test descriptions 16:34
r21141 | moritz++ | [spec] fudged short-circuit.t 16:37
moritz_ moving tests to spec/ and fudging is much more rewarding when it leads to inclusion into spectest_regression 16:38
I just see one problem as the test suite grows: speed
pmichaud we'll be fixing that soon, too. I expect within the month. 16:40
we can quickly shave about 60% on each test file by precompiling Test.pm
moritz_ YaY
[particle] what's the remaining hurdle for that?
pugs_svnbot r21142 | moritz++ | [spec] added ticket number to fudge message in repeat.t
pmichaud [particle]: hurdle*s*, plural
at the moment the big hurdle is lexical handling 16:41
after that it'll be :load :init handling
but I can't fix :load :init until lexicals get resolved
every time I try to do something with fixing Rakudo to handle precompiled modules better, it comes back to an issue with lexical bugs in parrot 16:42
moritz_ should +'Inf' return a numeric Inf?
[particle] obviously they're undertested
numeric Inf is 'Inf' no?
moritz_ it seems rakudo doesn't do Inf at all 16:43
[particle]: think so
[particle] parrot doesn't handle Inf and NaN in a consistently yet 16:44
it relies on platform-dependent representation
pmichaud afk, errands
pugs_svnbot r21143 | moritz++ | [spec] moved numify.t to spec/, started fudging 16:46
16:53 renormalist left 16:56 nipotaway is now known as nipotan
ruoso ruoso just realised that the default object dispatcher for Perl 6 in SMOP will also be written in Perl 6 17:03
method dispatch($meta: $object, $identifier, $capture --> Any) 17:04
in the metaclass
it would be nice if someone could write a dispatch implementation in smop/src-s1p/P6Meta.pm
moritz_ why --> Any and not --> Object?
ruoso moritz_, not sure... maybe it should be --> Object 17:05
rakudo_svn r28906 | moritz++ | [rakudo] two more files for spectest_regression 17:06
ruoso it's cool that as I make progress in the low-level of SMOP, more things are to be defined in a higher level...
it's also cool that as this high-level parts are written, I can have a more precise idea of exactly which minimum features the runtime needs 17:07
17:08 luqui left
moritz_ ruoso: how on earth could dispatch() written in perl 6 work? Surely it has to call methods, and take care not loop 17:10
ruoso by using the REPR api
it has means of introspecting the actual object contents
and all that is available by method calls only... 17:11
since the same metaclass can be used by different representations...
moritz_ so the methods for introspection would be dispatched by a different dispatcher? 17:12
ruoso yes, because the dispatcher is always object-specific
then I can break the loop by having low-level objects behaving as high-level objects
the REPR API is usually implemented directly in C 17:13
actually.... in p6opaque, the REPR calls are intercepted by the C code, and only the other calls go to "dispatch"
but from the outside, they're all simply method calls 17:14
moritz_, want to write a dispatcher? ;) ;) ;) ;) 17:15
moritz_ ruoso: I considered it. But I think I understand too little of introspection and mmd 17:19
ruoso ruoso understands less 17:20
maybe that's a task for TimToady ;) 17:21
moritz_ hey, you know of the REPR API, I don't ;)
ruoso ruoso hides
17:25 barney joined 17:31 hercynium left 17:32 hercynium joined 17:44 hercynium left, vixey left, justatheory left, japhb left, buu left 17:47 hercynium joined, vixey joined, justatheory joined, japhb joined, buu joined, buu_ joined 17:48 buu left 18:00 rindolf joined 18:03 ludan left 18:07 pmurias joined
pmurias ruoso: hi, it great that you started your grant ;) 18:09
18:09 ruoso left 18:14 pmurias left 18:16 pmurias joined 18:19 peepsalot joined
pmurias @tell ruoso the alternative sm0p parser produces code for the stuff that was in KP6Grammar 18:23
18:28 pmurias left 18:30 wknight8111 left, wknight8111 joined 18:33 jhorwitz joined 18:38 perlbot joined 18:41 buu_ is now known as buu 18:46 armagad joined
ingy hola 18:48
moritz_ an ingy!
ingy hi moritz_ 18:49
anyone here use TimToady's new parser on a regular basis? 18:51
moritz_ ingy: pixie (a clone of "elf") does
ingy url? 18:52
who hacks on pixie?
moritz_ ingy: pmurias does
ingy thanks
moritz_ ingy: url is misc/pixie in the pugs repo
pixie: say "hi"
.oO( hope it works )
p6eval pixie: No output (you need to produce output to STDOUT)
moritz_ seems to be b0rked atm, and pmurias is on vacation 18:53
ingy moritz_: what is pixie in a nutshell? just a bot?
18:53 armagad left
moritz_ ingy: no, it's a mostly bootstrapped compiler 18:53
ingy: p6eval is just a frontend, as it is to about every other implementation we have ;) 18:54
ingy perl 6 compiler?
DietCoke DietCoke hopes ingy has pants on.
ingy undies
ingy works from home
moritz_ ingy: aye
DietCoke better'n'nothing.
ingy :)
18:55 meppl joined
ingy ingy is writing a new porgamming lang 18:56
hoping to use p6 stuff for parser
moritz_ ingy: PGE is fairly stable. It's on parrot, but uses (mostly) Perl 6 rules 18:57
18:57 polettix joined
ingy well my backend code is already written 18:57
a long long time ago :)
19:01 icwiener joined 19:14 Southen joined 19:19 Southen_ left 19:52 wknight8111 left 19:57 wknight8111 joined, Jedai left
moritz_ rakudo: say Bool::True 20:03
p6eval rakudo 28911: OUTPUT[1␤]
moritz_ rakudo: say <1 4 5> 20:04
p6eval rakudo 28911: OUTPUT[./parrot: error while loading shared libraries: /home/evalenv/parrot/blib/lib/libparrot.so.0.6.3: invalid ELF header␤] 20:05
20:05 meppl left
moritz_ rakudo: say <1 4 5> 20:05
p6eval rakudo 28911: OUTPUT[145␤]
moritz_ rakudo: say <<1 2 3>> 20:06
p6eval rakudo 28911: OUTPUT[Statement not terminated properly at line 1, near ">"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤]
moritz_ rakudo: my Int $x = 0; say $x.does(Int) 20:08
p6eval rakudo 28911: OUTPUT[Method 'does' not found for invocant of class 'Int'␤current instr.: '_block11' pc 118 (EVAL_13:51)␤]
moritz_ rakudo: my Int $x = 0; say $x.isa(Int)
p6eval rakudo 28911: OUTPUT[1␤] 20:09
20:10 hercynium left
pugs_svnbot r21144 | moritz++ | [spec] added simple tests for Enums, for jonathan's next rakudo day 20:12
20:13 hercynium joined
pugs_svnbot r21145 | moritz++ | [spec] moved S12-enums to spec/, mistakenly added it to t/ first. moritz-- 20:15
20:15 rindolf left
Auzon moritz_: I think there are some enum tests already lurking about 20:15
20:17 hercynium left, icwiener left, perlbot left, barney left, elmex left, apeiron left, Coleoid left, speckbot left, avar left, rhr left, lumi left, jrockway left
moritz_ Auzon: yes, I let me inspire by them. But the test too much at once to be of any real use for jonathan, I think 20:17
actually they are quite thoroughly tested, it seems 20:18
the tests seem logically fine, but have a lot of cruft
I'm going to remove a ton of evals ands :todo<feature>s 20:19
20:19 hercynium joined, icwiener joined, perlbot joined, barney joined, elmex joined, apeiron joined, Coleoid joined, speckbot joined, avar joined, rhr joined, jrockway joined, lumi joined, [particle]1 joined 20:20 Coleoid_ joined
moritz_ from S12: $x does day; 20:21
20:21 Alias_ joined
moritz_ does that mean we have an inifx:<does>? 20:21
Auzon brb
and yes, there is a does somewhere
20:21 Auzon left
moritz_ scary ;) 20:22
rakudo: say 1.2 !~~ Int
p6eval rakudo 28916: OUTPUT[1␤]
pugs_svnbot r21146 | moritz++ | [spec] moved oo/enum.t to spec/ 20:27
20:29 iblechbot left
pugs_svnbot r21147 | moritz++ | [spec] updated t/state.t - need more review before moving it to spec/ 20:33
20:34 Coleoid left
moritz_ rakudo: say ('' eq ('' & '')) 20:34
20:34 [particle] left
p6eval rakudo 28917: OUTPUT[1␤] 20:35
moritz_ rakudo: say ('' eq ('' & 'd'))
p6eval rakudo 28917: OUTPUT[0␤]
20:36 Exodist joined 20:39 rindolf joined
rindolf Hi all. 20:39
I'm so unbeliavably pissed off atm!
Somebody should calm me down. 20:40
moritz_ rindolf: I think that's easier for somebody in RL
rindolf moritz_: maybe.
moritz_: first KDE 3 got hanged up on Cooker. Twice! 20:41
moritz_: then I tried to talk about my @perl.org banning on irc.perl.org and Robrt-- was not there.
moritz_: and now he first banned and then K-lined me.
moritz_: so far he seems like he has a missing screw. 20:42
Well, maybe I'm more calm now.
I took a few deep breathes.
pugs_svnbot r21148 | moritz++ | [spec] started to move junction tests (and upate POD). Much more work need 20:45
20:46 hercynium left 20:54 ruoso joined 21:03 hercynium joined 21:04 icwiener left
pugs_svnbot r21149 | moritz++ | [spec] fudged S03-junctions/misc.t 21:09
rindolf rindolf is doing CBT 21:15
vixey hey rindolf 21:16
21:17 hercynium left