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:00 lambdabot_ left 00:04 silug joined 00:06 theorbtwo joined
pugs_svn r18922 | fglock++ | [kp6] t/kp6/46-hash-item-bind.t resolved 00:06
00:08 lambdabot_ joined 00:11 fglock left 00:17 theorb left 00:21 devogon left 00:25 lambdabot left, lambdabot joined 00:39 Limbic_Region left 00:44 jjore-m left 00:47 jjore-m joined 00:57 luqui joined 01:04 chris2 left 01:05 drupek12 joined 01:06 nipotaway is now known as nipotan, NoNaME left 01:14 penk left 01:26 polettix left 01:29 jjore-m left 01:33 ispy_ joined 01:43 justatheory left 01:46 penk joined 01:51 zakame joined 02:24 thoughtpolice joined 02:27 aindilis left 02:28 Casan left 02:31 aindilis joined 02:42 weinig left, kanru joined 02:51 ramza3 joined 03:34 zakame left 03:35 zakame joined 03:48 weinig joined 03:51 thoughtpolice left 03:52 thoughtpolice joined 04:02 justatheory joined 04:08 nnunley joined 04:12 weinig left 04:13 weinig joined, ispy_ left 04:15 qmole left 04:18 REPLeffect joined 04:20 zakame left 04:21 zakame joined 04:23 Caelum joined 05:04 baest left 05:09 baest joined 05:28 araujo left 06:06 Caelum left 06:07 bd_ joined 06:08 bd_ left 06:27 alc joined 06:28 jisom joined 06:47 cognominal_ left 06:56 alc left 06:57 devogon joined 07:03 alc joined 07:05 thoughtpolice left, justatheory left 07:06 kanru left, kanru2 joined 07:30 kanru2 left 07:36 REPLeffect left 07:38 IllvilJa left 07:54 jjore-m joined 07:55 Caelum joined 07:58 Aankhen`` joined 08:02 iblechbot joined 08:05 Southen left 08:07 alc left 08:08 alc joined 08:18 franck___ joined 08:37 mj41___ joined 08:47 jisom_ joined, jisom left 08:50 ebassi joined 08:55 mj41 left 08:56 B34 joined 09:04 Southen joined 09:05 IllvilJa joined 09:06 zamolxes left 09:11 B34 left 09:24 qmole joined 09:30 Alias_ joined, polettix joined 09:38 cmarcelo left 09:40 NoNaME joined 09:46 jisom joined 09:51 lambdabot_ left 09:52 zamolxes joined 10:03 jisom_ left 10:17 luqui left, lichtkind joined 10:18 fglock joined 10:21 penk left 10:30 cognominal_ joined 10:35 chris2 joined 10:37 mj41___ left 10:38 ebassi left 10:52 kanru joined 11:02 kanru left
pugs_svn r18923 | fglock++ | [kp6-kp6] script/kp6-kp6.pl loads a source file... 11:16
11:23 jisom left 11:51 ebassi joined
lichtkind obra: hello jesse 11:52
12:08 iblechbot left 12:09 drrho joined 12:14 agentzh left 12:21 mj41 joined 12:23 masak joined 12:26 NoNaME left 12:34 jovs is now known as rookie, rookie is now known as jovs 12:41 Lorn joined 12:43 drupek12 left, drupek12 joined 12:52 fglock left, drupek12 left 12:56 chris2 left 12:57 faxathisia joined 13:08 ebassi is now known as ebassi|lunch, ebassi|lunch left 13:09 ebassi joined, ebassi is now known as ebassi|lunch 13:26 iblechbot joined 13:28 smtms joined 13:36 iblechbot left 13:40 masak left 13:42 ebassi|lunch is now known as ebassi, masak joined 13:43 fglock joined 13:44 drupek12 joined 14:07 pmurias joined
pmurias fglock: i get Undefined subroutine &main:: called at compiled/perl5-kp6-kp6/lib//KindaPerl6/Runtime/Perl5/Container.pm line 318, <> line 24. 14:08
when i run perl -I compiled/perl5-kp6-kp6/lib/ script/kp6-kp6.pl examples/hello.pl
14:10 stevan_ joined 14:12 iblechbot joined
pmurias is it supposed for that error to happen? (the last commit message implied the source gets slurped) 14:14
14:14 funktio left
masak @users 14:20
lambdabot Maximum users seen in #perl6: 140, currently: 139 (99.3%), active: 3 (2.2%)
moritz_ wow
14:21 funktio joined
masak chances are that this lambdabot++ hasn't been here so long, though 14:21
moritz_ @karma lambdabot
lambdabot lambdabot has a karma of 52
14:22 djm joined
masak so 140 is probably low compared to, say, mid-2005 14:22
moritz_ @karma autrijus
lambdabot autrijus has a karma of 6
fglock pmurias: the error seems to happen after slurp is executed
Gekz @karma gekz 14:24
lambdabot You have a karma of 0
Gekz yay
14:24 ggoebel left
moritz_ at least it's not undef ;) 14:24
Gekz lol 14:29
14:40 araujo joined
pmurias dlocaus: ping 14:47
14:50 TJCRI joined 14:53 nipotan is now known as nipotaway, jovs is now known as rookie, rookie is now known as jovs 15:13 nnunley left
pmurias i get Unknown arguments to TAP::Harness::new (verbosity) at script/run_tests.pl line 185 15:17
15:20 penk joined, thepler joined 15:22 Psyche^ joined 15:28 Alias_ left 15:39 Patterner left, Psyche^ is now known as Patterner
pugs_svn r18924 | fglock++ | [kp6-perl5] added @a[] and %a{} (empty index/key list) 15:41
15:48 drupek12 left, faxathisia left 15:51 c9s left 16:01 c9s joined 16:10 weinig left 16:12 mncharity joined
pugs_svn r18925 | fglock++ | [kp6-perl5] a step for supporting objects as hash-keys 16:13
16:20 Loro_ left 16:23 amnesiac joined 16:34 stevan_ left, stevan_ joined
Tene kp6: @a[] 16:35
exp_evalbot r18925: OUTPUT[error in Block at compiled/perl5-kp6-mp6/lib/KindaPerl6/Grammar/Sub.pm line 753, <> line 1.␤*** Syntax Error in Block: missing closing curly bracket ␤]
fglock hmm 16:43
kp6: my @a; say "array: @a[]" 16:44
exp_evalbot r18925: OUTPUT[array: ␤]
16:46 Psyche^ joined 16:47 tokuhir__ joined 16:48 jovs left
pmurias kp6: my @a=(1,2,3);say "@a[]"; 16:51
exp_evalbot r18925: No output (you need to produce output to STDOUT) 16:52
pugs_svn r18926 | fglock++ | [kp6-perl5] minor fix to @a[]/%a{} 16:54
fglock kp6: my @a=[1,2,3];say "@a[]";
exp_evalbot r18926: OUTPUT[1 2 3␤]
masak why "@a[]" and not just "@a"? 17:00
17:02 Patterner left, Psyche^ is now known as Patterner
moritz_ masak: because of email addresses, I think 17:03
17:04 tokuhiro_ left
pugs_svn r18927 | fglock++ | [kp6-perl5] allow slices in lazy structures 17:09
masak moritz_: ah. 17:10
17:10 alc left 17:12 alc joined
fglock yay - perl t-bootstrap/01-quote.t passes 17:14
17:17 dlocaus joined
dlocaus hello 17:17
moritz_ fglock++
dlocaus pmurias: checking into that verbosity error
17:18 alc left 17:19 alc joined 17:21 weinig joined 17:23 IllvilJa left 17:24 hanekomu joined
pmurias dlocaus: hi 17:24
dlocaus pmurias: pong 17:25
pmurias: I'm checking in to that verbosity error
I know that's the right "keyword", I'll see about putting some warnings in there
pmurias dlocaus: does run_tests work on your box? 17:26
dlocaus yes
what version of TAP::Harness are you using?
17:26 cmarcelo joined 17:27 barney joined 17:28 dlocaus left, masak left, dlocaus joined
pmurias dlocaus: 3.03 17:29
and you?
dlocaus 3.03
pugs_svn r18928 | dlo++ | [kp6] Fixed a documentation mis-understanding 17:31
17:31 jjore-m left
pugs_svn r18929 | fglock++ | [kp6] kp6-kp6.pl - s/length/chars/ 17:35
r18929 | fglock++ | [kp6-perl5] - emit an error message if length() is used
pmurias dlocaus: not passing verbosity if it's at default might be a fix
dlocaus well, I'm wondering if you have TEST_VERBOSE set 17:36
in your enviroment because, that will pass the Getopt::Long screening
pmurias: I've put in extra checking, can you give it a look see? 17:39
pugs_svn r18930 | dlo++ | [kp6] Extra checking for --verbose or TEST_VERBOSE 17:40
pmurias dlocaus: i don't have TEST_VERBOSE set
dlocaus pmurias: did you try updating to the latest run_tests.pl? 17:41
pmurias it dosn't work 17:42
pugs_svn r18931 | fglock++ | [kp6-perl5rx] added some boxing to Match result
pmurias i meant delete $tap->{verbosity} if it is equal to 0 (or not defined) 17:43
dlocaus scratches his head 17:44
well, I'll give that a shot 17:46
does anyone know the regex for finding a number that is possibly negative?
/^-?\d+$/ 17:47
moritz_ integer or number?
generally ^[+-]?\d+$ for integers
pugs_svn r18932 | dlo++ | [kp6] TAP::Harness appears to fail if verbosity is set. This is a quick fix to remove verbosity if it is set to the default value 17:50
dlocaus pmurias: I've updated run_tests.pl to delete verbosity if it is set to the default value 17:51
pmurias works :) 17:52
17:53 franck___ left
dlocaus yea! 17:53
moritz_ dlo++ 17:54
clkao /win/win 58 17:55
moritz_ anybody with 58 irssi windows is an IRC addict ;) 17:56
pugs_svn r18933 | pmurias++ | [kp6] Routine calls APPLY on it's contents instead of depending on internals 18:02
18:03 justatheory joined 18:04 IllvilJa joined 18:08 jjore-m joined 18:15 drrho left 18:17 drupek12 joined 18:27 jjore-w joined
pugs_svn r18934 | fglock++ | [kp6-kp6] got some AST with: $ perl -I lib5regex -I compiled/perl5-kp6-kp6/lib script/kp6-kp6.pl <<< 1 18:31
18:32 polettix left 18:33 ebassi left
TimToady kp6: my @a = [1,2,3]; say @a.elems 18:33
exp_evalbot r18934: OUTPUT[3␤]
TimToady that's not the perl6 answer...
pmurias right, it should be 1 18:34
TimToady could be okay for "kinda" though
moritz_ kp6: my @a = (1, 2, 3); say @a.elems; 18:35
exp_evalbot r18934: OUTPUT[3␤]
pmurias TimToady: BEGIN blocks are run at parse time? 18:36
moritz_ kinda-answer... yes, 3 is not so much different from 1 ;)
TimToady pmurias: yes, as soon as they are done parsing
more specifically, the moment the trailing } is parsed, since BEGIN {...} + 1 could change the parsing of + 18:38
biab & 18:40
18:48 pbuetow left 18:49 pbuetow joined 18:50 hanekomu left
pugs_svn r18935 | fglock++ | [kp6] fixed 'List' loop implementation 18:51
fglock pugs: my $a = [1,2,3]; say $a.elems; my @b = [1,2,3]; say @b.elems ; 18:54
exp_evalbot OUTPUT[3␤1␤]
18:55 avar left, avar joined 19:05 jjore-m left
dlocaus perl5.10.0 RC2 appeared to run the kp6 tests ok. There was an odd strict.pm (cannot be found), and 02-gather.t failed (I'm assuming because it couldn't find Coro), but other than that everything appeared to test ok. 19:29
I didn't want to fully install 5.10, since I want my workstation to continue working :)
fglock dlocaus: nice :) 19:32
dlocaus ty 19:33
pugs_svn r18936 | fglock++ | [kp6-kp6] more tests 19:35
dlocaus dog bath time... 19:37
pugs_svn r18937 | fglock++ | [kp6-kp6] fix test count 19:43
r18938 | fglock++ | [kp6] added TODO 19:46
fglock &
pugs_svn r18939 | fglock++ | [kp6-perl5rx] Match.perl (started) 20:02
dlocaus dogs like winter bath when there is warm water available :) 20:09
fglock: is there anything that needs doing? 20:11
20:11 xinming_ joined
dlocaus @users 20:11
lambdabot Maximum users seen in #perl6: 143, currently: 140 (97.9%), active: 3 (2.1%)
20:11 amnesiac left
fglock un-& 20:12
dlocaus: sure there is :)
I need to take a closer look
most tasks vary from difficult to impossible ;P 20:13
looking for simple things to bring from the STD grammar to kp6 would be nice 20:15
dlocaus it is good to ask sometimes :)
ok
pugs_svn r18940 | fglock++ | [kp6-perl5rx] improved Match.perl a bit 20:16
20:17 Schwern joined
fglock dlocaus: fixing Junctions should not be terribly difficult, you already know a lot about the internals 20:17
it might be fun
dlocaus 39-junction.t 20:18
50-junction-all.t
These 2?
fglock yes - the place to look is the APPLY method, somewhere in the MOP
dlocaus ok
fglock and the Perl 6 spec 20:19
and the Signature module
hmm - and the Junction module
moritz_ iirc the problem is that $junction.method autothreads even if method is defined in class Junction
fglock yes, .APPLY should check the function signature and decide what to do 20:20
20:24 xinming left
fglock home & 20:24
20:24 lumi joined 20:25 xinming joined 20:38 xinming_ left 20:42 fglock left 21:11 weinig left 21:17 ajs__ is now known as ajs, Caelum left 21:24 Caelum joined 21:29 Lorn left
pugs_svn r18941 | dlo++ | [kp6] Updated kp6 to properly send (dollar)out to (dollar)output in all cases. Also, if -o is specified the code will not attempt to run if no other option is specified B or C. I believe this should be correct behavior 21:37
dlocaus moritz_: ping? 21:43
moritz_ dlocaus: pong!
dlocaus what does p5landish mean? in the context of MOP.pm?
moritz_ I'm not entirely sure... but each p6 object has a p6 way to view at it, and one in the emitted code 21:44
so I guess p5landish is the "interface" of a p6 objected in the p5 code (either emitted or runtime) 21:45
dlocaus uhrmm.. ok
ok, I can understand that part
but what does "p5landish" mean?
p5 = perl5
landish means ???
moritz_ "belonging to perl 5 land"
Aankhen`` dlocaus: It's basically a Perl 6 -> Perl 5 conversion function, IIRC. 21:46
dlocaus ah, ok
moritz_ Aankhen``: how does your coding absence work for you?
21:46 thoughtpolice joined
Aankhen`` dlocaus: You may have a Perl 6 string object that you want to compare using `eq`, for example. The object itself would be a Perl 6 object, and you'd use p5landish on it to get at the actual string contained within it so you can compare it. 21:47
21:47 peerpeer joined
Aankhen`` moritz_: Oh, the sabbatical was finished a while ago, but I decided it would be better if I didn't work on kp6-lisp. 21:47
moritz_ Aankhen``: allright
21:50 peerpeer left
pugs_svn r18942 | dlo++ | [kp6] Documented the meaning of p5landish 21:56
r18942 | dlo++ |
r18942 | dlo++ | You have a Perl 6 string object that you want to compare using `eq`, forexample. The object itself would be a Perl 6
r18942 | dlo++ | object, and you would usep5landish on it to get at the actual string contained within it so you cancompare it.In
r18942 | dlo++ | short, p5landish returns the actual value contained in the object.
r18942 | dlo++ |
r18942 | dlo++ | See:
r18942 | dlo++ | irclog.perlgeek.de/perl6/2007-11-27#i_152004
lambdabot Title: IRC log for #perl6, 2007-11-27
Aankhen`` It's not really so much "the actual value" as "a Perl 5–ish view of the object", but I suppose that definition is a tad recursive. 22:00
22:04 TJCRI left 22:05 Alias_ joined 22:16 pmurias left 22:24 Alias_ left 22:29 barney left 22:31 Aankhen`` left 22:36 DarkWolf84 joined
pugs_svn r18943 | dlo++ | [kp6] Added parent for ::Str 22:37
22:45 [particle] joined, cmarcelo left, cmarcelo joined 22:50 rafl left, rafl joined 23:02 Alias_ joined
pugs_svn r18944 | dlo++ | [kp6] cleaned up indentiation 23:04
r18945 | dlo++ | [kp6] 23:17
r18945 | dlo++ |
r18945 | dlo++ | I have serious doubts about this commit (fglock - ping!). fglock directed me towards the APPLY / Signature and so
r18945 | dlo++ | on, however, it appears that $::Str just needed a "say" method added to it.
r18945 | dlo++ |
r18945 | dlo++ | The doubts are mostly because what fglock said does not even remotely apply to the fix.
r18945 | dlo++ |
r18945 | dlo++ | irclog.perlgeek.de/perl6/2007-11-27#i_151982
lambdabot Title: IRC log for #perl6, 2007-11-27
pugs_svn r18945 | dlo++ | 23:18
r18945 | dlo++ | dlocaus @ #perl6 irc.freenode.net
23:36 iblechbot left 23:49 Caelum left