»ö« 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.
TimToady I suspect the proper way to think about it is that .perl returns the representation of a (pre-contextualized) capture, which means it does need to represent the do/don't-interpolate-me flag somehow. 01:10
TimToady we might possibly allow @[2,3,4] as a representation of "I'm an array interpolate me", but that doesn't help with interpolating non-arrays 01:12
maybe some other notation is in order, related to () vs \() 01:13
but that would be confusing if ([]) forced interpolation 01:14
so probably something with @ 01:15
std: @[]
p6eval std a71faea: OUTPUT«===SORRY!===␤Non-declarative sigil is missing its name at /tmp/uky9DxEM1p line 1:␤------> <BOL>⏏@[]␤Use of uninitialized value $first in string eq at STD.pm line 65062.␤Use of uninitialized value $sigil in string eq at STD.pm line 65067.␤Use
..of …
TimToady that's available
std: @{}
p6eval std a71faea: OUTPUT«===SORRY!===␤Unsupported use of @{}; in Perl 6 please use @() at /tmp/PFfs_8LK2I line 1:␤------> @{}⏏<EOL>␤Parse failed␤FAILED 00:01 112m␤»
TimToady that's sorta not
maybe @[] can optimize @([]), and the rest just stick with @(stuff) 01:19
TimToady but I agree that we need an exacter representation of what Perl thinks it has, including the fiddly bits 01:22
starcoder waves at alyxx 01:30
cooper waves at starcoder and alyxx
starcoder lol
alyxx lolhai cooper 01:33
sorear hello starcoder, alyxx, cooper. New here? 03:50
alyxx yuppers
sorear welcome!
alyxx thank you! :)
starcoder sorear: not me 03:51
been here for quite a while :P
mostly idling though
sorear starcoder: heh. did you recruit alyx? :) 04:08
starcoder sorear: yes and no 04:21
lol
cooper hello sorear and thanks for the welcome 04:23
masak hi zebry 06:55
jnthn :P 06:56
phenny jnthn: 14 May 20:12Z <plobsing_> tell jnthn I have updated the zavolaj patch: nopaste.snit.ch/45500. it still doesn't like something about the references.
sorear hi masak ! 06:57
masak is about to get up on stage and give the "Athlete Programming" talk 06:59
sorear does that have anything to do with pmichaud and my habits of designing compilers on walks? 07:00
jnthn sorear: heh, 6model was designed in the city park where I live also :) 07:01
Seems most hard problems are solved afk ;)
masak masak.org/carl/yapc-russia-2011-ath...g/talk.pdf # talk slides 07:07
jnthn oh noes, he spoiled the surprise! 07:08
:P
dalek kudo/nom: e4cf922 | jnthn++ | src/Perl6/SymbolTable.pm:
Start to fill out parameter and signature object building.
07:09
jnthn ooh, masak's talk time \o/ 07:23
mberends I enjoy the slides in masak.org/carl/yapc-russia-2011-ath...g/talk.pdf ! You lucky conference attendees, you get the soundtrack as well ! ;) 08:00
sorear hey AlexKotov 08:14
AlexKotov I'm here, on YAPC::Russia )) 08:17
jnthn mberends: It was a nice talk. :)
AlexKotov Carl Masak just finished his talk, it was almost perfect, yes 08:18
sorear Is it acceptable for a Perl 6 implementation to reuse call frame objects?
moritz what does that mean for the user? 08:19
sorear sorry, CallFrame objects
moritz what does that mean for the user?
sorear e.g. for ^2 { push @arr, callframe }; say @arr[0] === @arr[1]
masak AlexKotov: thanks :) 08:19
mberends ++masak
moritz sorear: not sure, the .my should be different, no? 08:20
masak I had a few hiccups. I got a bit stuck in explaining exact set cover, and the Thompson engine. I forgot the name of Joel Spolsky.
could've been improved with a bit of rehearsing, I think :)
sorear moritz: maybe the .my is also reused 08:21
AlexKotov now Anatoly Sharifulin starts his talk about mojolicio.us/
sorear I'll leave you to think about this - *out*
masak alyx: hi; welcome to #perl6. :) 08:25
alyx hiya masak 08:26
AlexKotov www.picamatic.com/view/7559376_P105...halfsized/ 08:27
On pic from left to right: masak, jnthn, Anatoly Sharifulin 08:28
masak AlexKotov: we look very busy with out laptops :)
our*
tadzik hello zebras 08:29
mberends hello stripey one
moritz \o\
tadzik /o/
masak tadzik: hi. Александр Загацкий (zag) will give a talk on his CPAN module search.cpan.org/~zag/Perl6-Pod-0.29...rl6/Pod.pm this afternoon. do you want me to ask him something? 08:30
tadzik looks forward to reading the masak's slides
masak: I'll think about it, thanks
masak looking forward to that talk. 08:31
event.perlrussia.org/mayperl4/talk/116 # talk description 08:32
tadzik bbi20 08:33
dalek kudo/nom: 67b2264 | jnthn++ | src/CORE.setting/traits.pm:
Simply proto - don't need {*} but just *.
08:38
kudo/nom: 2d6d0c6 | jnthn++ | src/Perl6/Grammar.pm:
Parse onlystar.
AlexKotov jnthn detected on photo in blog article 08:53
livehh.ru/mishinna/entry/yapc-russi...l-khakaton
AlexKotov (2nd photo, he is 4th from the left) 08:53
masak AlexKotov: you have a jnthn detector? :) 08:56
does it react to high concentrations of puns?
AlexKotov I'm just looking, what's on about YAPC::Russia over internet
masak oh! AlexKotov++
jnthn masak: :P 08:58
tadzik I'm a-back 09:01
masak tadzik: you're 8 minutes late :P 09:02
tadzik masak: one of the questions I thought about: After implementing the part you implemented, and still having some specs before you, is there anything in Pod6 you consider overengineered and you'd prefer to rip it off the specs and never use it again? 09:03
masak: traffic jams :)
masak tadzik: ok, so "if you had to pick something to jettison from S26, what would it be?" 09:03
tadzik yeah, feel free to refactor the question as long as it still passes the tests :) 09:04
masak :D
tadzik or other way: if you were (re)designing Pod6 during implementing Pod6 parser, how would it differ now? 09:05
masak right.
"what, IYHO, did we get wrong?"
mberends I would build in partial Pod5 compatibility by making =pod an alias for =begin pod, and =cut an alias for =end pod. 09:06
masak mberends: what would we gain from being compatible with Pod5 in that way? it's not like we're syntactically compatible in the rest of Perl 6. 09:07
mberends many existing pod5 tools would be able to grok our pod, while we don't have enough pod6 tools.
for example, github 09:08
tadzik github can't read our Pod anyway
masak right. it would just make Pod parsers the world over sad.
tadzik although it tries hard: github.com/tadzik/gsocmess/blob/ma...tation.pod
mberends we *could* write pod[56] that github could grok 09:09
and we should
masak that's tantamount to just using Pod5.
mberends temporarily, only until the world is "pod6 ready"
masak I do see the benefit of having a nicely rendered CPAN module page. 09:11
if I could get that and still have my programs compile, all the better.
it's just that temporary solutions such as making '=pod' and '=cut' legal syntax tend to stick around and then become part of the unremovable back-compat legacy. 09:12
masak "We can't remove '=pod' and '=cut' support! Think of all the modules in the Dark6Pan using this feature!" 09:13
mberends I think that is a strawman objection 09:14
masak well, would the feature be put in with a sunset clause?
if not, I contend that the above will happen.
mberends a deprecation cycle in Perl 6.1 might take care of it 09:15
moritz making a new language with to-be-deprecated behavior built in seems kinda wrong 09:16
masak it's a tradeoff, for sure. 09:17
the payoff would have to be very clear in this case for me to want to do something like this.
mberends I have forgotten what was so wrong with retaining the words =pod and =cut in the first place. Is it that they *don't* break anything and we want breakage?
masak good question. 09:18
tadzik masak: any particular soundtrack I should put on the speakers while reading your slides 09:20
?
masak tadzik: Grieg's "Morgenstimmung"
(it's part of "Peer Gynt")
tadzik aye 09:21
jnthn oh, I hate that guy...always resetting my connection.
masak jnthn: that's because you keep trying to log on in the Hall of the Mountain King. he doesn't like that.
tadzik (: 09:22
tadzik I can almost hear the laughs in the slide #113 09:24
tadzik masak++ # nice slides, shame I couldn't see the presentation 09:32
AlexKotov YAPC live: masak is watching jnthn talk about rakudo 10:31
www.picamatic.com/view/7559513_P105...halfsized/
uKibab dl.kibab.com/john2.jpg 10:32
:-)
jnthn Talk slides available at jnthn.net/articles.shtml 11:02
masak \o/ 11:03
jnthn++
jnthn I look forward to giving the "I've done all of this!" version of the talk ;) 11:04
moritz looks forward to giving the "exploiting all the nice features that jnthn++ implemented" talk :-) 11:08
dalek kudo/nom: 8b9892d | jnthn++ | src/Perl6/SymbolTable.pm:
Start to fill out code object setup.
kudo/nom: 6dd9027 | jnthn++ | src/CORE.setting/traits.pm:
Just use a single dispatch for our first trait handler for now - easier to get to a point where something works.
jnthn moritz: :) 11:10
.oO( masak looks forward to giving the "ways I broke all the nice features that jnthn++ implemented" talk )
masak :D 11:12
oh, we don't have any bot that bites self-karma-incrementers? 11:13
jnthn That...was not my aim :P
masak ...right... :P
"it was in a thought bubble!" 11:14
moritz in #perlde self-incrementing karma actually decreases your karma
jnthn Exactly. I didn't actually increment my karma. I just thought about it.
masak karma masak
aloha masak has karma of 344.
masak masak++
karma masak
aloha masak has karma of 344.
masak oh, good.
jnthn nice try :P
masak purely in the interests of science :P
jnthn karma jnthn
aloha jnthn has karma of 502.
jnthn karma jonathan 11:15
aloha jonathan has karma of 1064.
masak !
jnthn darn, my longer name is winning :P
masak I... I'm not sure I've seen 4-digit karma before.
jnthn I did some commits :P
masak .oO( this jonathan++ guy is awesome )
jnthn :P 11:15
masak hm. woosley logged in, saw jnthn's tongue, and logged out. some people are too sensitive... :) 11:16
AlexKotov karma uKibab 11:17
aloha uKibab has karma of 0.
masak karma 0 fo amrak sah 11:18
aloha 0 fo amrak sah has karma of 0.
masak :) 11:19
cognominal jnthn++
mberends wow. jnthn++ jnthn.net/papers/2011-yapc-russia-compiler.pdf 11:40
masak now the Perl 6 Pod talk is beginning. 11:56
tadzik nice
jnthn watches, wishes he wasn't awful at Russian and could follow it more :)
masak too 11:57
zag++ (the speaker) has made Rakudo available on FreeBSD.
jnthn aye \o/
masak he's also translating the "Using Perl 6" book to Russian.
jnthn: wow, is that an actual book containing the spec in Russian? 11:59
jnthn masak: I wondered that, but then I wondered if it's actually 26 from the camel 12:00
masak oh!
yeah, that fits better :)
that's why it was just "26" and not "S26".
jnthn :P 12:02
masak mberends: realization: =cut doesn't really fit into the whole thinking about the four types of Pod things. they're all either self-delimiting, or ended with a corresponding =end 12:03
mberends masak: sure. we don't want =pod or =cut in an ideal future world. I just want them now, and for the next 2 years or so (+/- 2 years) 12:07
masak mberends: maybe a Pod slang might help here. then it'd be predeclared (and possibly requiring a module), and this easier to isolate and deprecate. 12:12
thus*
mberends masak: that may be a useful solution, if it can be implemented easily. 12:13
the reason I want pod5 backward compatibility now is to encourage and enable Perl 6 programmers to write their Perl 6 documentation in (a subset of) Pod6 today.
masak nod. I want that too. 12:14
mberends use MONKEY_POD; # eek! 12:17
masak +1 12:18
tadzik :D
mberends use ZEBRA_POD;
tadzik =cut :is-actually(end pod)
jnthn lol :) 12:19
jnthn imagines a pod full of monekys
tadzik imagines something like 'panda docs'
imgur.com/xFSQF if you don't remember 12:20
masak :)
std: DOC INIT { say "OH HAI" } 12:22
p6eval std a71faea: OUTPUT«===SORRY!===␤Undeclared name:␤ 'DOC' used at line 1␤Check failed␤FAILED 00:01 114m␤»
masak it's in S26...
jnthn std: DOC use Foo::Bar;
p6eval std a71faea: OUTPUT«===SORRY!===␤Undeclared names:␤ 'DOC' used at line 1␤ 'Foo::Bar' used at line 1␤Undeclared routine:␤ 'use' used at line 1␤Check failed␤FAILED 00:01 112m␤»
AlexKotov std: say "test" 12:23
p6eval std a71faea: OUTPUT«ok 00:01 113m␤»
masak std: say "only the chunkiest bacon you've ever eaten!"
p6eval std a71faea: OUTPUT«ok 00:01 113m␤»
jnthn why did you do that? :P
AlexKotov std: say 1+2 12:24
p6eval std a71faea: OUTPUT«ok 00:01 114m␤»
masak jnthn: I... I don't know. :)
jnthn :P
masak jnthn: I seem to have poor impulse control lately :)
AlexKotov How to make IRC print output ?
masak rakudo: say "OH HAI"
p6eval rakudo be887a: OUTPUT«OH HAI␤»
tadzik std is not a compiler
masak AlexKotov: std is just a parser.
tadzik well, besides very simple code of course...
moritz rakudo: say [*] 1..6
p6eval rakudo be887a: OUTPUT«720␤»
AlexKotov Aaaahh! Got it :)
moritz tadzik: like, itself? :-) 12:25
AlexKotov rakudo: say "hello"
p6eval rakudo be887a: OUTPUT«hello␤»
tadzik std: say "ok 00:01 {120.rand.Int}m"
p6eval std a71faea: OUTPUT«ok 00:01 113m␤»
masak rakudo: sub postfix:<!>($n) { [*] 1..$n }; say 5!
p6eval rakudo be887a: OUTPUT«120␤»
uKibab rakudo: die
p6eval rakudo be887a: OUTPUT«Died␤␤ in main program body at line 22:/tmp/S6zDb_BmsW␤»
masak tadzik: your GSoC proj is in the talk! \o/
tadzik oh! 12:26
what about it?
masak tadzik: screenshot with project proposal.
tadzik cool
uKibab tadzik++
tadzik do you understand any words zag++ says?
jnthn tadzik: Is going through various POD implementation efforts.
masak tadzik: yes, quite a lot from context.
AlexKotov rakudo: say "I'm alive!"
p6eval rakudo be887a: OUTPUT«I'm alive!␤»
uKibab AlexKotov: ;-) 12:27
masak rakudo: say "I'm ", <alive dead undead undecided>.roll, "!"
p6eval rakudo be887a: OUTPUT«I'm dead!␤»
uKibab =)))
tadzik rakudo: say "I'm ", <alive dead undead undecided a-carrot>.roll, "!" 12:28
p6eval rakudo be887a: OUTPUT«I'm a-carrot!␤»
tadzik I knew it!
masak :P
jnthn rakudo: say "I'm gonna drink a {<beer vodka>.pick}!"
p6eval rakudo be887a: OUTPUT«I'm gonna drink a beer!␤»
tadzik this is one of those moments when the whole universe rushes to make random what you want it to be
masak rakudo: given "I'm a carrot!" { s/c/p/; .say }
p6eval rakudo be887a: OUTPUT«Cannot modify readonly value␤ in '&infix:<=>' at line 1␤ in main program body at line 22:/tmp/8AiIHFY_hM␤»
masak rakudo: given "I'm a carrot!" <-> $_ { s/c/p/; .say } 12:29
p6eval rakudo be887a: OUTPUT«===SORRY!===␤Missing block at line 22, near ""␤»
masak oh, right.
masak rakudo: given "I'm a carrot!" -> $_ is rw { s/c/p/; .say } 12:29
p6eval rakudo be887a: OUTPUT«Cannot modify readonly value␤ in '&infix:<=>' at line 1␤ in main program body at line 22:/tmp/2MPJGj03sQ␤»
tadzik :)
jnthn masak: It's *binding*.
tadzik . o O ( masak submits rakudobug )
masak jnthn++
rakudo: my $_ = "I'm a carrot!"; s/c/p/; .say 12:30
p6eval rakudo be887a: OUTPUT«===SORRY!===␤Redeclaration of symbol $_ at line 22, near " = \"I'm a "␤»
masak rakudo: $_ = "I'm a carrot!"; s/c/p/; .say
p6eval rakudo be887a: OUTPUT«I'm a parrot!␤»
tadzik rakudo: given "I'm a carrot!" { .subst(/c/, 'p').say }
p6eval rakudo be887a: OUTPUT«I'm a parrot!␤»
jnthn tadzik: nicer :)
masak tadzik++ # no side effects
tadzik Perl 5 can do that too now 12:31
jnthn masak is so impure... :P
tadzik If only I had 5.14 <3
masak tadzik: it's free, you know... :)
tadzik I'll wait for Gentoo to put it into repos, it can't be *that* long
AlexKotov Do you have Perl5 bot on this channel?
tadzik I think there was one
seen buubot 12:32
aloha buubot was last seen in #perl6 101 days 16 hours ago joining the channel.
tadzik I'm so old
AlexKotov buubot: say "1"
tadzik ENOBUUBOT
moritz it would be buubot: eval: say "1"
AlexKotov buubot: eval: say "1"
buubot is sleeping ) 12:33
tadzik vlc--; gstreamer++ # I knew it
pardon my offtopic
uKibab notes that perl 5.14 is not in FreeBSD ports collection yet
BinGOs it'll be in pkgsrc well before it is in ports 12:34
moritz it's in perlbrew now :-)
uKibab maybe :-) depends on [email@hidden.address] workload :-)
moritz in fact I'm running my local p5 webapp project on top of 5.14 right now
masak tadzik: I asked your question. bit of a language barrier, but he had a couple of answers. 12:37
tadzik I'm all ears
masak tadzik: (1) the 'use' syntax changed in the last few versions. it used to be more convenient for non-Perl 6 implementations.
(I don't know in exactly what way)
masak tadzik: (2) it's not clear from S26 alone what the exact hierarchy is of the Pod components. it's necessary to refer to TheDamian's CPAN module -- and it shouldn't be. 12:38
tadzik yeah, I know something about that :)
masak tadzik: (3) something in Russian that I didn't get. will have to ask someone later.
tadzik :)
uKibab BTW if you read search.cpan.org/~jesse/perl/README.freebsd, it references to the quite old PR #35703 that was closed two years ago. Maybe it's safe to remove that warning from README file?
masak uKibab: sounds like something for the p5p list. 12:39
moritz or #p5p in on irc.perl.org 12:40
uKibab ok, thanks 12:41
moritz phenny: tell hinrik stray < character in method name in search.cpan.org/~hinrik/Bot-BasicBo...m#topic%3C 12:42
phenny moritz: I'll pass that on when hinrik is around.
uKibab will first check if this note is present in the official perl5.12 tarball
dalek kudo/nom: e30e220 | jnthn++ | src/Perl6/Grammar.pm:
Fix typename declaration checking.
12:53
kudo/nom: 3d49450 | jnthn++ | src/Perl6/ (2 files):
Start to refactor code handling; various related cleanups. Tossed multi-sub bits which need re-doing for new proto semantics.
AlexKotov For jnthn and masak - about current YAPC talk with no words but in Russian :) 12:55
The speaker works in state organization that develops compilers 12:56
masak oh!
yes, I saw it was something to do with compilers.
what kind?
AlexKotov Presentation is about how they run automatic tests for compilers
masak nice! 12:57
AlexKotov The talk contains all kind of government-style burocracy that may exists )) 12:58
masak waitwait... bureaucracy for the compilers? :)
AlexKotov bureaucracy for the organization where he works and style they use in their job 12:59
It's like in USSR-time, when we cloned US-computers and replaced latin terms by cyrillic ) 13:00
masak :)
I can see how that'd be useful. things are much more accessible to people on this side of the language barrier. in fact, it's very much in line with the message of my talk today. 13:01
AlexKotov Oh! UML! First slide in latin )) 13:02
masak :D
yeah... but it's UML... :P
AlexKotov masak: yes, probably the same pattern as you've described )
masak it's everywhere!
uKibab worked with "brand russian" compiler for BAGET operating system 2 years ago. The compiler's filename was "bt32d-gcc" 13:03
masak what did the 'bt32d' stand for? 13:04
uKibab that was the board name. In fact it had MIPS-R3000 processor, manufactured using licensed MIPS IP core (VHDL) 13:05
they refused to provide sources for this compiler, even though it was obviously GCC
but then we began to compile applications using plain mips-mips-elf gcc :-) 13:06
we didn't want to use their binary crap, because they had it for linux, and we needed freebsd
so called "russian intellectual property" 13:07
but these guys seem to run Perl on ELBRUS machines 13:08
dalek kudo/nom: a99581f | jnthn++ | src/Perl6/Actions.pm:
Make trait_mod:<is> actually locate the handler and dispatch to it. Doesn't actually manage to invoke it yet - Code is missing something.
uKibab Wiki article abount this arch: en.wikipedia.org/wiki/Elbrus_%28computer%29 13:09
masak "elbrus" in Swedish means "electrical noise" :)
masak oh noes, conf ended! 13:10
uKibab YAPC-Russia is over!
masak pivo & 13:12
szabgab I just seen that perl 5.14 was release on 5.14, that's nice 13:59
if they make it a tradition then we can expect 5.16 to be release on 5.16
and 6.1 released 9 years from now on 1st June :) 14:00
szabgab goes back to his regular hiding place 14:01
Guest43348 info guru 15:48
bye 15:50
pmichaud ping 16:16
(yes, a broadcast ping)
tadzik poing 16:17
pmichaud I'm wondering if Rakudo should target Parrot release - 1
instead of the monthly parrot release
tadzik I don't think that goes well with Parrot folks making things better/faster for us. They update, and we can test it after a month 16:19
pmichaud I agree at first blush, but I'm wanting to explore the ramifications fully before I decide to nix the idea :)
I think it does pose problems around the Parrot supported releases, too 16:20
i.e., we wouldn't report a problem with a supported release until the next monthly release comes out
moritz what benefit would we have from targeting older releases? 16:35
skyheights jnthn++ masak++ # wonderful perl6 ambassadors 16:39
sbp heh. was going to ask what they did this time 16:56
perplexa buscher? 17:22
?? hello buscher 17:23
meh
sbp hello perplexa
perplexa ?? hello buscher 17:24
ach kA das dictionary is hier aus
und ich hab grad krinen bock, das uebers telefon zu konfigurieren 17:25
geduldsspiele sind nix fuer nen sonntag ;)
moritz perplexa: this is a place for discussing Perl 6 usage and development, primarily in English. Please stick to the rules. 17:26
sbp perplexa: wir nur etwa Perl6 hier reden. bitte sprechen Perl6 nur, und rede darüber in Englisch, wenn Sie so freundlich 17:27
moritz: what did jnthn and masak do to earn skyheights's praise?
moritz sbp: giving talks at YAPC::Russia 17:28
sbp: and hackathoning
sbp thanks
sorear good * #perl6 18:04
moritz \o 18:07
dukeleto waves
moritz rakudo: my @color = [qw/red blue/, [[['violet']]]], ['black', 'white']; say so 'red' ~~ any @color 18:09
p6eval rakudo be887a: OUTPUT«Bool::False␤» 18:10
sorear moritz: context? 18:12
moritz sorear: www.nntp.perl.org/group/perl.perl5....72367.html 18:14
sorear niecza: my @colors = <red green blue>; say so @colors ~~ *.grep('red') 18:35
p6eval niecza v5-7-g00f93bd: OUTPUT«Bool::True␤»
sorear Backlog reveals no answer to my question from last night 18:40
niecza: my $cf;␤for ^2 {␤ say $cf.line if $_;␤ $cf = callframe;␤} 18:41
p6eval niecza v5-7-g00f93bd: OUTPUT«3␤»
sorear Is this behavior acceptable?
moritz rakudo: my @c; for ^2 { push @c, callframe }; say @c[0].my.<$_> 18:42
p6eval rakudo be887a: OUTPUT«Any()␤»
moritz rakudo: my @c; for ^2 { push @c, callframe }; say @c[0].my.perl
p6eval rakudo be887a: OUTPUT«{"\$MAIN" => 19, "\$/" => 25, "\$!" => 28, "\@c" => 32, "__CANDIDATE_LIST__" => 33, "\$_" => 36}␤»
moritz sorear: what else could/should it print? 18:43
moritz rakudo: my $cf;␤for ^2 {␤ say $cf.line if $_;␤ $cf = callframe;␤} 18:44
p6eval rakudo be887a: OUTPUT«24␤» 18:45
moritz rakudo: say callframe.line
p6eval rakudo be887a: OUTPUT«22␤»
moritz (p6eval adds some pre-text)
sorear moritz: 5 19:05
moritz: because $cf was the inner frame from the first iteration of the loop, which finished by the time $cf.line was called 19:06
sorear niecza: my $*X = 1; sub foo { gather { take $*X } }; my $y; if 1 { my $*X = 2; $y = foo }; say $y[0] 19:10
p6eval niecza v5-7-g00f93bd: OUTPUT«2␤»
sorear A change I'm working on locally will make that 1
Unacceptable? 19:11
moritz there's no code on line 5 - how could it print 5?
sorear moritz: an implicit leave; 19:12
moritz sorear: I understand callframe()'s .line to be tied to the executed line 19:13
sorear: not to the end of the block
sorear the last executed code in the first iteration is the implicit leave 19:14
lue hello zebras o/ 19:29
sorear hello lue. 19:30
My last snippet returning 1 (because of $*-vars in inlined blocks becoming invisible to 'gather') would be a killer, right? I 19:31
sorear tooo quiet. 19:40
hey, lue, maybe you can help :>
moritz sorear: yes, returning 1 would be wrong
sorear maybe there should be more than one kind of "is dynamic" 19:47
$*FOO needs to have simple and predictable semantics
but anyone relying on $CALLER::CALLER::CALLER::_ deserves whatever they get 19:48
moritz agreeds 19:49
*agrees
sjn yes, agreedyness is bad. don't be agreedy! :) 19:52
dalek ecza: 15f2145 | sorear++ | / (4 files):
Allow $_ to be accessed dynamically, even when inlined
20:57
sorear interesting 21:09
should ok /a+/, "..." work?
colomon sorear: you want to match against $_? 21:24
sorear colomon: yes 22:03
colomon then that seems like it should work, no? are there issues with it? 22:05
okay, I see there are in Rakudo, at least. huh. 22:07
sorear colomon: the booliness gets tested in &ok, which doesn't have the same setting of $_ 22:13
colomon oh! 22:14
are you sure that's it? the error I got here was Method 'match' not found for invocant of class '' -- but wouldn't the invocant be the regex? 22:15
colomon admits that sorear++'s explanation does seem reasonable. 22:32
pmichaud draft proposal for Rakudo/Parrot relationship managers: pmichaud.com/sandbox/relman-draft.txt 22:33
comments and suggestions welcomed 22:34
I'm open for suggestions on <person1> and <person2> for Rakudo. All combinations I've thought of would be acceptable to me (this isn't to imply that the ones I've not thought of would be unacceptable)
colomon sorear: okay, I don't understand the error message I'm getting, but I'm with you 100% on it probably not doing what you want. 22:37
sorear: (which is to say, I just looked at the source for Regex.Bool) 22:39
sorear pmichaud++ 22:48
colomon indeed, pmichaud++ 22:50
sorear Is there supposed to be a list of possible Rakudo candidates here? 22:51
pmichaud you mean in the message? no
I'm willing to let this group come up with a consensus pick for the two reps. 22:52
I don't feel that I have to be one of the reps (but will certainly do so if others feel I should be one)
colomon It seems to me there is a shortage of obvious candidates -- at least if you presume a fairly high level of Parrot understanding.... 22:55
sorear I've already made my picks for the two worst people, among 1y+ IRC regulars
dalek ecza: 4bdcf2b | sorear++ | / (3 files):
Implement Regex.Bool automatic $_ matching
22:56
sorear perl6: say 'ab-c'.split(/<.ws>/).perl 23:03
p6eval niecza v5-8-g15f2145: OUTPUT«(timeout)»
..rakudo be887a: OUTPUT«("", "ab", "-", "c", "")␤»
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) {␤ unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib';␤ eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;␤}␤'Pugs::Runtime::Match::HsBridge'␤"␤*** '<HANDLE>' trapped by operat…
dalek ecza: d0bd18d | sorear++ | / (2 files):
Break loop in .split when a zero-width assertion is used as a delimiter
23:37
sorear I will add a method/function to Niecza such that foo([1,2,3]) == False, foo(@([1,2,3])) == True 23:48
Taking name suggestions.
(also whether it should be a method or a function)