Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2007-11-27

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

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

Perl 6 | Reference Documentation | Rakudo