pugscode.org/ planetsix.perl.org/ | nopaste: sial.org/pbot/perl6 | evalbot: perl6: say 3; (or rakudo:, pugs:, elf:, etc) | irclog: irc.pugscode.org/ | ~340 days 'til Xmas
Set by mncharity on 16 January 2009.
pugs_svn r25004 | lwall++ | [STD] implement unary associativity as specced, mtnviewmark++ 00:06
00:07 [particle] left 00:08 nihiliad left 00:18 DemoFreak left 00:24 viklund left 00:26 Exodist left 00:42 Exodist joined 00:48 Guest34178 left 00:53 sjn joined
pugs_svn r25005 | lwall++ | [STD] fake-infix adverbs interact badly with last fix 01:03
01:04 sepheebear left 01:07 Exodist left 01:19 bcallis left 01:25 Sepheebear joined 01:27 Sepheebear left 01:28 Sepheebear joined 02:00 jhuni joined 02:02 tak11 joined 02:04 alester joined, wknight8111 left 02:08 [particle] joined 02:26 [particle]1 left 02:31 jhorwitz left 02:46 kanru joined
pugs_svn r25006 | putter++ | [elfparse] Update to spec: the old <?foo> is now spelled <.foo>. Also /'a'/. 02:58
03:18 jhuni left 03:20 [particle]1 joined
pugs_svn r25007 | putter++ | [elfparse] Uncommented a bit more of std.pm. Fixed <before> argument passing. 03:21
03:22 stephenlb left 03:44 Sepheebear left 03:48 [particle] left 04:14 frew joined
frew Hey all 04:16
I was looking into helping out with some stuff
and I wanted to make sure my test was right because everything seems to fail it
Specifically in TASKS for S29 it says that positional args should work for lots of builtins 04:17
but they don
't
04:20 [particle] joined 04:23 [particle]1 left 04:37 jhuni joined 04:44 alester left 05:23 justatheory left 05:38 justatheory joined 05:44 hikozaemon joined 05:45 hikozaemon left 05:48 aindilis left 06:17 mtnviewmark joined
mtnviewmark 'allo all! 06:18
anyone here have a sense of the current thinking about various quote forms?
there seem to be, well, alot of them that are just aliases
like rx/.../ m/.../ and /.../ I think are all the same thing! 06:19
06:20 justatheory left
mtnviewmark and I know TIMTOWTDI -- but just wondering -- since there is (surprise) difference between S02 and STD.pm 06:20
06:27 mberends joined 06:29 jhuni left, meppl joined
mberends mtnviewmark, the people here can not to be trusted to answer that last question very well. the more knowledgeable ones here tend to forward that sort of question to perl6-language (p6l) but I don't know what happens there... 06:33
mtnviewmark ah - okay, well.. i'll write it up and forward there then
mberends I would put my $0.02 on the Synopsis, fwiw 06:35
because TimToady cares for and feeds it 06:37
06:39 [particle]1 joined 06:44 km2 left 06:49 mtnviewmark left 06:50 zev joined, lsyx joined 06:51 lsyx left 06:52 spx2_ joined 06:53 rindolf left 06:58 [particle] left, icwiener left 07:00 xinming joined 07:08 spx2 left 07:15 PZt left 07:31 tak11 left 07:43 DemoFreak joined 07:48 Tene_ joined
pugs_svn r25008 | Ovid++ | pugs: Add trim_start and trim_end tests per P6L discussions. 08:04
08:28 iblechbot joined
pugs_svn r25009 | moritz++ | [t/spec] skip dying tests in trim.t instead of jut TODO'ing them 08:31
08:38 mberends_ joined 08:40 mberends left 08:44 sjn left 08:45 sjn joined 08:52 jhuni joined, zamolxes left 08:57 kanru left, moritz_ left, cotto left, literal left, zostay left, lisppaste3 left, AzureStone left, silug left, pasteling left, meppl left, Tene_ left, SamB left, agentzh left, mtve left, cj left, frew left, On left, lumi left, orafu left, Aisling left, avar left, jhuni left, iblechbot left, zev left, Patterner left, mdxi left, Grrrr left, thepler left, hudnix left, ilbot2 left, StephenPollei left, revdiablo left, allbery_b left, elmex left, smtms left, baest left, szabgab left, jjore left, nipotan left, ingy left, buu left, sjn left, samlh left, Helios left, ft left, jiing left, broquaint left, japhb left, nothingmuch left, preflex left, lambdabot left, xinming left, pdcawley left, jnthn left, Eevee left, kisu_ left, [particle]1 left, spinclad left, estrabd left, Ehtyar left, TimToady left, rafl left, Trey left, DemoFreak left, pjcj left, yahooooo left, Jedai left, Matt-W left, s1n left, edenc left, c1sung left, drbean left, wolverian left, gbacon left, legis left, tux300181 left, buubot left, simcop2387 left, dalek left 08:59 TimToady joined, jhuni joined, sjn joined, iblechbot joined, Tene_ joined, DemoFreak joined, xinming joined, zev joined, [particle]1 joined, meppl joined, frew joined, kanru joined, pdcawley joined, On joined, Patterner joined, spinclad joined, samlh joined, SamB joined, silug joined, pasteling joined, moritz_ joined, literal joined, AzureStone joined, cotto joined, zostay joined, lisppaste3 joined, agentzh joined, kisu_ joined, mtve joined, legis joined, Helios joined, cj joined, lumi joined, orafu joined, ft joined, jjore joined, ingy joined, baest joined, buu joined, nipotan joined, szabgab joined, Aisling joined, avar joined, StephenPollei joined, allbery_b joined, revdiablo joined, elmex joined, mdxi joined, Grrrr joined, thepler joined, smtms joined, hudnix joined, ilbot2 joined, preflex joined, irc.freenode.net sets mode: +o TimToady, jiing joined, japhb joined, nothingmuch joined, lambdabot joined, broquaint joined, edenc joined, drbean joined, Matt-W joined, yahooooo joined, c1sung joined, gbacon joined, dalek joined, wolverian joined, Jedai joined, s1n joined, pjcj joined, simcop2387 joined, buubot joined, tux300181 joined, estrabd joined, Ehtyar joined, Eevee joined, jnthn joined, Trey joined, rafl joined 09:00 [particle] joined 09:05 sjn left 09:07 DemoFreak left 09:09 braceta joined 09:11 jhuni left 09:17 [particle]1 left, ChrisDavaz joined 09:19 ChrisDavaz is now known as Dumb 09:52 Maddingue left 10:06 schmalbe joined 10:13 On left 10:39 rindolf joined 10:40 zamolxes joined 10:42 Maddingue joined 10:56 ruoso joined
ruoso Hello! 10:57
mberends_ echo, echo, echo hello! it's super quiet here today 10:58
11:01 masak joined 11:10 alanhaggai joined 11:17 [particle]1 joined 11:23 pmurias joined
pmurias hi 11:23
11:35 [particle] left 11:47 pasteling left 11:51 ludan joined 11:54 pdcawley` joined, vixey joined 11:55 pdcawley left, pdcawley` is now known as pdcawley 12:01 ludan left 12:05 vixey left 12:06 vixey joined
rindolf Hi pmurias 12:06
12:06 ludan joined 12:07 Dumb left 12:10 ludan left 12:12 alanhaggai left
masak non-locking reading of individual characters: will such a thing be implementation-specific? 12:14
jnthn masak: non-locking? 12:16
Or non-blocking?
masak jnthn: the latter.
like $INKEY in QBasic.
moritz_ masak: just write it in S16, then everybody has to implement it :-) 12:17
masak moritz_: good idea. :) I wish I were that bold.
jnthn masak: There should be a standard way to do it in Perl 6.
How implementations implement it is up to them.
masak jnthn: really? that makes me very glad.
jnthn I woulda thought so.
I think it's possible on most platforms... 12:18
AIO and all that.
masak right.
suggestions for a reasonable syntax?
12:18 rob joined 12:19 rob is now known as Guest16694
masak (plus reasonable values for 'no key yet' and for strange keys like the arrow keys) 12:19
12:21 mberends_ left
moritz_ masak: $STDIN.getc(:!block) 12:21
masak moritz_: you mean, $*IN, of course.
moritz_ erm, yes :)
masak maybe something positive instead of :!block ? 12:22
jnthn :async?
moritz_ where it would just return an empty string, and on error it would fail()
jnthn is horrid at syntax
irclogs?
purl, irclogs?
moritz_ no purl in #perl6 12:23
irc.pugscode.org
jnthn ooh, channel fail
12:23 mberends joined
masak jnthn: not at all. it's a feature that purl isn't here. 12:24
the logs are in the topic.
masak likes :async
jnthn masak: More of a fail on my part for thinking I was on #parrot 12:25
mberends looking at keyboard interactive code on various systems, it is definitely platform specific 12:26
moritz_ perl has a long history of abstracting away such things
mberends ja, perl5 has modules that automagically map to the underlying drivers 12:28
masak nevertheless, I'm pleasantly surprised to hear that it'll be available in core. that will surely help when writing the kind of programs that need async getc. 12:33
jnthn masak: Just because I'd expect it to be, doesn't mean it will be. ;-) 12:34
pmurias hi rindolf 12:37
rindolf pmurias: what's up?
jnthn masak,moritz_: Which one of you was it that did the Perl 6 prelude, or who I need permission from to do stuff with it, or a commit bit? 12:38
As in, the one for Rakudo...
moritz_ jnthn: it was me...
jnthn OK
moritz_ jnthn: you need a gmail email adress, then I can give you commit bit 12:39
jnthn I'm pondering starting to fill out the array/hash roles
jnthnwrthngtn
I can't just call them Array and stuff as it'll conflict.
Maybe P6PArray etc?
But it'd mean I can actually get typed arrays working somewhat. 12:40
12:40 iblechbot left
jnthn And then when the prelude "goes official" they can just be renamed and become the real ones. 12:40
Does this sound OK to you?
moritz_ sure 12:41
jnthn: ok, you are a project admin now... code.google.com/p/rakudo-prelude/source/checkout for instructions
jnthn moritz_: Thanks. Going for lunch/walk now, will play later. :-) 12:42
pmurias rindolf: i'm studing CS now; smop now has basic p5 interop
rindolf pmurias: ah. 12:43
moritz_ jnthn: have fun... I'll be offline during the weekend, feel free to do with that repo whatever you want 12:44
pmurias rindolf: i find the "what's up?" question too generic to anwser accuratly ;) 12:45
rindolf pmurias: OK. 12:46
I'm trying to optimise File-Find-Object now.
jnthn moritz_: I'll try not to do anything too awful. ;-) 12:47
moritz_ jnthn: it keeps track of the revision... I can always restore the previous state :-)
jnthn :-P 12:48
13:05 pdcawley` joined, pdcawley left, pdcawley` is now known as pdcawley 13:17 smtms left 13:34 s1n left 13:38 [particle] joined 13:44 ejs joined, masak left 13:55 [particle]1 left 13:57 ejs left 13:58 ejs joined
rakudo_svn r35910 | pmichaud++ | [rakudo]: spectest-progress.csv update: 295 files, 6523 passing, 0 failing 14:00
14:05 km2 joined 14:14 DemoFreak joined 14:15 alexn_org joined 14:28 iblechbot joined
mberends pmichaud: ping 14:31
pmichaud pong 14:34
mberends if you have a few minutes, I would appreciate you looking at and doing 'Try it out:' from github.com/eric256/perl6-examples/b...d/Makefile 14:36
no harm will come to your computer or your pets
14:36 fuse405 joined
pmichaud sure, just a bit. 14:36
14:36 fuse405 left 14:40 maerzhase joined 14:41 Guest16694 left 14:42 On joined
PerlJam mberends: why build parrot each time? 14:42
pmichaud what am I supposed to be looking for/at ? 14:43
mberends sorry, the code is incompatible with latest parrot/rakudo. the looking for/at was that some later parrots cause that PGE;Match message mentioned yesterday. 14:49
pmichaud okay, I can look at that. 14:50
mberends with r35309 (pre rvar2) it shows you Pod::Parser running some tests of pod6 in Rakudo 14:51
that $*ERR sure would help troubleshooting on latest rakudo... 14:52
14:55 zamolxes left
pmichaud I get: 14:56
precompile Parser.pm -> Parser.pir
Statement not terminated properly at line 162, near "{ self.par"
14:57 alexn_org left
mberends oops, error has changed. I hope it runs with the suggested r35308 though, did you try that also? 15:01
pmichaud I can run it with r35308; what am I looking for there? 15:02
15:06 km2 left 15:07 ruoso left
mberends The immediate goal was to reproduce the PGE;Match under your eyes, but the latest error is different so I'm failing on that. The broader goal was to show you some Pod6 tools that masak and I plan to beef up for his U4X project. Did you ever see a prove and Test::Harness written in Perl 6 before? 15:09
pmichaud no, haven't seen those. 15:10
I'm waaaaay behind on being able to review things :-|
I don't know why you're getting the latest error, it looks like it should be okay to me. 15:11
(but haven't looked in great detail)
mberends I cannot suggest other actions right now. thanks for looking, and I'll try to get that PGE;Match for you another way. TiMBuS may have spotted a grammar / regex bug for me this morning. Again thanks, I'll stop distracting you for today. 15:13
pmichaud I'm still planning to work on $*ERR this morning. 15:14
mberends excellent
15:31 silug left 15:32 maerzhase left 15:33 schmalbe left 15:34 alester joined 15:36 jhorwitz joined 15:40 ruoso joined 15:41 tux300181 left 15:43 tux300181 joined 15:53 vixey left 15:54 c9s left 15:58 [particle]1 joined 16:00 vixey joined 16:07 mberends left 16:09 Jedai left 16:10 Jedai joined
pmurias ruoso: i'm thinking that tools/ri could generate the do all work in a m0ld block style methods 16:13
16:15 cosimo joined 16:16 [particle] left, ejs left
pmurias ruoso: ping 16:30
16:41 pbuetow joined 16:43 iblechbot left 16:44 iblechbot_ joined 16:46 ruoso left 16:53 justatheory joined, stephenlb joined 17:02 jferrero joined 17:14 silug joined 17:20 Maghnus left 17:21 gbacon left
szabgab std: my %h{<a b>}; 17:28
p6eval std 25009: OUTPUTĀ«00:05 84mā¤Ā»
17:28 perl7 joined
szabgab rakudo: my %h{<a b>}; 17:29
p6eval rakudo 35913: OUTPUTĀ«Statement not terminated properly at line 1, near "{<a b>};"ā¤ā¤current instr.: 'parrot;PGE;Util;die' pc 129 (runtime/parrot/library/PGE/Util.pir:83)ā¤Ā»
perl7 I just download 0.9 version on Windows Vista. If I do: "perl6 -e 1", I get "load_bytecode" couldn't find file 'PCT.pbc' error .... why? 17:30
17:31 hercynium joined, kisu_ left 17:32 kisu_ joined
perl7 was anyone able to run parrot 0.9 on windows vista? 17:35
17:39 stephenlb left 17:40 [particle]1 left, aindilis joined
szabgab std: my %h; exists %h{'a'}; 17:43
p6eval std 25009: OUTPUTĀ«Unknown routines:ā¤ exists called at 1 ā¤00:05 84mā¤Ā»
szabgab std: my %h; %h{'a'}:exists;
p6eval std 25009: OUTPUTĀ«00:05 87mā¤Ā»
szabgab std: my %h; %h{'a'}.exists; 17:44
p6eval std 25009: OUTPUTĀ«00:05 84mā¤Ā»
szabgab So if I understand correctly there is no "exists" function in main just an exists method of the hash and and exists adverb 17:45
pugs/t/spec/S29-hash/exists.t seems to think otherwise
17:46 gbacon joined
szabgab rakudo: my %h; %h{'a'}.exists; 17:46
p6eval rakudo 35914: OUTPUTĀ«Method 'exists' not found for invocant of class 'Failure'ā¤current instr.: 'parrot;P6metaclass;dispatch' pc 287 (src/classes/ClassHOW.pir:145)ā¤Ā»
TimToady if there is a .exists method, it would be used %h.exists('a') 17:48
szabgab rakudo: my %h; %h.exists('a'); 17:49
p6eval rakudo 35914: RESULTĀ«0Ā»
szabgab std: my %h; %h.exists('a');
p6eval std 25009: OUTPUTĀ«00:05 84mā¤Ā»
szabgab std: my %h; %h{'a'}.exists;
TimToady std won't tell you if there is a method of that name :)
p6eval std 25009: OUTPUTĀ«00:05 84mā¤Ā» 17:50
szabgab so the last one is a mistake ?
TimToady std: my %h; %h{'a'}.foo.bar.baz
p6eval std 25009: OUTPUTĀ«00:05 87mā¤Ā»
TimToady see, legal
szabgab ah
TimToady std is just syntax, with occasional semantic checking 17:51
szabgab ok and what about exixts %h{'a'} ?
should that, err exist ?
TimToady it can tell you that a function is unrecognized only because the def is required to exist by CHECK time
methods bind later than CHECK time
there is no exists macro anymore 17:52
because it would have to be a macro
likewise delete
szabgab so I understand that the spec test is incorrect then
TimToady yes, it's incorrect 17:53
szabgab thanks 17:54
TimToady assuming there's a .exists method, it would not be incorrect if it actually did what the comment said
that is, if the comma were a colon
szabgab oh, now I got confused 17:56
TimToady exists $x, $y is a function call
exists $x: $y is a method call
szabgab so is there going to be an .exists metho for the hashes or an exists function in main?
TimToady equiv to $x.exists($y)
there will not be an exists function
if there's a method, it should probably be .contains 17:57
szabgab so currntly we don't know yet how to test if a certain key is available in a hash as it is not speced yet? 17:58
TimToady but we're trying to discourage the method interface in favor of .{$y}:exists
:exists is specced 17:59
in fact, STD.pm uses it, and :delete too
they're just modified subscripting operations, after all 18:00
18:00 schmalbe joined
szabgab so I should write %h :exists 'a' ? 18:00
TimToady no, the whole idea is to write the subscript the same way always
%h<a>:exists
%h{'a'}:exists
you can even do %h{'a'} :exists :delete 18:01
szabgab and delete ? the same ?
which would do what ? 18:02
TimToady delete the element, and return true if there was one
szabgab ah, and what is :delete along returns ?
the old value ? 18:03
TimToady they're just named arguments to the subscript operator, so order doesn't matter
what :delete returns by defualt
*default
just as in p5
szabgab so in case are :exists and :delete adverbs or they just look like adverbs? 18:05
to my untrained eyes ?
TimToady they're adverbs syntactically
the compiler may choose to treat them specially though
but they should work as if subscript were just multi dispatched based on presence/absence of named args 18:06
you should be able to write your own multi subscript operator with additional modifiers, and it should just work 18:09
szabgab Oh I am just trying to use what is already there :-)
TimToady or not, as the case may be :)
afk & 18:14
18:20 perl7 left 18:27 cosimo left 18:28 braceta left 18:41 Psyche^ joined 18:53 aindilis left 18:54 aindilis joined 18:55 japhb_ joined 18:57 japhb left 18:59 Patterner left, Psyche^ is now known as Patterner 19:05 aindilis left, aindilis joined 19:06 japhb_ left 19:08 ejs1 joined 19:17 ejs1 left 19:18 pjcj left, japhb_ joined 19:25 japhb_ left
szabgab my November $wiki = November.new; 19:34
is the firts November necessary ?
19:35 spx2 joined 19:37 ejs1 joined, japhb_ joined 19:38 pjcj joined 19:39 spx2_ left
Tene_ szabgab: no. 19:43
szabgab tx
Tene_ szabgab: you could also drop the second instead, if you wanted. my November $wiki .= new();
19:47 stephenlb joined
szabgab I like the first one better 19:50
19:54 __felix__ joined, __felix__ left 19:55 zamolxes joined 19:57 zamolxes left 19:59 japhb__ joined 20:00 japhb_ left 20:16 rindolf left 20:19 PZt joined 20:23 zamolxes joined 20:26 spx2_ joined 20:43 spx2 left 20:47 japhb_ joined 20:49 japhb__ left
meppl good night 21:00
21:02 meppl left
pugs_svn r25010 | putter++ | [elfparse] Synced std.pm to STD.pm. Continued adding STD.pm idiom support, and unpodding std.pm. 21:03
21:17 smtms joined 21:36 Tene joined 21:48 Tene_ left 21:53 zamolxes left 21:54 zamolxes joined 22:01 schmalbe left 22:05 pasteling joined 22:28 pmurias left 22:38 aindilis left 22:39 aindilis joined 23:09 jhorwitz left 23:14 hercynium left 23:16 s1n joined 23:17 zamolxes left 23:20 aindilis left 23:30 Limbic_Region joined 23:38 iblechbot_ left 23:42 kanru left 23:43 legis left, kid51 joined 23:45 kanru joined 23:53 aindilis joined, vixey left