Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2007-09-29

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:05 theorbtwo joined #perl6
00:07 weinig joined #perl6
00:11 r0bby joined #perl6
00:41 vbattsAtWork joined #perl6
01:30 REPLeffect_ joined #perl6
01:32 vbattsAtWork joined #perl6
01:47 daxim_ joined #perl6
03:05 elmex_ joined #perl6
03:06 weinig joined #perl6
03:07 IllvilJ1 joined #perl6
03:25 Jedai joined #perl6
03:54 Administrator joined #perl6
04:24 ting joined #perl6
05:11 rindolf joined #perl6
05:27 BinGOs joined #perl6
05:31 stevan_ joined #perl6
06:28 jisom joined #perl6
06:46 audreyt joined #perl6
06:54 drrho joined #perl6
07:07 Ashizawa joined #perl6
07:27 dduncan left #perl6
07:29 blindfish joined #perl6
07:33 Aankhen`` joined #perl6
07:41 drbean joined #perl6
07:41 iblechbot joined #perl6
08:02 fax joined #Perl6
08:03 Torment joined #perl6
08:17 xinming_ joined #perl6
08:18 xinming_ left #perl6
08:25 hkb_ruby joined #perl6
08:40 roundeye joined #perl6
09:11 pmurias joined #perl6
09:22 masak joined #perl6
09:31 masak I'm back to leafing through the pugs tests, finding simple things to fix
09:32 masak I have some questions about the `proto` keyword
09:32 masak is it relatively fresh in the spec? how much does pugs implement it?
09:35 arrowax joined #perl6
09:37 kanru joined #perl6
09:55 masak S06 doesn't have much to say about protos that's applicable here
09:55 masak I'll put together a nopaste which specifies my question
10:03 pasteling "masak" at 130.238.45.242 pasted "a bit of struggling with proto subs -- 'd be happy for directions" (43 lines, 1.2K) at http://sial.org/pbot/27785
10:10 masak S06 doesn't seem to mention that the "proto" keyword is used to predeclare subs
10:11 masak either I got that wrong, or it's in some other synopsis, or it should be added
10:16 pmurias masak: i think the fully implemented version wasn't declared at that moment
10:16 masak pmurias: it wasn't
10:16 pmurias so pugs invokes the default proto implementation
10:17 masak this all seems vaguely dangerous
10:17 pmurias it's a bug :)
10:17 masak it's not what I expect at all
10:17 masak thank gosh
10:17 pmurias the code snippet at the top should also work
10:17 masak oh
10:17 masak no proto needed anywhere?
10:18 pmurias only if you do multis
10:18 masak ah
10:18 masak then I'll take back that thing about S06 needing an update
10:18 masak though I did head TimToady++ say the other day that things cannot be called that weren't declared already
10:19 masak but maybe that only goes for things without the & sigil
10:20 pmurias masak: proto is descriped also in S12
10:20 pmurias searching in S*...
10:21 pmurias S2: 2523
10:21 pmurias it explains the provisional calls
10:21 pmurias * S02
10:22 Aankhen`` Does KP6 just handle signatures as lists of variables?
10:23 masak pmurias: a provisional call being a call from a sub declared before the called sub?
10:23 pmurias pmurias: call of a sub
10:23 pmurias Aankhen``: look into Grammar/Sub.pm
10:24 pmurias the AST represents the as ::Sig
10:24 drrho left #perl6
10:25 pmurias Aankhen``: token sig in Grammar.pm does the parsing
10:26 Aankhen`` Ah, it's in Grammar.pm.  I was wondering where it popped up from. :-)
10:27 pmurias Aankhen``: from there source control repo ;)
10:28 pmurias * the
10:29 Aankhen`` Heh.
10:30 Aankhen`` The AST can't represent *@foo yet, I take it.
10:30 Aankhen`` Not that KP6 can parse it either, it would seem.
10:31 iblechbot joined #perl6
10:32 pmurias Aankhen``: you can add it if you like
10:32 * Aankhen`` 's jaw drops. "Alter the parser and AST?!"
10:33 pmurias afraid of the recompile time ;)
10:33 pmurias ?
10:34 Aankhen`` No, just afraid of breaking something. :-)
10:34 Aankhen`` Lunch! &
10:37 pmurias it's easier to fix then to breake with source control
10:37 zomgb00bie joined #perl6
10:38 pmurias * break
10:45 mr_ank joined #perl6
11:11 riffraff joined #perl6
11:22 masak` joined #perl6
11:46 pugs_svnbot r18242 | Aankhen++ | [kp6-lisp]
11:46 pugs_svnbot r18242 | Aankhen++ | * implemented binding.
11:46 pugs_svnbot r18242 | Aankhen++ | * removed variable manipulation functions without /p, renamed /p versions to regular versions.
11:46 pugs_svnbot r18242 | Aankhen++ | * added /c lexical variable cell manipulation functions.
11:46 pugs_svnbot diff: http://dev.pugscode.org/changeset/18242
11:46 lambdabot Title: Changeset 18242 - Pugs - Trac
11:49 pugs_svnbot r18243 | Aankhen++ | * [kp6-lisp] regenerated EmitLisp.pm
11:49 pugs_svnbot diff: http://dev.pugscode.org/changeset/18243
11:49 lambdabot Title: Changeset 18243 - Pugs - Trac
11:51 Aankhen`` Ugh, the binding commit message is woefully inadequate.
12:14 chris2 joined #perl6
12:27 pmurias svn should support annotations on commits
12:27 pmurias you could correct the commit msg than
12:27 pmurias or better versioned controled commit msg's
12:56 pugs_svnbot r18244 | pmurias++ | [kp6] commited everything i forgot, matche objects are created with match_new()
12:56 pugs_svnbot r18244 | pmurias++ | added tokeninline which runs the new emitter on a simple grammar
12:56 pugs_svnbot diff: http://dev.pugscode.org/changeset/18244
12:56 lambdabot Title: Changeset 18244 - Pugs - Trac
12:56 pmurias Match isa Capture?
13:33 jhorwitz joined #perl6
13:34 barney joined #perl6
13:47 c9s joined #perl6
13:57 Aankhen`` pmu: Subversion does support changing the commit message as a property, actually, but there's all sorts of gotchas and the repository has to have certain hooks enabled.
13:59 Aankhen`` Whoops.
13:59 rhizo joined #perl6
14:01 allbery_b huh, I thought commit messages were non-versioned properties, no special hooks needed
14:03 Aankhen`` http://subversion.tigris.org/faq.html#change-log-msg
14:03 lambdabot Title: subversion: Subversion FAQ
14:04 allbery_b ah, ok
14:04 allbery_b so it is a non-versioned property but it gets special treatment
14:05 Aankhen`` Yeah.
14:37 larsen_ joined #perl6
14:46 araujo joined #perl6
15:03 pmurias joined #perl6
15:28 mncharity joined #perl6
16:15 pmurias Aankhen``: the ability to change the commit msg is restricted to the repo admin, because it can cause data loss, but if it was a versioned propery then it could be more avalible
16:18 allbery_b svn versioning doesn't work that way sadly
16:18 pmurias S03 uses the words "Match is a kind of Capture", does it mean a subclass of Capture
16:19 pmurias allbery_b: do you know why>
16:19 pmurias ?
16:19 masak pmurias: without evidence to the contrary, I'd say Match isa Capture
16:20 allbery_b pmurias: think about it.  versioning is tied to revisions.  if the revision's commit message is itself versioned, then is a commit message change part of the revision or is changing it a new revision?
16:20 pmurias masak: thanks
16:20 masak I don't think Larry would write "is a kind of" without thinking of subclassing
16:20 allbery_b it's a chicken-or-egg situation
16:21 pmurias allbery_b: one would have nested revisions 1023.3.2.4 ;)
16:21 pmurias s/would/could/
16:36 pugs_svnbot r18245 | pmurias++ | [kp6] failing test for inheritance
16:36 pugs_svnbot diff: http://dev.pugscode.org/changeset/18245
16:36 lambdabot Title: Changeset 18245 - Pugs - Trac
16:40 pmurias allbery_b: <repository revision>.<content revision> would be an option, althought not IMHO not worth choosing
16:41 pmurias s:1st/not//
16:42 allbery_b sure, but svn doesn't support that; it only has linerar revisions.  (see also the weirdness used for tags and branches)
16:42 cognominal_ joined #perl6
16:43 allbery_b linear.
16:43 * allbery_b as usual can't type to save his life
16:44 Southen joined #perl6
16:45 pmurias allbery_b: i do not find subversions handling of tags and branches strange
16:49 allbery_b I do.  tags especially.  fork the entire repo?!
16:54 TimToady yes, Match isa Capture; it adds .from and .to attributes, and maybe others
16:54 funktio joined #perl6
17:48 rhr TimToady: is the :my $x; syntax used recently in STD Real Perl (I don't see anything in S05) or part of the cheating?
17:50 TimToady I believe it is likely to end up real, but likely with some restrictions on just where you can put it
17:51 TimToady since the order of the regex is not necessarily the order of the code that results
17:52 TimToady one can implement /a b/ as (match a).map: { match b } or map { match b }, match a
17:52 TimToady and I've had it both ways already, and several other ways.  :)
17:53 TimToady I like the :my syntax better than, say, <my ...>
17:53 rindolf joined #perl6
17:53 TimToady since it's not an assertion, and :foo influences the subsequent lexical scope anyway
17:54 TimToady :my just does it more violently
17:54 TimToady biab &
17:54 rhr OK, interesting
17:55 Psyche^ joined #perl6
18:00 IllvilJa joined #perl6
18:19 lichtkind joined #perl6
18:37 dduncan joined #perl6
18:54 weinig joined #perl6
19:12 jisom joined #perl6
19:12 vbattsAtWork joined #perl6
19:36 ludan joined #perl6
19:37 ludan hi
19:40 lichtkind hallo ludan
19:43 rindolf Hi lichtkind
19:43 lichtkind hello rindolf
19:43 rindolf lichtkind: what's up?
19:43 lichtkind howisgowinman you knwwaddimsayn
19:43 lichtkind haha
19:44 lichtkind pretty good
19:45 lichtkind doin my stuff man
19:45 lichtkind reprazentin perl 6 and so on :)
19:47 lichtkind rindolf: im currently wrining on the so long promised perl 6 tutorial
19:47 rindolf lichtkind: "wrining"?
19:47 rindolf lichtkind: what's "wrining"?
19:47 lichtkind writing
19:48 lichtkind no whining :)
19:50 lichtkind will see im mostly slow :)
19:50 lichtkind i was in spain and in czech 2 month
19:50 lichtkind rindolf:  and yourself?
19:51 rindolf lichtkind: right now, I'm writing stuff in wikis, editing tags in cpanforum.com and chatting on the IRC.
19:51 rindolf Previously I worked on http://quad-pres.berlios.de/
19:51 lambdabot Title: Quad-Pres
19:51 lichtkind rindolf: in what wiki?
19:51 rindolf lichtkind: http://perl.net.au/ and now http://www.perlfoundation.org/perl5/index.cgi?recommended_modules_for_testing#
19:51 lambdabot Title: Main Page - PerlNet
19:53 rindolf Today I woke up at 06:30 and shortly afterwards went to sleep again. I woke up after 11:00 or 12:00.
19:55 lichtkind ah i will link the tpf wik from our wik :)
19:55 lichtkind wiki
19:56 lichtkind rindolf:  so you sleepy now?
19:56 rindolf lichtkind: it's 22:00 now.
19:57 rindolf I don't know if I'm tired or not.
19:57 rindolf It's a bit confusing.
19:58 Blwood joined #perl6
20:00 Koenix joined #perl6
20:10 lichtkind rindolf: do you program in perl 6 ?
20:10 rindolf lichtkind: not a lot.
20:11 lichtkind thats more that i do
20:11 lichtkind i only check my examples in the tuts i write :)
20:14 lichtkind rindolf:  not much content in that wiki as far es i can see :)
20:15 rindolf lichtkind: which wiki?
20:15 lichtkind rindolf: the tpf wiki the link you send
20:15 rindolf lichtkind: oh.
20:19 lichtkind i lost a bit interest in wikis lately but in times i build up german wiki / perl section we have more content :)
20:29 rindolf lichtkind: wanna hear a mathematical riddle?
20:29 lichtkind sure
20:42 rindolf lichtkind: http://shlomif.livejournal.com/46776.html
20:42 lambdabot Title: shlomif: Mathematical Riddle
20:50 rindolf lichtkind: ping.
20:52 lichtkind rindolf: its not the kind of riddle i expected, any way im on the way to bed
20:52 buu Argh, sql sucks.
20:52 Aankhen`` KP6 question.  I'm working on Var::emit_lisp and I need to print out the elements in $.namespace joined by '::'.  I've tried every combination of parentheses, intermediate variables, and @() that I could think of, but I either get ARRAY=0xfoo in the output, or else an error about trying to dereference a string.
20:52 Aankhen`` Is there some other way?
21:05 penk joined #perl6
21:17 pugs_svnbot r18246 | Aankhen++ | [kp6-lisp]
21:17 pugs_svnbot r18246 | Aankhen++ | * added missing Cell.lisp
21:17 pugs_svnbot r18246 | Aankhen++ | * factored out some commonly used functionality in EmitLisp.pm relating to variable names and namespaces.
21:17 pugs_svnbot r18246 | Aankhen++ | * binding is only handled for lexical variables for now.
21:17 pugs_svnbot diff: http://dev.pugscode.org/changeset/18246
21:17 lambdabot Title: Changeset 18246 - Pugs - Trac
21:17 Aankhen`` Oh well, time for sleep.  Guess I'll find out tomorrow.
21:22 |chris_holden| joined #perl6
22:02 lichtkind good nicht
22:02 lichtkind night
22:13 ludan joined #perl6
22:30 Guevara joined #perl6
22:31 Guevara buenas
22:32 Guevara left #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo