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:11 ubajas3 joined 00:20 ubajas left 00:29 lambdabot left, lambdabot joined 00:34 [particle1 joined 00:43 daxim_ left 00:46 ubajas joined 00:47 [particle] left 00:55 sunnavy joined, ubajas3 left 01:18 snearch left
pugs_svnbot r17432 | lwall++ | [metholate] binding much improved (but still doesn't propagate values correctly) 01:25
diff: dev.pugscode.org/changeset/17432
lambdabot Title: Changeset 17432 - Pugs - Trac
01:29 ubajas3 joined 01:38 ubajas left 01:40 buetow left 01:51 justatheory joined
Limbic_Region TimToady - you about? 01:56
TimToady nope :) 01:58
pugs_svnbot r17433 | sunnavy++ | in t/01-sanity/03-equal, let tests number be always right.
diff: dev.pugscode.org/changeset/17433
lambdabot Title: Changeset 17433 - Pugs - Trac
01:59 sunnavy left 02:00 ubajas joined 02:10 ubajas3 left
Limbic_Region oh 02:12
ok then, nevermind
I was just going to ask if there were anyway to return values from a sub/method that wasn't positional since you can provide arguments to a sub/method in a myriad of ways 02:13
TimToady hmm
well, return is defined to return a Capture, so that isn't always positional 02:14
02:21 araujo left
Limbic_Region was just thinking about that today 02:22
An OO module I wrote had a return object with a handful of standard members which made it easy to deal with in the calling code 02:23
easy with respect to standardization in subclasses and what not
TimToady that's more or less what a Match object is supposed to do, but pugs doesn't make it easy to derive from Match, alas 02:25
Limbic_Region well, my wife is telling me it is time for bed so perhaps I will bug you to explain more tomorrow 02:26
TimToady I'll be en route to Vienna tomorrow...
Limbic_Region ah
TimToady but 'nite
Limbic_Region well then another time
TTFN
02:26 Limbic_Region left 02:34 araujo joined 02:42 ubajas3 joined 02:47 |Jedai| joined 02:51 ubajas left 02:59 blindfish left 03:04 elmex joined 03:06 jedai left 03:12 pmurias left 03:14 araujo left, araujo joined 03:19 elmex_ left 03:24 kanru left 03:26 justatheory left 03:27 ubajas joined 03:37 ubajas3 left 03:51 araujo left 04:00 ubajas3 joined 04:04 yahooooo left 04:05 yahooooo joined 04:10 ubajas left 04:14 Limbic_Region joined 04:41 ubajas joined 04:44 yahooooo left 04:51 ubajas3 left 04:59 Limbic_Region left 05:03 REPLeffect joined 05:15 ubajas3 joined, nipra left 05:18 stevan_ joined 05:21 nipra joined 05:22 araujo joined 05:24 ubajas left 05:30 DarkWolf84 left 05:33 jisom joined
jisom thinks the message for r20832 a little funny, as it breaks realclean 05:40
or breaks it from a previous commit
c'est la vie 05:41
05:48 obvio171 joined 05:49 REPLeffect left, REPLeffect joined
jisom eh, wrong room, dumb autojoin 05:50
05:57 ubajas joined 06:06 ubajas3 left 06:39 mj41 joined, ubajas3 joined 06:49 ubajas left 06:56 weinig_ left 07:02 REPLeffect left 07:08 Blwood left, Blwood joined 07:09 ubajas joined 07:19 ubajas3 left 07:35 snearch joined 07:42 ubajas3 joined 07:46 larsen_ joined 07:47 weinig joined 07:51 ubajas left 08:13 stevan_ left 08:21 ubajas joined 08:31 ubajas3 left 08:35 Aankhen`` joined 08:40 weinig left 08:48 turrepurre left 08:49 snearch left 09:04 JarJarBi1ks joined 09:13 pmurias joined 09:15 Tene left, ubajas left 09:16 JarJarBinks left
pmurias morning 09:17
09:21 dmq joined 09:40 turrepurre joined 10:02 meltingwax joined
meltingwax ?eval print "hello world" 10:03
10:03 meltingwax left 10:27 jedai joined 10:39 snearch joined 10:43 Blwood left 10:44 |Jedai| left 10:46 Blwood joined 10:49 jisom left 11:10 fglock joined
pugs_svnbot r17434 | fglock++ | [kp6] Capture flattening with prefix:<|> 11:10
diff: dev.pugscode.org/changeset/17434
lambdabot Title: Changeset 17434 - Pugs - Trac
meppl gugu 11:14
pmurias fglock: hi 11:27
fglock pmurias: hey 11:28
the calling convention is now more or less orthogonal to multi, because multi dispatch operates on Capture 11:30
i'll start working on multi-methods
pugs_svnbot r17435 | Nelson++ | Fixed parse command; added dispatch table for actions. 11:34
diff: dev.pugscode.org/changeset/17435
lambdabot Title: Changeset 17435 - Pugs - Trac
11:42 rindolf joined
pmurias hosted a starcraft lan party till 5 a.m. today, so isn't fully functional 11:46
fglock heh 11:49
pugs_svnbot r17436 | fglock++ | [v6.pm] version 0.019 on CPAN
diff: dev.pugscode.org/changeset/17436
lambdabot Title: Changeset 17436 - Pugs - Trac
fglock pre-hackathon cleanup :)
11:50 DarkWolf84 joined 12:00 masak joined, masak left, masak joined 12:10 blindfish joined 12:17 stevan_ joined
pmurias is there an english name for @_ 12:21
?
pugs_svnbot r17437 | fglock++ | [kp6] dispatcher cleanup 12:25
diff: dev.pugscode.org/changeset/17437
lambdabot Title: Changeset 17437 - Pugs - Trac
masak pmurias: there's none documented in perldoc perlvar, in any case 12:27
pmurias looked ther before asking
masak I would call it "the argument array" or something
if I had to make up a name
but I think I can safely say that there's no official name 12:28
pmurias thanks 12:34
masak np. are you asking because of kp6? 12:35
pmurias sort of not really nessesary for anything in particualar, i use $array_ in kp6 12:36
$at_ might be better
masak "at"?
pmurias isn't @ 'at' 12:37
>
s/>/?/
masak ah, yes
masak thinks "array" is clearer
it documents the semantics, not the syntax
pugs_svnbot r17438 | fglock++ | [kp6] skeleton for IO module
diff: dev.pugscode.org/changeset/17438
lambdabot Title: Changeset 17438 - Pugs - Trac
pmurias we call the '@' character monkey in Poland 12:39
masak oh. in sweden, the most common name is elephant's-trunk-a 12:40
Patterner @ = Klammeraffe (clamping monkey) in Germany 12:44
masak ...and "monkey" again takes the lead :)
Patterner and # is still 'volume' for me. 12:45
masak oh, you mean the "octothorpe"?
for me, it's "number"
as in "#1"
Patterner tictactoe
masak heh 12:46
Patterner UCSD-Pascal on the Apple ][: #6 = Volume 6
masak ah, ok
pugs_svnbot r17439 | fglock++ | [kp6] roadmap update 12:49
diff: dev.pugscode.org/changeset/17439
lambdabot Title: Changeset 17439 - Pugs - Trac
rindolf In Hebrew the "@" is called a Strudel. 12:50
And in Russian it's a "doggy"
masak rindolf: we have an alternative name in Sweden which is something like Strudel, but not the exact same type of bread 12:51
it's with cinnamon and has the shape of a @ 12:52
Patterner mmm.... Apfelstrudel...
rindolf masak: OK. 12:53
12:58 buetow joined, polettix joined 13:03 cognominal_ left 13:06 snearch left
pugs_svnbot r17440 | fglock++ | [kp6] Method is Code 13:16
diff: dev.pugscode.org/changeset/17440
lambdabot Title: Changeset 17440 - Pugs - Trac
13:37 fglock left 13:43 cognominal_ joined 13:44 jhorwitz joined 14:02 iblechbot joined 14:06 stevan_ left
pugs_svnbot r17441 | pmurias++ | kp6: 14:11
r17441 | pmurias++ | ::CAPTURIZE - which makes a capture out of @_
r17441 | pmurias++ | Lit::Code - ready for changing to the new calling convention
diff: dev.pugscode.org/changeset/17441
lambdabot Title: Changeset 17441 - Pugs - Trac
14:19 turrepurre left 14:21 turrepurre joined 14:27 amnesiac joined 14:33 flokuehn joined 14:44 flokuehn left 14:45 flokuehn joined 14:46 Limbic_Region joined 14:52 Harleaquin_ joined 14:55 Harleaquin_ left, Harleaquin_ joined, sunnavy joined
moritz_ #kp6 multi sub foo { say "bar" }; foo() 14:58
exp_evalbot r17441: OUTPUT[DISPATCH: calling APPLY KindaPerl6::Runtime::Perl5::DispatchSugar::Dispatch=HASH(0x82e5b48) on invalid object:$VAR1 = {};ā¤ā¤ at lib5/KindaPerl6/Runtime/Perl5/MOP.pm line 31ā¤ main::DISPATCH('undef', 'APPLY', 'KindaPerl6::Runtime::Perl5::DispatchSugar::Dispatch=HASH(0x82...') called at
..- line 3ā¤]
15:03 iblechbot left 15:16 buetow left 15:19 buetow joined
moritz_ TimToady: in S06:1089 the example output would be produced by .perl.say, not just by .say 15:24
TimToady: a few lines above as well 15:25
15:26 |Jedai| joined
Limbic_Region TimToady is traveling today 15:26
moritz_ Limbic_Region: I presume he'll backlog.. if not, I'll tell him again 15:27
masak moritz_: or @tell him 15:28
moritz_ perhaps better, yes
@tell TimToady in S06:1089 the example output would be produced by .perl.say, not just by .say. The same occures a few lines above
lambdabot Consider it noted.
15:29 ofer left
masak lambdabot++ # makes backlogging O(1) 15:38
@thanks
lambdabot you are welcome
masak :)
moritz_ that's the usefullest feature by far ;-) 15:39
masak believes in showing proper respect towards our bots
15:42 theorb left 15:43 jedai left 15:44 |Jedai| is now known as jedai 15:59 xinming left 16:00 xinming joined 16:20 Limbic_Region left 16:25 Limbic_Region joined 16:26 Blwood left 16:27 Blwood joined 16:29 kanru joined 16:36 nekokak_ joined 16:46 sunnavy left 16:54 nekokak left 17:00 kanru left 17:03 snearch joined 17:04 cognominal_ left 17:09 weinig joined
moritz_ is off to lunch & 17:12
17:14 Psyche^ joined 17:22 JarJarBinks joined, weinig left 17:23 weinig joined 17:25 stevan_ joined 17:26 Patterner left, Psyche^ is now known as Patterner 17:29 cognominal_ joined 17:34 JarJarBi1ks left 17:40 masak left 17:49 Ashizawa joined 17:50 Khisanth left 17:51 Khisanth joined 17:55 obvio171 left, Ashizawa left 18:10 Zero_Dogg joined
Zero_Dogg I'm wondering, what is the current state of Perl 6? Ie. when might one expect to be able to start using the language? 18:10
18:11 Blwood left 18:15 stevan_ left
araujo Zero_Dogg, you can already use an implementation of it 18:20
pugs
Zero_Dogg yep, I'm more thinking of when it might be something you can really use instead of perl5 18:21
18:21 weinig left
araujo you already can use it 18:21
Zero_Dogg yeah, I can use it, but I'm talking a "final" stable release. 18:22
araujo ah, that's different 18:27
i heard TimToady once that if a billionaire hired 100 developers to work full time on perl6 , we could have something for the next two year 18:29
18:29 obvio171 joined, stevan_ joined
Zero_Dogg ouch 18:30
pmurias a less then full perl6 would still be preferable to perl5 18:32
Zero_Dogg maybe, it does look interesting at least
pmurias taking in regard the possibility of diffrent backends it might be preferable to for example javascript 18:33
18:36 xinming left 18:40 justatheory joined 18:43 weinig joined 18:46 snearch left 18:53 jisom joined 18:54 stevan_ left
Khisanth araujo: those are really expensive developers ... 18:55
19:05 arcady joined 19:06 arcady left 19:13 fglock joined 19:17 larsen_ left, Aankhen`` left 19:18 stevan_ joined 19:20 jhorwitz left
pmurias fglock: when do you arrive in Vienne? 19:24
fglock pmurias: monday afternoon 19:25
pmurias arrives at sunday evening 19:27
araujo Khisanth, dont know, ask TimToady
:-P
pmurias one might get a special rate for such a large amount ;) 19:28
Khisanth araujo: unless he meant 100 contractors with sub and sub sub contractors :P 19:29
araujo wouldn't mind to be one of those developers though 19:30
:-)
pugs_svnbot r17442 | fglock++ | [kp6] Method.APPLY 19:31
diff: dev.pugscode.org/changeset/17442
lambdabot Title: Changeset 17442 - Pugs - Trac
Khisanth araujo: you wouldn't be paid much :P 19:32
araujo Khisanth, right, now you want to compete for one position too ;-) 19:33
19:34 amnesiac left
Khisanth hires araujo for 2 years of work for $1k USD :P 19:34
araujo to work on perl6? ... i thought the idea it'd be that get done in this lifetime :-D 19:35
moritz_ pmurias, fglock: is there a place where I can implement List methods? 19:48
I could start in Runtime/Perl6/Array.pm, but they are not array specific 19:49
pmurias looking
kp6 dosn't seem to have an List class 19:50
so it could go into Array
moritz_ does kp6 support push? 19:52
pmurias isn't List just an immutable array
yse
moritz_ #kp6 my @a; push @a, "f";
exp_evalbot r17442: OUTPUT[DISPATCH: calling APPLY HASH(0x82c434c) KindaPerl6::Runtime::Perl5::DispatchSugar::Dispatch=HASH(0x82c4358) on invalid object:$VAR1 = {};ā¤ā¤ at lib5/KindaPerl6/Runtime/Perl5/MOP.pm line 31ā¤ main::DISPATCH('undef', 'APPLY', 'HASH(0x82c434c)',
..'KindaPerl6::Runtime::Perl5::DispatchSugar::Dispatch=HASH(0x82...') called at - line 3ā¤]
moritz_ #kp6 my @a; push @a.push("f")
exp_evalbot r17442: OUTPUT[DISPATCH: calling APPLY 1 on invalid object:$VAR1 = {};ā¤ā¤ at lib5/KindaPerl6/Runtime/Perl5/MOP.pm line 31ā¤ main::DISPATCH('undef', 'APPLY', 1) called at - line 3ā¤]
moritz_ I think an Array is a named List
but I'm not sure
pmurias some methods are defined in MOP.pm 19:53
moritz_ tries his luck with grep 19:54
fglock it would be nice to have a List class
pmurias #kp6 my @a;@a.push("f");
exp_evalbot r17442: No output
pugs_svnbot r17443 | fglock++ | [kp6] use .APPLY to call looked-up Methods
diff: dev.pugscode.org/changeset/17443
Eidolos so I'm trying to get a darcs checkout of the pugs tree 19:55
lambdabot Title: Changeset 17443 - Pugs - Trac
pmurias #kp6 my @a;@a.push("f");say @a;
exp_evalbot r17442: OUTPUT[fā¤]
Eidolos and it's failing at patch #554, which is mugwump's "delete dup. sorry"
moritz_ Eidolos: most people here use svn or svk
Eidolos yeah
I saw the darcs mirror and had to try it :) 19:56
19:56 Zero_Dogg left
fglock moritz_: Array is in Perl5/MOP.pm:750, and the high-level impl is in Perl6/Array.pm 19:57
under Runtime/
moritz_ yeah, found it
20:00 flokuehn left 20:05 bonesss joined 20:07 pmurias left, Southen left 20:08 pmurias joined 20:09 thoughtpolice joined
fglock it looks like we need to reclassify kp6 Method as a Container, per S02 20:09
20:15 mr_ank left
pugs_svnbot r17444 | fglock++ | [kp6] Value.WHICH 20:19
diff: dev.pugscode.org/changeset/17444
lambdabot Title: Changeset 17444 - Pugs - Trac
pugs_svnbot r17445 | moritz++ | [kp6] @array.grep 20:25
diff: dev.pugscode.org/changeset/17445
lambdabot Title: Changeset 17445 - Pugs - Trac
20:29 mr_ank joined
pugs_svnbot r17446 | fglock++ | [kp6] marked 'invocant' as TODO; Code.code 20:37
diff: dev.pugscode.org/changeset/17446
lambdabot Title: Changeset 17446 - Pugs - Trac
20:42 pmurias left 21:03 fglock_ joined 21:06 markstos_ joined
markstos_ What is the relationship between "Kinda Perl 6" and "Not Quite Perl" ? 21:15
21:21 fglock left
allbery_b afaik they're both stages in the ongoing pugs and parrot implementations of the perl6 spec 21:21
Eidolos NQP isn't intended to be a full Perl 6 imp 21:23
it's supposed to be a minimal version to make tree transformations easier, I think
markstos_ Right, I understand that both are supposed to be specific sub-sets of Perl 6.
Eidolos (to displace PIR for that) 21:24
I'm not sure what KP6 is :)
except that it's similar
markstos_ svn.openfoundry.org/pugs/v6/v6-Kind...cs/FAQ.pod
The FAQ talks about a "parrot backend", but it's clear that this is meant to involve NQP, or direct PIR code. 21:25
Eidolos hmm, maybe KP6 is the end goal of the 6-in-6 project
NQP is pretty new, so I don't know about that
markstos_ I tried NQP today. It had good performance...much better than my experiments with pugs or P6-on-P5. 21:26
I just about to write up a little blog entry about the experience, but I wanted to get my facts and relatioships straight. 21:27
21:27 rindolf left
Eidolos I'll defer to someone who actually has a clue :) 21:27
Eidolos hasn't been following too closely
fglock_ kp6 is mean as a full Perl6 implementation, but before it bootstraps, the source code only uses a subset of Perl6 21:32
meant
several kp6 runtime modules are already compiled by kp6 21:33
markstos_ Thanks for the answer, fglock_ 21:36
So, does it use "NQP" as a backend at all? How is the parrot backend of kp6 used? 21:37
21:38 xinming joined 21:41 stevan_ left, stevan_ joined 21:42 renormalist joined
markstos_ is downloading v6 0.19 now. 21:42
21:42 fglock joined
fglock kp6 could use parrot through the emitters that were developed for mp6, but they are still quite incomplete 21:43
21:43 justatheory left
markstos_ And I suppose it could use parrot in one of two ways. It could emit direct "PIR" code, or it could emit NPQ compatible Perl6 syntax. 21:45
fglock yes, mp6 worked both ways
markstos_: kp6 source code is currently 3/4 Perl6, 1/4 Perl5
markstos_ Neat. I'm downloading now to test the performance and compare it vs NQP. 21:46
fglock it's not meant to be fast
the priority is correctness 21:47
markstos_ Computers will catch up eventually. :)
fglock the optimizations are 2 phases ahead in the roadmap 21:48
markstos_ I saw that.
In a recent P6 design meeting, Patrick talked about starting to use NQP to write more of Perl6-on-Parrot: use.perl.org/~chromatic/journal/34132 21:49
lambdabot Title: Journal of chromatic (983) 21:50
fglock we've talked a bit about working out a plan together, but this is yet to happen 21:51
markstos_ I was guessing the efforts were separate for now.
My attempt to install v6 0.19 just failed with: "Can't locate Module/CompileV6.pm"
fglock oops - what's that 21:52
markstos_ The ChangeLog says " added: Module::CompileV6", but it is not part of the distribution. 21:54
21:54 fglock_ left
fglock still here 21:54
markstos_ Maybe there was a missing entry in the MANIFEST for this?
21:55 jedai left
markstos_ \ 21:56
fglock the svn log says i added this module in May - I'll add it to MANIFEST
pugs_svnbot r17447 | fglock++ | [v6.pm] added lib/Module/CompileV6.pm to MANIFEST - markstos++ 21:58
diff: dev.pugscode.org/changeset/17447
lambdabot Title: Changeset 17447 - Pugs - Trac
renormalist fglock: is v6 on CPAN the same as kp6 or mp6 in pugs? 22:01
fglock v6.pm is perl5/Pugs-Compiler-Perl6/ 22:02
it is written mostly in Perl5
markstos_ We could use a README here to explain "you are in the wrong place": svn.openfoundry.org/pugs/v6/v6.pm/ 22:03
lambdabot Title: Revision 16464: /v6/v6.pm
fglock svn.openfoundry.org/pugs/v6/README 22:04
it needs an update
markstos_ Ah. :)
Ok, once I manually downloaded CompileV6.pm, all the tests passed. 22:05
fglock markstos_: may I add you as comaintainer? 22:06
renormalist I dont find a Module::CompileV6.
(I just try to install v6 too) 22:07
fglock renormalist: svn.pugscode.org/pugs/perl5/Pugs-Co...mpileV6.pm 22:08
lambdabot tinyurl.com/28gr9o
fglock it was left out by mistake
markstos_ fglock: you may. The project is interesting to me, but I'm mostly overbooked with my time now. ( I should really be mowing the yard now... ). 22:09
renormalist and where did markstos_ get it? markstos_ ?
markstos_ I used: wget svn.openfoundry.org/pugs/perl5/Pugs...mpileV6.pm
lambdabot tinyurl.com/28d5us
markstos_ and then I saved it in the blib/lib directory, and after that, "make test" and "make install" passed.
I tried this for a basic test: "echo 42.say | perl -e 'use v6-alpha'" it worked, but I got three warnings about uninitialized values. 22:10
fglock: I believe I'm already a pugs committer, although I don't have an up-to-date tree. 22:11
I just compared the performance of "say(42)" with kp6 and NQP. kp6: 5.6 seconds. NQP: 0.3 seconds... about 15x faster! However kp6 supports 42.say, but with NQP, I had to use a less sugary syntax: say(42); 22:16
fglock markstos_: if you try it again, it might be faster - v6 uses several cache structures 22:17
markstos_: you can now upload v6 to pause if you'd like
22:18 yahooooo joined
markstos_ Thanks. 22:19
flgock: I wasn't faster the second time. But I can try once more. :)
Or rather, I should say: that's how fast it ran after some repeated runs. 22:20
renormalist markstos_: re v6: did you classical perl Makefile.PL, make test, make install or is there something more. My test are all "dubious" ...
markstos_ But as you said, correctness, not performance is the priority, and it worked correctly.
renormalist: yes. that's what I did. 22:21
renormalist what perl version do I need ? is 5.8.8 enough?
markstos_ "dubious" often means "premature" death.
Yes.
Run just one test and see how it fails. prove -v t/something.t 22:22
You'll also need the "-b" flag.
22:23 scw left
renormalist ah, moment, maybe I am using a wrong perl ... 22:24
fglock re correctness - that was kp6 :)
22:24 scw joined
fglock sleep & 22:29
markstos_ Good night!
22:29 fglock left
Eidolos Synopsis 4 has a typo "argments" 22:35
22:37 jedai joined 22:54 jedai left
pugs_svnbot r17448 | sartak++ | r37386@onn: sartak | 2007-08-25 18:54:59 -0400 22:59
r17448 | sartak++ | Two small test description fixes
diff: dev.pugscode.org/changeset/17448
lambdabot Title: Changeset 17448 - Pugs - Trac
pugs_svnbot r17449 | sartak++ | r37392@onn: sartak | 2007-08-25 19:05:25 -0400 23:08
r17449 | sartak++ | Corrected a sentence
diff: dev.pugscode.org/changeset/17449
lambdabot Title: Changeset 17449 - Pugs - Trac
Eidolos extra karma for using svk? hehe 23:12
23:13 elmex left
markstos_ I published my new "Not Quite Perl" blog piece. I need to be away from IRC from a bit now, but I'll try to address any feedback when I return. 23:17
pugs.blogs.com/pugs/
lambdabot Title: Pugs
23:26 qmole left 23:31 franck___ joined 23:33 polettix left
renormalist markstos_: thanks for the blog entry. I love it to read articles on pugs.blogs.com. En passant I now know how to call nqp. Thanks. 23:35
markstos_ renormalist: you are welcome. And *now* I should really do some yard work. :) 23:40
23:42 franck___ left
renormalist markstos_: what confuses me again is, you call you example with "use v6-alpha" KindaPerl6. Isn't kp6 the Perl6-in-Perl6 implementation and v6 is (yet another) Perl6-in-Perl5 implementation? See my question to fglock above. 23:47
23:48 Harleaquin_ left