Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-06-17

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:18 Juerd mncharity: Actually, I hope that Perl 6 will actually split on a string rather than regexify the string.
00:20 mncharity Juerd: curious.  why?
00:20 mncharity oh, you mean if it's a string, not an rx.  nm. :)
00:20 Juerd split('|') should split on /\|/
00:21 Juerd Or, well, the equivalent thereof. It'd be insane to actually use the regex engine for this :D
00:27 mncharity use Dialect::Juerd;   ;)
00:30 Juerd You mean #!/usr/bin/perlego :D
01:01 Auzon rakudo: package Foo {my $var = 1; say $Foo::var}
01:01 p6eval rakudo r28448 OUTPUT[Statement not terminated properly at line 1, near "{my $var ="␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
01:01 Auzon rakudo: package Foo {my $var = 1; say $Foo::var};
01:01 p6eval rakudo r28448 OUTPUT["load_bytecode" couldn't find file 'PGE.pbc'␤current instr.: 'parrot;Grammar;onload' pc 8247 (src/gen_builtins.pir:5366)␤
01:02 Auzon rakudo: package Foo {my $var = 1; say $var};
01:02 p6eval rakudo r28448 OUTPUT[Statement not terminated properly at line 1, near "{my $var ="␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
01:02 Auzon rakudo: package Foo {sub test {my $var = 1; say $var}}; Foo::test;
01:02 p6eval rakudo r28448 OUTPUT[Statement not terminated properly at line 1, near "{sub test "␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
01:02 Auzon rakudo: package Foo {sub test {my $var = 1; say $var;}}; Foo::test;
01:02 p6eval rakudo r28448 OUTPUT[Statement not terminated properly at line 1, near "{sub test "␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
01:03 Auzon rakudo: class Foo {sub test {my $var = 1; say $var;}}; Foo.test;
01:03 p6eval rakudo r28448 OUTPUT[Method 'test' not found for invocant of class ''␤current instr.: '_block11' pc 34 (EVAL_11:19)␤
01:03 Auzon I didn't imagine this would be so hard
01:14 mncharity Juerd: perlego?  oh, ego.  no - p6 is *supposed* to evolve.
01:15 mncharity Auzon: which/what?
01:15 Auzon getting Rakudo to let me define some package and refer to a var inside it by the full name
01:15 Auzon maybe Rakudo fails it...?
01:16 mncharity you are writing tests?  if so, does it matter what implementations are/aren't doing?
01:16 Juerd mncharity: -eg-o, esperanto suffix for something that is greater than the original.
01:16 Juerd s/original/stem/
01:16 mncharity ahhhh :)
01:16 mncharity nifty
01:16 Juerd And it reads nicely as "per lego" ;)
01:16 Auzon mncharity: Yes, I'm writing tests. I just could've sworn that this capability was present, and I like to sanity check myself.
01:16 mncharity (my first parse:-)
01:18 mncharity re sanity, *nod*.  sanity is nice, as long as the price is reasonable :P
01:18 Auzon rakudo: class Foo {method test {my $var = 1; say $var;}}; Foo.new.test;
01:18 p6eval rakudo r28448 OUTPUT[1␤]
01:19 Auzon rakudo: class Foo {method test {my $var = 1; say $Foo::var;}}; Foo.new.test;
01:19 p6eval rakudo r28448 OUTPUT[␤]
01:19 Auzon Of course, that's not what I'm trying to actually test...
01:21 Auzon perl6: package Foo {say 'ok';};
01:21 p6eval kp6 r20842: OUTPUT[no method 'APPLY' in Class 'Undef'␤ at compiled/perl5-kp6-mp6/lib/KindaPerl6/Runtime/Perl5/MOP.pm line 345␤
01:21 p6eval ..pugs: OUTPUT[ok␤]
01:21 p6eval ..rakudo r28448: OUTPUT[Statement not terminated properly at line 1, near "{say 'ok';"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
01:21 p6eval ..elf r20842: OUTPUT[syntax error at ./elf_f_faster line 3160, near ") ~"␤syntax error at ./elf_f_faster line 3161, near "))"␤syntax error at ./elf_f_faster line 3162, near "}elsif"␤Global symbol "$m" requires explicit package name at ./elf_f_faster line 3162.␤Execution of ./elf_f_faster aborted
01:21 p6eval ..due to compila...
01:21 Auzon pugs: package Foo {my $var = 'ok'; say $Foo::var
01:21 p6eval OUTPUT[*** ␤    Unexpected end of input␤    expecting operator, ":", "," or "}"␤    at /tmp/OvBMHT12oe line 2, column 1␤]
01:21 Auzon pugs: package Foo {my $var = 'ok'; say $Foo::var}
01:21 p6eval OUTPUT[␤]
01:22 Auzon pugs: package Foo {our $var = 'ok'; say $Foo::var}
01:22 p6eval OUTPUT[␤]
01:24 Auzon pugs: $Foo::var = 'ok'; say $Foo::var;
01:24 p6eval OUTPUT[ok␤]
01:24 Auzon perl6: $Foo::var = 'ok'; say $Foo::var;
01:24 p6eval kp6 r20842: OUTPUT[ok␤]
01:24 p6eval ..pugs: OUTPUT[ok␤]
01:24 p6eval ..rakudo r28448: OUTPUT[ok␤]
01:24 p6eval ..elf r20842: OUTPUT[syntax error at ./elf_f_faster line 3160, near ") ~"␤syntax error at ./elf_f_faster line 3161, near "))"␤syntax error at ./elf_f_faster line 3162, near "}elsif"␤Global symbol "$m" requires explicit package name at ./elf_f_faster line 3162.␤Execution of ./elf_f_faster aborted
01:24 p6eval ..due to compila...
01:25 Auzon That'll work
01:28 Ched- joined #perl6
01:35 pugs_svnbot r20843 | putter++ | [elf] Reverted the =~ to ~~ change.  Clarified the role of the list of elf "deviations"/idioms.  Extended the autobox->type api-breakage workaround - autobox <2.53 works again.  Test results updated.
01:44 mncharity say 3
01:44 mncharity elf: say 3
01:44 p6eval OUTPUT[3␤]
01:45 Auzon yay mncharity++
01:47 pugs_svnbot r20844 | Auzon++ | [gsoc_spectest] new tests for S02 (types and name syntax). (added 11 tests)
01:47 Auzon night &
02:19 mncharity 'night Auzon
02:26 ruoso joined #perl6
02:38 a-jing joined #perl6
02:38 a-jing left #perl6
02:49 Schwern joined #perl6
02:49 Alias_ joined #perl6
03:19 penk joined #perl6
03:23 cjfields joined #perl6
04:06 CoduMonkey joined #perl6
04:08 Alias__ joined #perl6
04:11 Eevee rakudo: say 'aba'.split('b')
04:11 p6eval rakudo r28454 OUTPUT[aa␤]
04:12 Eevee rakudo: say ''.split('foo')
04:12 p6eval rakudo r28454 OUTPUT[␤]
04:22 * kolibrie commits his slides to http://feather.perl6.nl/~kolibrie/extraction.xul
04:22 kolibrie please take a look and give comments or suggestions
04:22 kolibrie I'll check back here after I sleep
04:24 kolibrie TimToady: how do I specify the result object instead of the match object in my regex?
04:25 kolibrie talk will be presented in 13.5 hours
04:26 kolibrie &
04:30 pugs_svnbot r20845 | putter++ | t/spec/S16-io/print.t: print a "1..12\n" plan line.
04:38 TimToady kolibrie: depends on what you mean by "specify".  If you mean "refer to", it's just $$/ or $(), since it's the item slot within the Match object that is the result object.   If you mean "set", then you do that with either <( )> or with { make $result }
04:41 TimToady mncharity: split on a string is specced to be literal string, not regex.  In fact, it's the very first sentence under "split" in Functions.pod
04:42 TimToady aka S29
04:42 mncharity Juerd: ^^
04:43 TimToady ah, yes, I misread, thanks
04:43 mncharity np :)
04:53 TimToady kolibrie: these days I would probably write \< as '<', but that's just because quotes do a better job of saying "quote" to me than backslash does, esp with \< meaning word boundary in much of regex culture
04:56 mncharity pugs: my @x[0] = 10000; ++@x
04:56 p6eval RESULT[(2,)]
04:56 mncharity pugs: my @x[0] = 10000; say ++@x; say +@x
04:56 p6eval OUTPUT[2␤1␤]
04:59 cjfields left #perl6
05:09 pugs_svnbot r20846 | pmichaud++ | S02-builtin_data_types/type.t:
05:09 pugs_svnbot r20846 | pmichaud++ | Add #?rakudo skip for int, num native type tests
05:09 rakudo_svn r28455 | pmichaud++ | [rakudo]:
05:09 rakudo_svn r28455 | pmichaud++ | * Make 'a'..'z' and other string magic autoincrements work.
05:12 CoduMonkey joined #perl6
05:36 mncharity One way someone/anyone could help out with elf is to pour the Snn operator signatures into elf/elf_f_src/PrimitivesP5.pm.  Even if you don't write the sub bodies, simply having the ops defined will avoid 'infix:foo is undefined' test deaths.
05:36 pugs_svnbot r20847 | putter++ | [elf] foofix: operators can now be defined as multis in the prelude.  The operators elf itself uses are still inlined.  Added assorted operators to PrimitivesP5.pm.  One real regression is n-ary infix invocation not being made 2-ary, and thus failing (eg '3 <= 4 <= 5').
05:40 BinGOs joined #perl6
06:17 iblechbot joined #perl6
06:36 avar What's split on a regex then?
06:43 Jedai joined #perl6
06:50 Psyche^ joined #perl6
07:02 xinming joined #perl6
07:03 mj41_ joined #perl6
07:10 a-jing joined #perl6
07:43 Alias_ joined #perl6
07:43 xinming joined #perl6
07:51 lambdabot joined #perl6
07:58 elmex joined #perl6
08:16 mj41_ joined #perl6
08:17 bacek_ joined #perl6
08:19 pmurias joined #perl6
08:52 pugs_svnbot r20848 | pmurias++ | [STD5_dump_match] filename is now optional,usefull for ./STD5_dump_match <<< "say 1;"
08:57 IllvilJa joined #perl6
08:58 cognominal_ joined #perl6
09:09 rindolf joined #perl6
09:23 donaldh joined #perl6
09:27 yahooooo joined #perl6
09:32 kcwu joined #perl6
09:49 Kattana joined #perl6
10:05 pmurias joined #perl6
10:16 pugs_svnbot r20849 | pmurias++ | removed debugging leftover
10:20 Jedai joined #perl6
10:35 cognominal_ joined #perl6
10:49 pmurias TimToady: have you seen agentz's rule tracer (pugs.blogs.com)? what do you think of it?
10:59 penk left #perl6
11:01 bacek_ pugs: my $l = -> $i { say "i $i" }; for (1..3) $l;
11:01 p6eval OUTPUT[*** ␤    Unexpected "$l"␤    expecting operator or block construct␤    at /tmp/McgDpsSo8A line 1, column 42␤]
11:01 bacek_ pugs: my $l = -> $i { say "i $i" }; for (1..3) -> $l;
11:01 p6eval OUTPUT[*** ␤    Unexpected end of input␤    expecting formal parameter, trait or block␤    at /tmp/LdxavcNray line 2, column 1␤]
11:01 bacek_ pugs: my $l = -> $i { say "i $i" }; for (1..3) &$l;
11:01 p6eval OUTPUT[*** ␤    Unexpected ";"␤    expecting "::", term postfix, operator or block construct␤    at /tmp/YnWW4P8vel line 1, column 45␤]
11:02 moritz_ bacek_: perl 6 grammar requires { and }
11:02 bacek_ pugs: my $l = -> $i { say "i $i" }; for (1..3) { &$l };
11:02 p6eval RESULT[undef]
11:02 bacek_ strange...
11:03 a-jing joined #perl6
11:03 a-jing left #perl6
11:03 bacek_ pugs: my $l = -> $i { say "i $i" }; for (1..3) { $l($_) };
11:03 p6eval OUTPUT[i 1␤i 2␤i 3␤]
11:03 luqui joined #perl6
11:03 bacek_ much better :)
11:04 moritz_ bacek_: &$l doesn't call $l
11:06 bacek_ pugs: my $l := -> $i { say "i $i" }; for (1..3) { l($_) };
11:06 p6eval OUTPUT[*** No such subroutine: "&l"␤    at /tmp/nXrJtDGER0 line 1, column 45-51␤]
11:07 moritz_ bacek_: use my &l := ...
11:08 bacek_ pugs: my &l := -> $i { say "i $i" }; for (1..3) { l($_) };
11:08 p6eval OUTPUT[i 1␤i 2␤i 3␤]
11:08 * bacek_ is definitely stupid now...
11:09 moritz_ why?
11:10 bacek_ hard day night...
11:12 * pmurias is going to sleep before 11 today ;)
11:13 pmurias s/11/23/
11:14 pmurias pugs: my $l = -> $i { say "i $i"};$l.(1);
11:14 p6eval OUTPUT[i 1␤]
11:14 * bacek_ going to sleep very soon... And it's only 21:15...
11:15 bacek_ pugs:  my $i=1; my &s=sub { say $i}; $i=42; s();
11:15 p6eval OUTPUT[*** s{...}{...} is deprecated; write s{...}='...' instead.␤    at /tmp/c0ugfhOxWh line 1, column 42␤*** ␤    Unexpected end of input␤    expecting block, "\\", variable name, ";" or "("␤    at /tmp/c0ugfhOxWh line 2, column 1␤]
11:16 bacek_ yak
11:16 bacek_ pugs:  my $i=1; my &s{} = { say $i}; $i=42; s();
11:16 p6eval OUTPUT[*** s{...}{...} is deprecated; write s{...}='...' instead.␤    at /tmp/wfOELEDvhr line 1, column 42␤*** ␤    Unexpected end of input␤    expecting block, "\\", variable name, ";" or "("␤    at /tmp/wfOELEDvhr line 2, column 1␤]
11:16 bacek_ pugs:  my $i=1; my &s{} = -> { say $i}; $i=42; s();
11:16 p6eval OUTPUT[*** s{...}{...} is deprecated; write s{...}='...' instead.␤    at /tmp/yE1vPs7W7B line 1, column 45␤*** ␤    Unexpected end of input␤    expecting block, "\\", variable name, ";" or "("␤    at /tmp/yE1vPs7W7B line 2, column 1␤]
11:16 bacek_ pugs:  my $i=1; my $s = -> { say $i}; $i=42; $s.();
11:16 p6eval OUTPUT[42␤]
11:17 bacek_ hmm... Isn't lambda suppose to capture arguments?
11:22 spinclad_ no arguments there
11:22 spinclad_ $i is from outer scope
11:22 xinming_ joined #perl6
11:23 bacek_ spinclad_, ok. Next question: 'Isn't lambda suppose to capture whole scope'?
11:29 pmurias bacek_: lambdas are closures, so if i understand correclty yes
11:29 pmurias * correctly
11:30 SamB well, in a real functional language a lambda only needs to capture it's free variables
11:31 SamB but I guess perl functions can have *all* of the variables free rather easily...
11:32 pmurias SamB: i think in perl5 it's also that way
11:32 SamB and Python...
11:33 a-jing joined #perl6
11:33 a-jing left #perl6
11:34 redicaps joined #perl6
11:45 krienke joined #perl6
11:54 pbuetow joined #perl6
12:14 dmq joined #perl6
12:21 iblechbot joined #perl6
12:22 spinclad_ bacek_: $i was captured, as a settable container.
12:23 cognominal_ joined #perl6
12:25 spinclad_ pugs: my $i = 1; my $s = -> { $i = 42; }; say $i; $s.(); say $i;
12:25 p6eval OUTPUT[1␤42␤]
12:26 spinclad_ pugs: my $i = 1; my $s = -> { say $i}; $s.(); $i = 42; $s.();
12:26 p6eval OUTPUT[1␤42␤]
12:30 spinclad_ pugs: my $s = -> { my $i = 1; my $t = -> { say $i }; my $u = -> { $i = 42; }; return ($t, $u); }; my ($x, $y) = $s.(); $x.(); $y.(); $x.();
12:30 p6eval No output (you need to produce output to STDOUT)
12:31 spinclad_ pugs: my ($a, $b) = (1, 2); say $a, $b;
12:31 p6eval OUTPUT[12␤]
12:32 spinclad_ pugs: my $s = -> { my $i = 1; my $t = -> { say $i }; $t; }; my $x = $s.(); $x.();
12:32 p6eval OUTPUT[1␤]
12:32 spinclad_ pugs: my $s = -> { my $i = 1; my $t = -> { say $i }; my $u = -> { $i = 42; }; ($t, $u); }; my ($x, $y) = $s.(); $x.(); $y.(); $x.();
12:32 p6eval OUTPUT[1␤42␤]
12:33 spinclad_ perl6: my $s = -> { my $i = 1; my $t = -> { say $i }; my $u = -> { $i = 42; }; ($t, $u); }; my ($x, $y) = $s.(); $x.(); $y.(); $x.();
12:33 p6eval kp6 r20849: OUTPUT[DISPATCH_VAR: calling .STORE on an invalid object: $VAR1 = {␤          '_methods' => {},␤          '_isa' => [␤                      {␤                        '_methods' => {␤                                        'PROTOTYPE' => {␤
12:33 p6eval ..        '...
12:33 p6eval ..pugs: OUTPUT[1␤42␤]
12:33 p6eval ..rakudo r28470: OUTPUT[Statement not terminated properly at line 1, near "= -> { my "␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
12:33 p6eval ..elf r20849: OUTPUT[AST handler circumfix:pblock partially unimplemented at ./elf_f_faster line 3170␤]
12:33 TimToady avar: if you want to split on a regex, just write it with /./ instead of '.'
12:35 spinclad_ rakudo: my ($a, $b) = (1, 2); say $a, $b;
12:35 p6eval rakudo r28470 OUTPUT[Method 'lvalue' not found for invocant of class 'PAST::Stmts'␤current instr.: 'parrot;PAST::Compiler;as_post' pc 2787 (src/PAST/Compiler.pir:718)␤
12:36 spinclad_ rakudo: (my $a, my $b) = (1, 2); say $a, $b;
12:36 p6eval rakudo r28470 OUTPUT[Method 'lvalue' not found for invocant of class 'PAST::Stmts'␤current instr.: 'parrot;PAST::Compiler;as_post' pc 2787 (src/PAST/Compiler.pir:718)␤
12:37 spinclad_ rakudo: my $s = -> { my $i = 1; my $t = -> { say $i; }; $t; }; my $x = $s.(); $x.();
12:37 p6eval rakudo r28470 OUTPUT[Statement not terminated properly at line 1, near "= -> { my "␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
12:37 spinclad_ rakudo: my $s = sub { my $i = 1; my $t = sub { say $i; }; $t; }; my $x = $s.(); $x.();
12:37 p6eval rakudo r28470 OUTPUT[Statement not terminated properly at line 1, near ".(); $x.()"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
12:38 spinclad_ rakudo: my $s = sub { my $i = 1; my $t = sub { say $i; }; $t; }; my $x = $s(); $x();
12:38 p6eval rakudo r28470 OUTPUT[1␤]
12:39 spinclad_ rakudo: my $a = (1, 2); say $a;
12:39 p6eval rakudo r28470 OUTPUT[1 2␤]
12:40 spinclad_ rakudo: my $s = sub { my $i = 1; my $t = sub { say $i; }; my $u = sub { $i = 42; }; ($t, $u); }; my $x = $s(); $x[0](); $x[1](); $x[0]();
12:40 p6eval rakudo r28470 OUTPUT[1␤42␤]
12:40 spinclad_ perl6: my $s = sub { my $i = 1; my $t = sub { say $i; }; my $u = sub { $i = 42; }; ($t, $u); }; my $x = $s(); $x[0](); $x[1](); $x[0]();
12:40 p6eval kp6 r20849: RESULT[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  ␤]
12:40 p6eval ..pugs: OUTPUT[1␤42␤]
12:40 p6eval ..rakudo r28470: OUTPUT[1␤42␤]
12:40 p6eval ..elf r20849: OUTPUT[Not an ARRAY reference at (eval 119) line 8.␤ at ./elf_f_faster line 4656␤]
12:41 spinclad_ pugs+=2; rakudo+=1;
12:45 Juerd TimToady++  # "these days I would probably write \< as '<'"
12:46 spinclad_ perl6: my $s = sub ($a) { my $i = $a; my $t = sub { say $i; }; my $u = sub ($b) { $i = $b; }; ($t, $u); }; my $x = $s(1); my $y = $s(2); $x[0](); $y[0](); $x[1](42); $y[1](43); $x[0](); $y[0]();
12:46 p6eval kp6 r20849: RESULT[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  ␤]
12:46 p6eval ..pugs: OUTPUT[1␤2␤42␤43␤]
12:46 p6eval ..rakudo r28470: OUTPUT[1␤2␤42␤43␤]
12:46 p6eval ..elf r20849: OUTPUT[Not an ARRAY reference at (eval 119) line 11.␤ at ./elf_f_faster line 4656␤]
12:46 spinclad_ pugs++ rakudo++
12:46 spinclad_ well scoped!
12:51 Helios- joined #perl6
12:51 cmarcelo joined #perl6
12:52 spinclad_ (apologies for the spam)
13:02 kolibrie TimToady: thanks for the \< suggestion.  applied.
13:03 kolibrie others, please feel free to look over my slides and offer comments: http://feather.perl6.nl/~kolibrie/extraction.xul
13:03 kolibrie talk in 5 hours
13:08 Helios` joined #perl6
13:10 * PerlJam looks
13:13 Lorn joined #perl6
13:16 PerlJam kolibrie: on slide 18 you match href literally, but you quote everything else (yes, I realize why).  It might me a good idea to quote href too (unless you're going to talk about the new run for regex meta characters :-)
13:17 spinclad kolibrie: sorry, couldn't see it, even with js turned on; read the source, though, looks a good talk.
13:19 PerlJam kolibrie: and since the talk is entitled "practical ..." I hope you're going to tell people how to get/install/run perl 6 at some point :)
13:19 spinclad (i expect it's a local problem here, somehow i or firefox/iceweasel have forgotten how to xul.)
13:20 PerlJam kolibrie: in any case, it does look like an excellent talk
13:20 PerlJam kolibrie++
13:20 spinclad kolibrie++
13:23 toddr joined #perl6
13:24 kolibrie spinclad: works in my iceweasel and galeon - not sure what would make it not work
13:28 kolibrie PerlJam: re slide 18 - good ideas - thinking about about them
13:28 wknight8111 joined #perl6
13:29 kolibrie I'm hoping to show how to use grammars, but I'm not sure that any implementation can run my examples
13:30 PerlJam rakudo probably can come close
13:33 eternaleye joined #perl6
13:50 pugs_svnbot r20850 | lwall++ | [STD5] some examples of "try" programs
14:07 TJCRI joined #perl6
14:14 toddr joined #perl6
14:17 luqui joined #perl6
14:32 wknight8111 joined #perl6
14:33 FrHenkie joined #perl6
14:42 chris2 joined #perl6
14:45 alc joined #perl6
14:45 Exodist joined #perl6
14:47 Schwern joined #perl6
14:51 Schwern joined #perl6
14:57 TimToady kolibrie: whoops, forgot to check it in...
14:57 pugs_svnbot r20851 | lwall++ | [STD] implement <~~>
14:58 pmurias joined #perl6
14:59 * kolibrie pulls
15:01 toddr joined #perl6
15:03 toddr joined #perl6
15:04 rindolf TimToady: are you YAPCed?
15:05 PerlJam rindolf: he is at yapc somewhere :)
15:05 rindolf PerlJam: somewhere.
15:05 rindolf Maybe I'll go biking now.
15:05 rindolf When I return I'll download Firefox 3.0-Final.
15:05 PerlJam oh, heh.  I see him at the front of the auditoriumm now.
15:06 PerlJam s/mm/m
15:10 drbean joined #perl6
15:11 Jedai joined #perl6
15:12 pmurias TimToady: should i added a --rule option to STD5_dump_match?
15:22 pugs_svnbot r20852 | pmurias++ | [elf] remove the elf_p branch as it's broken and has a stupid name
15:22 pmurias * removed
15:22 toddr joined #perl6
15:30 toddr joined #perl6
15:44 diakopter pmurias: i'm claiming a virtual lock on the yap6 dir... I'm working on a major revamp/fix cycle and I can't/shouldn't check it in until it's a lot closer to done... it will be a few days probably.
15:46 diakopter audreyt++ suggested packaging the parser bits as Parse::Packrat, so I'm renaming/refactoring those components... and fixing the packrat-ness as a prereq.
15:47 kcwu joined #perl6
15:51 pmurias diakopter: fine, i'm playing mostly with STD now
16:02 alc joined #perl6
16:12 armagad_ joined #perl6
16:17 pmurias diakopter: how do people at the yapc like yap6?
16:17 pmurias s/people/the people
16:28 pugs_svnbot r20853 | lwall++ | s/ok/is/ for pmichaud++
16:46 cjfields joined #perl6
16:53 p6eval joined #perl6
16:53 p6eval joined #perl6
16:53 apeiron Hey, uhm, it seems if you privmsg peval with perl: [+] <1 2 3 4 5> it dies.
16:54 apeiron er, perl6
16:56 deq` joined #perl6
17:03 cjfields apeiron: how are you msg'ing the perl6 evalbot?
17:05 eternaleye_ joined #perl6
17:20 pmurias TimToady: make should set _reduced?
17:27 barney joined #perl6
17:34 borondil joined #perl6
17:43 borondil left #perl6
18:06 kolibrie YAPC::NA says hello
18:06 sri_work joined #perl6
18:08 Ara5n hello YAPC::NA
18:10 Eevee shouldn't there be a speaker over here?  -->
18:11 PerlJam kolibrie: hello from the 14th row or so :)
18:11 kolibrie PerlJam: hello
18:11 PerlJam kolibrie: btw, according to the schedule you should have already started
18:11 kolibrie yes, but no one introduced me
18:11 kolibrie mayme I should start anyway
18:11 kolibrie *maybe
18:12 Ched- left #perl6
18:12 Eevee are we your slides?
18:12 * TimToady too
18:12 pmichaud hi YAPC::NA!
18:13 apeiron cjfields, /msg p6eval  perl6: [+] <1 2 3 4 5>
18:14 * apeiron is on a fail battery so may detach unannounced
18:14 cjfields apeiron++
18:15 beek_ joined #perl6
18:16 deve1 joined #perl6
18:17 beek_ left #perl6
18:18 PerlJam perl6/rakudo aren't getting as much love from YAPC as I would have thought
18:22 deve1 Is it a lack of love, or are people intimidated by the complexity of the topic?
18:22 beek_ joined #perl6
18:23 Eevee or does popular opinion see it as vaporware?
18:23 deve1 joined #perl6
18:26 DietCoke joined #perl6
18:26 DietCoke rakudo: say 'A'..'Z'
18:26 p6eval rakudo r28476 OUTPUT[ABCDEFGHIJKLMNOPQRSTUVWXYZ␤]
18:26 PerlJam dunno  but there aren't many people in the auditorium
18:26 * DietCoke pats p6eval onna head.
18:27 * DietCoke guesses about 30.
18:27 beek_ yeah, i wonder where everyone went.
18:27 pmichaud I think intimidation.  Plus immediately after lunch.
18:27 pmichaud I'll be sure to clear out the auditorium.  :-)
18:27 PerlJam Jeff gets first shot at that
18:28 apeiron rakudo: [+] <1 2 3 4 5>
18:28 p6eval rakudo r28476 OUTPUT[Syntax error at line 1, near "[+] <1 2 3"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤
18:29 beek_ i'd kinda like to see what ingy is talking about at 2:50.
18:30 PerlJam beek_: that's probably where I'm going too.
18:31 pmichaud what's ingy talking about at 2:50?  Maybe I should go.  :-)
18:32 PerlJam pm: Perl + Javascript.  Con particle into giving your talk and you can go  :-)
18:47 cjfields joined #perl6
18:51 beek_ joined #perl6
18:51 * diakopter ponders left-recursive zero-width assertions
18:57 Alias_ joined #perl6
19:00 DietCoke I volunteer... to attend ingy's talk.
19:02 PerlJam DietCoke: you and I are going to desert Pm.  There won't be anyone left for his talk!
19:02 PerlJam ;)
19:08 DietCoke oh, alright, I'll stay.
19:10 TJCRI joined #perl6
19:11 schmalbe joined #perl6
19:32 TimToady I heard ingy's talk in Tokyo, so I'll stay
19:38 pmurias TimToady: make should put stuff into _reduced?
19:41 TimToady pmurias: I just threw the _reduced tag in there to record that we hit a _REDUCE method, but it's not otherwise special
19:41 pmurias so i should use _result
19:42 pmurias ?
19:42 diakopter I forgot to ask horwitz when he was going to rename mod_perl6 to mod_rakudo
19:42 TimToady currently ->item is the scalar value of the Match object, and it sets the '' key
19:42 TimToady and if the '' key isn't there, returns ->text
19:42 pmurias i'll use that than
19:43 pmurias is "1\n" valid perl6?
19:44 pmurias i'll try to fix that if it is because std generates an error for that which is annoying
19:45 TimToady why wouldn't it be valid?
19:48 pmurias dunno
19:49 pmurias i was overconfident in STD5 ;)
19:49 b_jonas joined #perl6
19:50 pmurias should perlhints be scattered around in STD.pm?
19:52 TimToady I didn't put them there
19:52 TimToady they do tend to clutter things
19:53 TimToady looks like it was moritz put those in
19:53 b_jonas really?
19:54 b_jonas I mean, is it more cluttered than like plain.tex where it's just some memory optimizations?
19:56 pmurias b_jonas: rephrase please
19:57 pmurias moritz_: can i move perlhints out of STD.pm?
19:57 b_jonas pmurias: well, I'm not really sure what I wanted to ask either...
19:57 b_jonas but it's like
19:57 Alias_ joined #perl6
19:57 b_jonas are there optimizations in there that are actually tricky to understand, not just ones that make it reading difficult because it clutters, but otherwise actually trivial to understand?
20:01 cognominal_ joined #perl6
20:02 Alias__ joined #perl6
20:04 pmurias b_jonas: no, perlhints are not hints to the compiler but hints the the user
20:05 pmurias something like pointing with the mouse in the future perl IDE, and the IDE telling you what that construct is
20:05 pmurias TimToady: found a bug in eat_terminator
20:05 b_jonas pmurias: I see
20:05 b_jonas pmurias: what, it doesn't fail if you're not a metallivore?
20:07 * pmurias laughs out loud
20:08 pmurias TimToady: foo()!!1 is parsed as foo();!(!1)
20:10 pmurias !! is a terminator
20:10 b_jonas there's actually such a joke about Terminator's last word here, but it only works because metal theft is so common (there are lots of missing bronze statues)
20:19 jhorwitz joined #perl6
20:24 TimToady !! shouldn't be a terminator except inside ??, I expect
20:24 TimToady About
20:24 TimToady Wiki
20:24 TimToady Sponsorship
20:25 TimToady sorry, naughty pouch hit the paste button...
20:30 * pmurias is giving up on the 1
20:30 pmurias bug
20:33 jhorwitz_ joined #perl6
20:34 kaether joined #perl6
20:34 pugs_svnbot r20854 | lwall++ | [LazyMap] need eager() before we reverse a lazy list
20:37 pmurias shower&
20:37 wknight8111 joined #perl6
20:52 Auzon joined #perl6
20:52 bacek_ joined #perl6
21:00 Jedai joined #perl6
21:07 Alias_ joined #perl6
21:10 pugs_svnbot r20855 | lwall++ | [gimme5] move s/say/print/ translation to un6()
21:12 deven_ did anyone catch the URL for the Parrot talk in the auditorium now?
21:12 pugs_svnbot r20856 | pmurias++ | [sm0p] actions are printed out to a seperate file
21:16 Schwern joined #perl6
21:16 kolibrie deven_: the one entitled "‎Advanced control structures in Parrot‎"?
21:18 deven_ yes
21:18 deven_ looks like it should be http://rgrjr.dyndns.org/acsip/index.html but that is broken
21:20 kolibrie he's using a local URL
21:21 kolibrie file:///home.local/rogers/projects/web-site/perl/acsip/closures.html
21:21 deven_ He had a URL on the title page, but I didn't catch the whole thing.
21:21 deven_ I think he may not have put it online yet.
21:21 kolibrie perhaps
21:23 deven_ magnachef__ on #yapc had the right URL: http://rgrjr.dyndns.org/perl/acsip/pir-basics.html
21:23 lambdabot Title: Bob Rogers: ACSIP: PIR Basics
21:31 pugs_svnbot r20857 | diakopter++ | [yap6] please disregard; just a check[in]point
21:31 pugs_svnbot r20858 | diakopter++ | [yap6] please disregard; just a check[in]point
22:17 Alias__ joined #perl6
22:36 Alias_ joined #perl6
22:46 eternaleye_ joined #perl6
22:55 jferrero joined #perl6
23:37 Blasi joined #perl6
23:44 Maghnus joined #perl6

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

Perl 6 | Reference Documentation | Rakudo