pugs.blogs.com | pugscode.org | pugs.kwiki.org | paste: sial.org/pbot/perl6 | <stevan> Moose... it's the new Camel ":P | .pmc == PPI source filters!
Set by Alias_ on 16 March 2006.
coignard is there a support group for people who just started learning perl6 syntax? I think I need psych. help :) 00:52
ayrnieu We also provide psychic services. 00:53
I can see, for instance, that you want to get Perl6::Bible ; you should give in to this desire.
coignard that's what I am reading
I am only at s02 00:54
ayrnieu : verified again!
coignard heh
coignard how good is that ORA book on perl6? 00:56
is it worth the money? 00:57
ayrnieu I haven't read it. I think that one chapter is online, however.
wait, do you mean Perl 6 Now?
coignard www.oreilly.com/catalog/059600737X/index.html 00:58
ayrnieu could you just say the title? My environment is a bit odd, right now. 00:59
coignard Perl 6 and Parrot Essentials, Second Edition 01:00
2004
it should be really dated (2004), no?
svnbot6 r9741 | fglock++ | pX/PCR/opp.pl - namespace fix 01:08
ayrnieu sorry, I didn't understand that question. 01:09
stevan_ coignard: Perl 6 and Parrot Essentials, Second Edition is very very dated by now 01:10
probably not worth the money
ayrnieu It depends on how much your money is worth, and what use you intend it for.
stevan_ not very thick book,.. might be able to help straighten out a wobbly chair :) 01:11
not enough pages to keep a fire going for long 01:12
it does make a good cup coaster though 01:17
svnbot6 r9742 | Darren_Duncan++ | ext/Rosetta/ : fleshed out the SeeAlso.pod and updated the SEE ALSO of all other files 01:48
dduncan and now I'm committing right to the svk mirror this time, which is directly, rather than to an svk local copy and then pushing to the mirror ... that's really been too troublesome with spurious non or false merges 01:49
meppl gute nacht 03:54
b00t #join #perlchina 04:28
ayrnieu yay, pugs on one of my machines. 04:35
OpenBSD/x86 instead of OpenBSD/macppc
nothingmuch morning 06:57
ayrnieu guten tag.
puetzk is away: zzz 07:13
b_jonas #lua 09:09
bernhard leo: What is the status of exec runcore? I made 'make hello' work by using Parrot_runcode in exec_start.c 11:42
Sorry, wrong channel 11:43
pmurias hi all 12:35
pmurias script-fu-- #less production ready than pugs 13:34
viewer #python 16:26
gabor529 what is the plan for basename, dirname and calls such as copy/move/rename ? Are they planned to be included in the language 16:48
or will they be in one standard library or scattered around in several modules as in Perl5 ? 16:49
pmurias i personally prefer the first option, although it makes no sense on some platforms (eg. client side javascript) 17:04
wolverian how is the ?? !! operator defined in perl6? i.e. how can I define it myself? 17:34
also, how are chaining operators (1 < $x < 5) defined?
couldn't find them in the AES 17:35
(except in S03, which doesn't mention the declaration)
audreyt wolverian: ternary:<?? !!> 17:40
wolverian: infix:< == > is assoc<chaining> 17:41
TimToady: S06's table has "assoc<chain>" but all examples "assoc<chaining>" 17:42
should I update the table?
wolverian audreyt, thanks.
fglock audreyt: hi!
audreyt hey!
wolverian audreyt, I thought listfix:<?? !!> could work as well (if that's actually an official category), and would generalise the n-ary operators. 17:43
audreyt I'm packing up for Tokyo
wolverian: in OpTable there is explicit support for ternary but not listfix...
wolverian (although I don't think we have any n-ary operators where n > 2 except ?? !!)
audreyt also listfix could be conufsed with assoc<list>
like Y and ,
nothingmuch doooes feather have a blead perl
?
wolverian audreyt, yeah, right. I actually missed your assoc<chaining> line, sorry 17:44
fglock audreyt: I implemented a naive operator precedence parser using rules in pX/PCR/opp.pl - it uses templates for the syntax constructs
audreyt fglock: yeah, Isaw that
I hope .jp can fix my jetlagging... for the entire week I sleep in 3hr segments :/
wolverian oh well, I guess infix:<?? !!> has no hope of working :) 17:45
audreyt wolverian: indeed
wolverian it would have nicely generalised to infix:<a b c d ...>. it's not that important, though.. the syntactic construct of an n-ary operator where each op(n) is different is rather mindblowing.
(I would be fine if we didn't have ?? !! at all.) 17:46
fglock can I use 'is parsed' for normal subs (non macros)? 17:47
ingy hi audreyt 17:51
audreyt fglock: that'd be unspecced I think... and you'll get back a fragment not a normal arg
ingy: hey 17:52
pmurias fglock: hi
audreyt ingy: how cold is there? 10C?
ingy I'm in taiwan. warm
fglock pmurias: hi!
ingy 25C 17:53
audreyt ingy: oh. you are in .tw still? when is you flight? 17:54
ingy Tuesday afternoon
audreyt 'kay 17:55
gawd, I'm getting sleepy again :-(
audreyt disappears for another 3hr chunk
ingy audreyt: wanna SEE?
audreyt ingy: maybe not until I get to Kogai san's place
ingy maybe it'll wake you
ok 17:56
audreyt I don't want to be waked... it's either 2 three-hours chunks per day or just 1
I'll take 2 when I can get them
*wave* &
xerox Bye! 17:57
ingy hi nothingmuch 18:18
nothingmuch hi ingy 18:50
ingy: how's your perlguts fu?
rgs: ping (also on that topic)
svnbot6 r9743 | pmurias++ | PCR: a prototype %hash implementation, I'll have to talk to fglock how to tie it in 18:54
pmurias fglock: how do I hook %hash up to the PCR? 18:57
Daveman :o 19:40
Juerd TimToady: I don't think interpreting $foo as a rule *breaks* $1, it just changes what it does. And since almost everything in regexes-->rules changes, I see no problem with that at all. Using $1 bare could easily emit a warning that you probably meant to say "$1" instead. 19:54
Juerd TimToady: As for turning "everything" into a metacharacter, I know that this has been your stance for a long time, and I agree. However, when metacharacters come entirely natural (quoting something to get it literal is quite familiar to users of shells and the new <<...>>), it shouldn't be a problem. 19:55
fglock pmurias:re %hash - Pugs::Emitter::Rule::Perl5 - line 122 is the place for '%hash'; line 195 is the place for '<%hash>'; at runtime you call 'get_variable()' to get a reference to the hash - see the '<$var>' implementation in line 209 19:57
pmurias fglock: were should I put tests for it? 20:03
Juerd TimToady: And the confusion between the verbs "quoting" and "escaping" stems from how this works in many (mini)languages :) 20:09
TimToady: It'd be useful if in regexes, quoting and escaping also did the same thing: protect against interpretation as rule.
ingy elk 20:45
ingy unleashes Inline::Module upon the world 20:46
cognominal ingy. I love IO::All but to doc says it is not stable. is it? 20:53
xerox I love you::all, hah!
cognominal :) 20:54
pun unintented
xerox I'm the punnificator. 20:55
ingy cognominal: I think it's ok. I'm going to hack on it this week
while Damian is about :D 20:56
cognominal can you reformulate the lasts sentence? my French mind can't parse it.
"about" : meaning around you? 20:57
ingy yes
cognominal thx
where are you btw?
ingy as in "frollicking about"
.tw
or more precisely, in bed 20:58
zzzzzzzzzzzzzzzzzzzzzzzzzz&
Maddingue ingy: for when you wake up, a feature that may be interesting to add to IO::All is the ability to read a file as another user, typically as root 21:05
that's what I've done in File::Read (using sudo) 21:06
fglock pmurias: re tests - how about 07-hash.t (sorry for the delay) 21:36
wolverian hrm, does Moose let me define a hashref that only accepts Foo objects? I guess not. 21:40
fglock audreyt: please review PCR - I think it's time for 0.02 23:46