»ö« 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:10 molaf__ joined 00:14 molaf_ left 00:34 stifynsemons left 00:38 alester joined 00:39 nymacro joined 00:43 nymacro left 00:53 justatheory joined 00:57 nymacro joined 01:07 nymacro left 01:15 Woody4286 left 01:28 nymacro joined, Woody4286 joined, dorlamm joined 01:45 masonkramer left 01:46 masonkramer joined 02:01 flatwhatson_ left, noganex joined 02:04 dorlamm left, noganex_ left 02:19 mtk left 02:28 mtk joined 02:33 stifynsemons joined 02:36 donri left 02:40 risou joined 02:41 Rotwang left 02:45 envi left 02:49 stifynsemons left 02:50 stifynsemons joined 03:13 hatseflats left 03:15 stifynsemons left 03:18 coldhead` is now known as coldhead 03:19 xinming_ is now known as xinming 03:22 JimmyZ joined 03:26 whiteknight left 03:33 stifynsemons joined 03:55 rdesfo joined 04:23 Chillance left, Su-Shee_ joined 04:27 Su-Shee left 04:29 ColloquyUser joined 04:38 nadim__ left 04:39 nadim__ joined 04:53 ColloquyUser left 04:58 _twitch joined, larsen left 05:03 larsen joined, simcop2387 left 05:04 rdesfo left, chocolaate-maan joined, chocolaate-maan left 05:05 simcop2387 joined
sorear good * #perl6 05:40
05:43 jaldhar left, jaldhar joined 05:47 alester left 05:48 alester joined 05:52 alester left 05:53 satyavvd joined 05:56 satyavvd_ joined 05:58 satyavvd left 06:05 stifynsemons left 06:07 stifynsemons joined 06:09 alester joined, alester left 06:10 stifynsemons left 06:15 Bzek left 06:16 Bzek joined 06:32 satyavvd_ left 06:35 satyavvd joined 06:40 JimmyZ left, Trashlord left, barika left 06:45 Trashlord joined 06:46 JimmyZ joined, barika joined 06:55 coldhead left
[Coke] Note that the new GC is only temporarily the default. 06:58
it will likely be reverted back for the release. 06:59
(so explicitly choosing it is not a bad thing.)
07:07 pumphaus left, risou left, risou joined, pumphaus joined 07:12 JimmyZ left 07:23 chocolaate-maan joined, chocolaate-maan left 07:35 SAABV4M joined 07:41 nymacro left 07:44 nymacro joined 07:49 f00li5h joined 08:03 justatheory left 08:25 wooden left 08:30 _twitch left
moritz_ sorear: fwiw masak also thinks that we need to steal things back from Moose 08:38
sorear: and I agree... the current object creation and initialization feels crufty
08:51 Mowah joined 08:56 woosley joined 08:57 satyavvd left 09:04 satyavvd joined 09:17 colomon_ joined, colomon left, colomon_ is now known as colomon 09:18 ggoebel joined 09:49 _dev0_ left 09:59 sunnavy left, pothos left 10:00 pothos joined, sunnavy joined 10:06 envi joined 10:08 hatseflats joined 10:10 cschimm1 joined 10:11 cschimm1_ left 10:16 sunnavy left 10:18 sunnavy joined 10:23 sji joined 10:25 Su-Shee_ is now known as Su-Shee 10:28 _twitch joined
tadzik moritz_: could someone provoke a discussion on p6l? 10:42
10:43 pmurias joined
pmurias hi 10:47
tadzik: can't you provoke the discussion? 10:48
moritz_ tadzik: about what? 10:49
tadzik well, probably. I just thought it'd be a bigger hit if started by someone from the inside
moritz_ your are from the inside
tadzik moritz_: about "we're not as usable as Moose"
not from the p6l circles
moritz_ and p6l picks up nearly every discussion :-)
tadzik ;) 10:50
oh well, I wanted to subscribe anyway
mind if I refer to you in the post? moritz_, sorear
10:55 flatwhatson_ joined
moritz_ tadzik: I don't mind at all... I just think we should have concrete things to say 10:56
where exactly Moose is more usable
for example I like the BUILDARGS things 10:57
not sure what masak-san thinks
tadzik it fiils weird that there is DESTROY: the easy way to do stuff when the object dies, but there is *no* easy way to do stuff when it comes to life
moritz_ well, there is... in theory 10:59
I don't quite understand the interaction BUILD and automatic attribute initialization
tadzik in which one?
moritz_ but I feel it should be BUILD
tadzik we can write new(), when we have to bless ourselves, or BUILD, when we have to set the parameters ourselves
moritz_ maybe a solution would be to have a BUILD to which we can redispatch to get the attribute initilization 11:00
ie you can say submethod BUILD(*%args) { nextwith |%args, b => 3 } or so 11:01
tadzik how would it look like? I don't quite get the idea
moritz_ but I don't know how redispatching interacts with submethods
11:02 Rotwang joined, cognominal_ left
tadzik so the Perl6 BUILD is actually Moose's BUILDARGS, and there is nothing like Moose's BUILD 11:03
moritz_ or maybe the solution is to present a more hash-like interface to the object at some point
no, Perl 6 .new corresponds most closely to Moose's BUILDARGS 11:04
it's what you use to change the signature of the .new call
for example to allow positional arguments to .new
tadzik mhm
righd 11:05
moritz_ hugme: add dwhipp to perl6
hugme hugs dwhipp. Welcome to the perl6 github organization
tadzik btw, how deep diving to the metamodel implementation (or somewhere lese?) is needed to fix the DESTROY in Rakudo? 11:08
moritz_ tadzik: dunno if parrot provides a method that's triggered by the GC 11:09
another thing to consider is multi inheritance
if the parents do too much logic in their .new methods, you need to call those, even though you maybe want to construct the object yourself
that just calls for trouble
11:22 orafu left 11:25 mberends left, orafu joined, mberends joined
tadzik moritz_: but filehandles are being closed somehow, yes? Or that's the Parrot thing too? 11:30
dalek tpfwiki: (Byron Voights)++ | www.perlfoundation.org/perl6/index.cgi?usmap
moritz_ tadzik: they should be. Currently they aren't 11:51
tadzik huh 11:53
pmurias moritz_: how do i run all the nieczas tests? 11:56
dalek ecza: 78147ba | pmurias++ | / (2 files):
[cl-backend] hack around xspan and disable the beta reduction pass
11:57
tadzik whoa, that was fun 12:02
nopaste.snit.ch/34387
jnthn o/, #perl6 12:03
phenny jnthn: 23 Feb 00:21Z <Tene> ask jnthn if I should expect to need to write my own repr for cardinal, or if I should be able to get by on P6opaque at first.
jnthn: 24 Feb 03:23Z <Tene> ask jnthn when he expects to have time available to talk to me about cardinal metamodel on 6model.
tadzik jnthn: \o
mberends o/ jnthn
tadzik doesn't work for parent classes, but it's an ugly hack anyway :) 12:04
jnthn phenny: Tell Tene was mostly offline the last few days. Will be about and have time a lot more this week, on evenings especially. 12:05
phenny: tell Tene was mostly offline the last few days. Will be about and have time a lot more this week, on evenings especially.
phenny jnthn: I'll pass that on when Tene is around.
jnthn phenny: tell Tene you may well be able to make do with P6opaque for a while or maybe even for good - it all hinges on how attribute access works in Ruby, which I don't know about (yet). :-) 12:07
phenny jnthn: I'll pass that on when Tene is around.
moritz_ \o 12:11
tadzik: huh, what triggers method AFTERPARTY? 12:14
tadzik moritz_: my 4-line patch to Mu.pir :>
colomon jnthn! \o/ 12:17
jnthn wonders how much happened while he was away for a few days :) 12:21
tadzik we rewrote 6model in PHP while you weren't looking 12:22
jnthn So now it's all like SixModel\REPR\PHPOpaque and stuff? :-) 12:23
tadzik no no, we needed to escape those backslashes 12:24
so that's SixModel\\\REPR\\\PHPOpaque
you know, longer code = better readability :)
jnthn Well, in that case we should do a Visual Basic port too... :P
12:25 am0c^ joined
moritz_ it's actaully SixModelBACKSLAHREPRBACKSLAHPHPOpaque, because all those \ were just line noise 12:25
tadzik yeah, symbols in code suck
jnthn moritz_: I can't wait to see the code that parses that :P
tadzik it actually does s:g/BACKSLASH/ '\' /. Because who will use BACKSLASH in strings or anything anyway? 12:26
moritz_ rakudo: say 'SixModelBACKSLAHREPRBACKSLAHPHPOpaque'.split('BACKSLASH').perl 12:27
p6eval rakudo 6cf616: OUTPUT«("SixModelBACKSLAHREPRBACKSLAHPHPOpaque")␤»
tadzik yeah, typos are hell
rakudo: say 'SixModelBACKSLASHREPRBACKSLASHPHPOpaque'.split('BACKSLASH').perl 12:28
p6eval rakudo 6cf616: OUTPUT«("SixModel", "REPR", "PHPOpaque")␤»
tadzik yeah. The newest Rakudo Weekly Challenges will be „find 10 differences between this two lines of code” :) 12:29
12:30 pmurias left
moritz_ jnthn: yesterday night we discussed stealing python string format language for Perl 6 12:30
jnthn: it's like printf, but also with support for named arguments
tadzik note that this time it's not a joke
moritz_ %(name)s 12:31
gist.github.com/845617 12:32
jnthn: oh, and I applied for a Hague grant: news.perlfoundation.org/2011/02/hag...truct.html please leave your comment 12:33
jnthn moritz_: I don't dislike that idea, though I'm not sure what it buys over interpolation.
12:38 am0c^ left
moritz_ jnthn: I want error objects to contain a format string and additional environment data 12:44
accessible in a hash-like fashion
so the error format strings should be able to use that information, and identify it by name 12:45
if I'd use interpolation, every error object would need to be a closure
jnthn moritz_: ah, I see... 12:46
moritz_ I mean we could stuff that functionality into the error class too 12:48
but then people might construct error objects just to get the formatting facility :-) 12:49
tadzik: could you please check the recent patches to RT, if they are the same as you applied from the pull requests? 12:53
12:55 MayDaniel joined, MayDaniel left, MayDaniel joined
tadzik moritz_: how do I find them? 12:57
moritz_ tadzik: rt.perl.org/rt3/
the first three tickets in perl6 queue
tadzik 52242 53804 and 54804 are the first three ones for me 12:58
oh, I see some unowned tickets
moritz_ RT #84948, RT #84950 and RT #84966 12:59
tadzik well, two of the pull requests were merged by you, I mangled them a bit after that
moritz_ huh? I didn't touch any of the IO related pull requests 13:00
ah, masak it was
tadzik oh, maybe masak
the one about smartmatching is still on github I think 13:01
tadzik feels like we should be able to go down to 500 open tickets for the next release
dalek ast: e49ad1b | moritz++ | integration/advent2010-day (2 files):
[advent] more consistent naming
13:02
jnthn moritz_: Commented on the grant. 13:03
moritz_ jnthn: thanks
tadzik rt.perl.org/rt3/Ticket/Display.html?id=65404 -- isn't that closable? 13:07
rakudo: package A::B {}; say A::B.perl;
p6eval rakudo 6cf616: OUTPUT«Method 'perl' not found for non-object␤ in main program body at line 22:/tmp/ulV5z2cH7k␤» 13:08
tadzik rt.perl.org/rt3/Ticket/Display.html?id=63760 -- needs a test, LHF 13:11
13:13 mtk left
moritz_ assigns the testneeded tag 13:15
13:21 whiteknight joined 13:22 mtk joined 13:30 satyavvd left 13:40 tangj joined 13:41 tangj left, donri joined 13:45 masonkramer left 13:50 JimmyZ joined
JimmyZ I don't think RT #63760 has fixed. rakudo give the wrong message which doesn't follow std. 13:54
13:58 baest joined 13:59 baest_ left 14:05 colomon left 14:06 MayDaniel_ joined, kaare_ joined 14:08 MayDaniel left 14:29 woosley left 14:38 rdesfo joined
sorear good * #perl6 15:17
moritz_ \o 15:18
15:19 nymacro left 15:20 am0c joined
mberends o/ sorear 15:20
JimmyZ sigh, Test.pm is broken on windows :( 15:21
dalek ast: 57bc8e4 | jimmy++ | S03-operators/identity.t:
adde tests for RT #84594
15:22
15:22 redmorning joined
moritz_ JimmyZ: in what way? 15:22
JimmyZ rindex is NYI :(
===SORRY!=== 15:23
Unicode rindex not implemented
moritz_ while compiling Test.pm? or using it? 15:24
JimmyZ using it
./perl6 roast/S*/*.t 15:25
sigh, site.icu-project.org is blocked by GFW :(
flussence hmm, that reminds me I wanted to figure out why those 3 tests fail for me... 15:34
(t/spec/S05-mass/properties-derived.rakudo:363-365) 15:35
.u 0855 15:36
phenny U+0855 (No name found)
15:37 rdesfo left
flussence (sigh... whoever decided gucharmap should sort unicode blocks by name instead of starting codepoint needs the cluebat treatment) 15:37
moritz_ flussence: fyi it has the 'All' pseudo block where you can scroll through all of the codepionts 15:38
but I agree that it should have an option to change the ordering
flussence yeah, but scrolling to 0x855 when it lists up to 0x1fffff is pretty awkward :)
(that character is listed as unassigned, those tests should pass, right?) 15:39
well obviously, they should pass, but I don't see why it's broken.
moritz_ uhm, what does the test do?
flussence tests that it isn't isAlphabetic 15:40
moritz_ hmm
flussence hold on, how is isAlphabetic defined? 15:41
is that using stuff in ICU?
moritz_ probably
flussence en.wikipedia.org/wiki/Mandaic_alphabet 15:42
it's defined in Unicode 6.0
maybe my icu library's too new? :)
moritz_ IWBN if the test used something that is defined the same way in all Unicode versions 15:43
flussence could use one of the special never-going-to-be-defined codepoints... 15:44
moritz_ +1
sorear tadzik: imo p6l is a bad idea for most stuff. too much bikeshedding happens there. 15:45
flussence trying to figure out which version of Unicode ICU 4.6 supports. The docs are annoyingly vague... 15:46
15:46 stifynsemons joined
moritz_ maybe we should ask the admins to unsubscribe everybody from p6l 15:46
flussence oh, it does support 6.0 after all
moritz_ and then see who cares and re-subscribes :-)
(silently unsubscribe, of course :-) 15:47
sorear I'm just going to release ~now, it's Monday in SYD 15:49
moritz_ \o/ 15:50
15:53 JimmyZ left
tadzik sorear: bikeshedding? 16:00
moritz_ tadzik: endlessly arguing about small details (like the color of your bike shed) instead of tackling the actually important questions 16:03
tadzik I see. So what's the way then? 16:04
moritz_ discuss it here in the channel, and when you have something that's an improvement, push it to perl6/specs 16:05
tadzik heh. So, who has any BUILD ideas? :)
flussence everyone ok if I s/0855/297C/ to fix that test? (replacing it with random punctuation) 16:08
moritz_ flussence: forgiveness > permission
flussence good point :)
16:16 Patterner left 16:18 Psyche^ joined, Psyche^ is now known as Patterner
dalek ast: ff3b9f6 | (Anthony Parsons)++ | S05-mass/properties-derived.t:
Fix 3 tests which fail with icu-4.6

This originally tested that an undefined codepoint matched <!isAlphabetic>, but as of Unicode 6.0 it's defined *and* part of an alphabet. Replaced it with a defined punctuation codepoint.
16:20
16:24 am0c left
moritz_ flussence++ 16:28
16:33 masonkramer joined 16:34 rindolf joined
rindolf Hi all. 16:34
flussence whee, waterbed effect! 16:36
t/spec/S03-operators/identity.rakudo Parse errors: Bad plan. You planned 45 tests but ran 43.
tadzik hi rindolf 16:37
rindolf Hi tadzik 16:38
tadzik: what's up?
tadzik rindolf: just chillin out, notmuch. Did some toying around with new module manager solutions 16:39
rindolf tadzik: ah. 16:40
tadzik thought a bit, hacked a bit, thought a bit, hacked a bit, and eventually ended up with almost exactly what masak has come to with his pls :)
rindolf tadzik: for Perl 6?
tadzik rindolf: aye
rindolf tadzik: OK.
tadzik neutro didn't scale pretty well. Was nice as a quick, temporary solution, the lack of testability and imperative design became painful over time 16:42
jnthn tadzik: One week until hackathon! \o/ 16:52
16:54 whiteknight left 17:08 pmurias joined
pmurias sorear: hi 17:09
what does xspan do?
sorear where's dalek :/
pmurias: like the old span + ehspan
17:10 kanishka joined 17:13 justatheory joined 17:17 kanishka left
dalek ecza: 2df976d | sorear++ | / (2 files):
Update bootstrap for v3
17:18
ecza: 2b8bb64 | sorear++ | / (2 files):
Merge branch 'master' of github.com:sorear/niecza
sorear oh, git push --tags means *only* tags 17:19
fixed.
dalek p/lexical-setting: 8dfba49 | jonathan++ | / (5 files):
Move some files around, in anticipation of splitting out what's setting and what's meta-model.
17:21
p/lexical-setting: c8671ad | jonathan++ | / (7 files):
Toss the previous setting directory, having moved parts of it to the core direcotry. Update some our-scoped things to leixcally scoped things. Update build process a little, in preparation for really having this as a lexically outer setting.
p/lexical-setting: b62d7bc | jonathan++ | .gitignore:
Update .gitignore.
p/lexical-setting: d36ca9c | jonathan++ | / (2 files):
Stub in a --setting= command line argument.
p/lexical-setting: 93dc13f | jonathan++ | / (3 files):
Re-work the build and bootstrap process to fit the new role of the setting. Since it'll be the outer lexical scope of programs, it needs to be built like the rest of the various bootstrapped bits, not just sa if it's a module.
p/lexical-setting: 5be7a2c | jonathan++ | .gitignore:
Update .gitignore.
sorear announcement sent. 17:22
now I guess I should update nam.pod for pmurias
mberends makes the latest niecza :-) 17:27
ugh, mono 2.6.7 (default in Ubuntu 2011.04 prerelease) is not good enough for niecza :-( 17:34
17:36 _twitch left
sorear I'd love to test it better, but the Mono project has made 2.6.7 impossible to install 17:36
What problems are you having? 17:37
mberends I'll paste the first 2 error lines:
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v1.1.4322 17:38
and then:
Unhandled Exception: System.TypeLoadException: Could not load type 'Niecza.CLRBackend.CLRBackend' from assembly 'CLRBackend, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
sorear: don't worry about it, I'll just move to another computer in a few hours. 17:40
sorear bad gmcs 2.11, no cookie
runtime version from executable, "v4.0.30319" 17:41
mberends yeah
sorear wonders if this is sanely fixable
dalek ecza: edbde81 | sorear++ | docs/nam.pod:
Update nam docs for recent changes
17:45
mberends sorear: the only reason to bother with older toolchains is if you want to lower the barrier to entry for niecza newbies. Time will catch up the backlog anyway, probably in 6 months with Ubuntu. It may not be worth holding back your own work for that. 17:47
17:49 risou left 17:53 Oby420 joined
Oby420 perl6: say "helo"; 17:53
p6eval pugs, rakudo 6cf616, niecza v3-2-g2b8bb64: OUTPUT«helo␤» 17:54
Oby420 rakudo: say "helo"; 17:55
p6eval rakudo 6cf616: OUTPUT«helo␤»
sorear mberends: 2.6.7 is still considered the "latest stable release" in mono-land
mberends: it's like Parrot - every 3 major releases, a stable one
donri perl6: say 1 == 2|1
Oby420 std: say "helo";
p6eval pugs: OUTPUT«any(VBool False,VBool True)␤» 17:56
..rakudo 6cf616: OUTPUT«any(Bool::False, Bool::True)␤»
..niecza v3-2-g2b8bb64: OUTPUT«Unhandled exception: Junctions NYI␤ at /home/p6eval/niecza/lib/SAFE.setting line 389 (SAFE die @ 2)␤ at /home/p6eval/niecza/lib/SAFE.setting line 1163 (SAFE infix:<|> @ 2)␤ at /tmp/S4Fe68ifrA line 1 (MAIN mainline @ 1)␤ at /home/p6eval/niecza/lib/SAFE.setting line
..1183 (SAFE C4…
std 4608239: OUTPUT«ok 00:01 119m␤»
mberends sorear: then how is 2.6.7 impossible to install for you?
sorear mberends: you need to get a special bootstrapping binary to compile monos, and the current (2.10) bootstrap binary won't compile 2.6 17:57
mberends naughty mono-project, no cookie! 17:58
sorear I suspect I'll need to set up a VM and install an oldish binary linux distro
mberends sorear: I may be able to host a system for you if you can get by with ssh access. 17:59
sorear wait, wait
I just noticed - I have 2.6.7 in my package manager
I'm not sure whether to debian++ or debian--
mberends heh 18:00
sorear I mean, this is debian "unstable" but they're two major versions behind on a major package
donri what os do you use
moritz_ sorear: you can always say debian+- :-) 18:01
mberends Oby420: sorry about the evalbot breakage, it normally works much better. Please don't give up, try again later :)
Oby420 thanks
flussence gentoo's got 2.6.7... I wonder if that still works
donri sorear: mono-project.com/DistroPackages/Debian 18:02
ubuntu+1 still on 2.6.7 heh 18:04
Oby420 raduko: say "ss\nss" 18:05
18:07 Oby420 left 18:08 Chillance joined
sorear mberends: evalbot broke? 18:08
mberends yes, and I'm not able/clueful to fix it :( 18:09
sorear What evidence do you have that it's broken?
mberends rakudo: say "OH HAI"; 18:10
p6eval rakudo 6cf616: OUTPUT«OH HAI␤»
mberends <- clueless anyway
it just looked like Oby420 was not getting much success 18:11
donri he spelled it "raduko"
mberends d'oh! 18:12
sorear except the first three times ey got a reply
before: 1997 line diff -e output for STD.pm6
niecza: my $foo = "a2c"; if $foo ~~ s/\d// { say $/; say $foo; } 18:15
p6eval niecza v3-2-g2b8bb64: OUTPUT«2␤ac␤»
donri niəcza: say nothing! 18:25
sorear Your e is upside down.
donri ohnoes 18:26
tadzik jnthn: aye :) 18:29
jnthn: oh, what do you think about the BUILD discussion, did you follow up? 18:30
oh wow, is jnthn splitting the compilation process? 18:31
18:32 rindolf left
tadzik how do I fetch a remote branch? git fetch origin lexical-setting gives me fatal: Couldn't find remote ref lexical-setting 18:33
moritz_ git fetch origin 18:34
that gets you all the branches
jnthn tadzik: I'm giving NQP support for a proper lexically outer setting.
tadzik: It turned out that doing so makes life easier in various ways for other bits I want to do. 18:35
tadzik moritz_: turns out it did nothing :/
nopaste.snit.ch/34411 18:36
moritz_ tadzik: it's a branch in nqp, not rakudo 18:37
tadzik oh, my bad
18:38 Grimnir_ left
tadzik yeah, now git fetch origin works fine :) 18:38
jnthn: nqp fails tests, correct? 18:43
jnthn tadzik: At least one. 18:45
tadzik how about two? :)
jnthn Only if you don't have ICU. 18:46
I think otherwise only 1 should fail. 18:47
moritz_ one test file with 4 subtests 18:48
tadzik let me install some nopaste app 18:49
jnthn moritz_: aye 18:50
moritz_: That's what I see too.
tadzik gist.github.com/846417
jnthn aye, that matches what I see. Just failures in t/hll/02-modules.t. 18:51
tadzik hmm, is there a way to generate a lazy hash? 18:53
aw, nevermind, this won't help 18:54
there'd have to be a lazy JSON parser :)
sorear niecza: constant %foo = (:a, :b); say +[ %foo ] 18:59
p6eval niecza v3-3-gedbde81: OUTPUT«1␤»
sorear niecza: my %foo = (:a, :b); say +[ %foo ]
p6eval niecza v3-3-gedbde81: OUTPUT«2␤»
gfldex tadzik: a lazy json parser could make sense 19:00
19:01 Grimnir_ joined
tadzik these is no RT for the lack of DESTROY? 19:03
jnthn: is there a way to create a mock with TEst::Mock with some parameters to the constructor? 19:07
19:11 Grimnir_ left
dalek ecza: b5b00c1 | sorear++ | src/STD.pm6:
Use $/ and s/// in our STD
19:15
ecza: 1d6cac8 | sorear++ | / (3 files):
use endsym<> in STD, fix constant hash flattening
19:15 Grimnir_ joined
sorear niecza: given 2 { when 0 { say "A" }; default { say "B" }; say "C" } 19:16
p6eval niecza v3-3-gedbde81: OUTPUT«===SORRY!===␤␤Action method statement_control:default not yet implemented at /tmp/i5X69V9ihx line 1:␤------> when 0 { say "A" }; default { say "B" }⏏; say "C" }␤␤Unhandled exception: Unable to resolve method statement_level in class
..Str␤ at /h…
sorear oops
jnthn tadzik: Don't think I did anything special for construction just yet. 19:18
tadzik: So I suspect not. Probably an easy enough addition. 19:19
tadzik jnthn: that'd be nice. Now there's no way to test an object which expects something through the constructor
...assuming constructor is .new :)
jnthn tadzik: *nod*
tadzik is it possible for mocked to receive the existing object?
sorear Has anyone else received the niecza v3 announcement? 19:21
s/else //
tadzik nah
sorear I still haven't gotten remote echo
although p6eval is running v3-* :)
jnthn sorear: I didn't see it show up on the perl6-compiler mailing list. 19:24
tadzik: No, but I don't think that makes sense.
tadzik: I'll add a way to do constructor args.
tadzik ++jnthn 19:25
moritz_ sorear: no annoucement got 19:27
19:28 dual left
masonkramer rakudo: (1,2,3,4) «+» (1,2) 19:34
p6eval rakudo 6cf616: ( no output )
masonkramer rakudo: say (1,2,3,4) «+» (1,2)
p6eval rakudo 6cf616: OUTPUT«2446␤»
tadzik multi sub skip($count, $reason) is export 19:35
multi sub todo($reason, $count) is export
LTA! 19:36
can I fix this, or should we warn the users first somehow?
19:38 molaf__ left
moritz_ pleaes fix it, and also fix fudge 19:41
in roast
19:43 colomon joined
dalek ecza: fb731aa | sorear++ | src/STD.pm6:
Use given/when in our STD
19:44
sorear down to 1665 lines of edits 19:45
tadzik moritz_: fix fudge? 19:49
oh, I see
19:49 dual joined
tadzik is resembling Test::More preferred? 19:51
personally, I find ($count, $reason) more natural
like with is() and ok() we have $test, $description
moritz_ I had a preference for the order of arguments once, but I forgot it :-) 19:53
irclog.perlgeek.de/perl6/2010-11-30#i_3042879 19:54
tadzik moritz_: they implicitly conform to the ones from Test::{More}, you've saint. Roger that 19:57
s/saint/said/ 19:58
moritz_: wklej.org/id/483929/ -- is that how fudge should look? 20:01
dalek kudo: 3bbc066 | tadzik++ | Test.pm:
Fix the order of params to skip() in Test.pm, conforming to Perl 5's Test::More
20:03
moritz_ tadzik: looks fine 20:04
now we need to adapt niecza too
tadzik true
moritz_ hope we don't break niecza directly after the release :( 20:05
20:05 coldhead joined
tadzik :> 20:05
well, that'd be LTA
dalek ast: ca5c864 | tadzik++ | fudge:
Fix fudge according to the changes in Rakudo 3bbc066
20:08
20:09 Trashlord left, colomon left 20:11 Trashlord joined 20:12 y3llow_ joined, pothos_ joined
sorear moritz_: niecza doesn't even have a todo sub 20:12
todo is todo ;)
20:13 pothos left, kensanata joined, pothos_ is now known as pothos 20:14 y3llow left, y3llow_ is now known as y3llow 20:17 colomon joined 20:22 envi left, awoodland joined 20:37 masonkramer left, masonkramer joined 20:40 masonkramer left, shortcircuit left
dalek ecza: f5bbe1d | sorear++ | src/ (2 files):
Merge back ?-fix in STD
20:40
ecza: c04f67f | sorear++ | src/STD.pm6:
Replace EXPR with something much closer to the STD one
20:40 masonkramer joined 20:43 shortcircuit joined
dalek p/lexical-setting: 17d2709 | jonathan++ | / (3 files):
Parsing/compilation of {YOU_ARE_HERE} and inclusion of it at end of setting.
21:06
p/lexical-setting: 5a4019f | jonathan++ | build/Makefile.in:
Fix make bootstrap-files for setting.
p/lexical-setting: fd70004 | jonathan++ | src/stage0/ (4 files):
Update bootstrap to include some of the bits needed for setting support.
p/lexical-setting: 0c6b294 | jonathan++ | build/Makefile.in:
Can use --setting=NULL for compiling setting in stage 1 now.
sorear jnthn: can nqp compile settings nested in settings nested in settings now? 21:16
jnthn sorear: It can't really do anything with settings just yet...not quite there.
sorear: In theory though...I think that may "just work".
OTOH, I'm pretty sure it doesn't "just work" yet in nqpclr. 21:17
But that's more stuff just being hardcoded than any known "real problem".
21:22 masonkramer_ joined 21:24 masonkramer_ left 21:32 Mowah left
sorear starts working to bring certain niecza-changes back into STD 21:41
in particular, several flattiness bug fixes (viv doesn't distinguish %hash from |%hash but they are worlds apart in real Perl 6), and $<foo>={1} instead of {$<foo>=1} 21:42
phenny: tell TimToady What is the purpose of STD line 431? { $.from = self.pos } 21:43
phenny sorear: I'll pass that on when TimToady is around. 21:44
21:47 mtk left 21:54 whiteknight joined 21:55 mtk joined 22:02 gfldex_ joined 22:05 gfldex left, cotto left, MayDaniel_ left, cotto joined
lue hello world! o/ 22:08
sorear hello lue 22:10
tadzik hello lue 22:11
dalek p/lexical-setting: b9e1141 | jonathan++ | src/NQP/ (2 files):
Few fixes to the {YOU_ARE_HERE} compilation.
22:12 masonkramer_ joined
tadzik heh. My new projects has tests for modules running tests. make test on my project runs make test on some test projects. Yo dawg, I herd you like prove... 22:13
the output is at least confusing 22:14
moritz_ tests within tests within tests... how deep are you going? :-)
22:15 mtk left
tadzik **We need to go deeper** 22:15
22:19 masonkramer_ left
tadzik bleh, prove doesn't like to be recursive 22:19
22:22 gfldex_ is now known as gfldex
donri I have a testing framework that tests itself with itself 22:22
22:33 alester joined 22:52 Rotwang left 22:54 Khisanth left 22:57 kaare_ left 23:00 rgrau joined
dalek p/lexical-setting: b158fac | jonathan++ | src/stage0/ (4 files):
Update bootstrap with compilation fixes.
23:04
p/lexical-setting: cafdaf5 | jonathan++ | build/gen_setting.pl:
Work around a weird parsing fail - something that shoulda been treated as a block got parsed as a postcircumfix.
p/lexical-setting: 3a5e136 | jonathan++ | build/Makefile.in:
Need to fix up various things before we can put Mu and the native types into the lexical setting, so don't do that just yet.
p/lexical-setting: 1aa0ec3 | jonathan++ | src/NQP/ (2 files):
First cut of loading NQPCORE.setting by default, overridable at the command line with --setting=NULL or --setting=OTHER. Seems to work, including how it intersects with interactive mode (uses the same outer-setting mechanism...yay). Big missing piece: setting loading not handled in pre-compiled code yet.
23:05 sji left
jnthn Well, some more baby steps in the right direction. 23:06
jnthn rests
sorear jnthn: I did general settings already, if you have questions... 23:13
23:19 cognominal joined 23:20 kensanata left 23:26 Khisanth joined 23:29 jjjjj joined
Tene jnthn: any chance you looked at the 6model cardinal stuff I pasted last time we spoke? 23:29
phenny Tene: 12:05Z <jnthn> tell Tene was mostly offline the last few days. Will be about and have time a lot more this week, on evenings especially.
Tene: 12:07Z <jnthn> tell Tene you may well be able to make do with P6opaque for a while or maybe even for good - it all hinges on how attribute access works in Ruby, which I don't know about (yet). :-)
Tene phenny: thanks
23:34 jjjjj left 23:42 Khisanth left 23:45 jaldhar left, jaldhar joined 23:46 arlinius left 23:50 masonkramer_ joined 23:51 masonkramer_ left 23:52 stifynsemons left 23:53 rgrau left 23:57 pmurias left
tadzik will there be anything Rakudo-y on GSoC? 23:58
donri Tene, jnthn: AFAIK Ruby don't have attributes at all, they're 0-arity methods 23:59