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