Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-08-15

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:00 Auzon rakudo: say #(foo) "hi"
00:00 p6eval rakudo 29834: RESULT[␤1]
00:00 Auzon Now that's odd.
00:21 Limbic_Region rakudo: $_ = 'blah'; say #{foo} "hi"
00:21 p6eval rakudo 29834: OUTPUT[␤]
00:21 Limbic_Region yep, odd
00:21 Auzon rakudo: say
00:21 p6eval rakudo 29834: OUTPUT[␤]
00:38 Schwern joined #perl6
00:49 ruoso joined #perl6
01:37 pugs_svn r21900 | ruoso++ | [smop] skeleton for the default block signature lowlevel implementation in place... it should not be very hard to implement..
01:51 alanhaggai joined #perl6
02:15 meppel-san joined #perl6
02:45 meppl joined #perl6
02:48 kanru joined #perl6
03:02 elmex_ joined #perl6
03:10 TimToady rakudo: say #(just a line-end comment to rakudo) die "never got here"
03:10 p6eval rakudo 29834: OUTPUT[␤]
03:10 TimToady as for $_, you have to use .say to get at that
03:41 pbuetow_ joined #perl6
03:41 ilogger2_ joined #perl6
03:47 alester_ joined #perl6
03:50 StephenPollei rakudo: my $good=0; try {my Int $foo=3; $foo=4.1; CATCH {$good=1;} } ; $good;
03:50 p6eval rakudo 29834: OUTPUT[Statement not terminated properly at line 1, near "{$good=1;}"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤]
03:51 StephenPollei pugs: my $good=0; try {my Int $foo=3; $foo=4.1; CATCH {$good=1;} } ; $good;
03:51 p6eval pugs: RESULT[\0]
03:53 TimToady nobody actually checks type constraints yet
03:53 StephenPollei Am I writing the try catch block correctly? and if you put a float into int should it roundoff or throw some kind of type check exception? I think it should round.
03:54 StephenPollei I wish to add tests into t/spec that's why I'm interested. I'm just getting started with it
03:54 TimToady p5 currently just truncates, but I think p6 specs floor
03:54 StephenPollei rakudo: my $good=0; try {my Int $foo=3; $foo='str'; CATCH {$good=1;} } ; $good;
03:54 p6eval rakudo 29834: OUTPUT[Statement not terminated properly at line 1, near "{$good=1;}"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤]
03:55 Schwern joined #perl6
03:56 TimToady actually, it specs truncation in S09
03:57 StephenPollei OK and the 'str' one does it cause exception or does it become 0 or does it become 'str'.chars
03:59 TimToady that would throw an exception, I think, but maybe it's just a warning (resumable exception by default)
04:00 StephenPollei yes I forgot about warning, has to be checked with .defined or .true before anything or it then raises the exception
04:03 StephenPollei if it was int instead of Int it would have to throw excpetion on the spot or put a 0 or 'str'.elems into the varible
04:03 Taras joined #perl6
04:03 Taras Once the dangers of asbestos were proven, it was removed from many building materials2014but not before it was fitted in nearly every home built before 1978.
04:04 was kicked by TimToady: TimToady
04:05 TimToady yeah, if it's Int it can just assign an unthrown exception, but there isn't that option for int
04:05 TimToady since int is a Just type, not a Maybe type, in haskellian terms
04:10 StephenPollei OK I think I can figure out how to write a test for it, thanks.
04:19 BinGOs joined #perl6
04:57 xinming_ joined #perl6
05:10 xinming joined #perl6
05:12 cookys joined #perl6
05:14 ashizawa joined #perl6
05:18 Ara5n joined #perl6
05:28 xinming_ joined #perl6
05:34 StephenPollei pugs: + 'str' ;
05:34 p6eval pugs: RESULT[0.0]
05:34 StephenPollei rakudo: + 'str' ;
05:34 p6eval rakudo 29834: RESULT[0]
05:36 xinming__ joined #perl6
05:45 Psyche^ joined #perl6
05:50 simcop2387 joined #perl6
05:54 BinGOs_ joined #perl6
06:13 xinming joined #perl6
06:30 xshelf joined #perl6
06:33 xshelf left #perl6
07:16 meppl joined #perl6
07:25 bp0 joined #perl6
07:56 ZuLuuuuuu joined #perl6
08:03 ilogger2 joined #perl6
08:16 penk joined #perl6
08:23 [particle]1 joined #perl6
08:40 fridim_ joined #perl6
08:41 pmurias joined #perl6
08:42 pmurias @tell ruoso do we plan about to realease smop on CPAN anytime soon?
08:42 lambdabot Consider it noted.
08:48 bp0 left #perl6
09:27 fridim_ joined #perl6
09:43 ZuLuuuuuu left #perl6
09:54 wknight8111 joined #perl6
10:02 sri_work joined #perl6
10:19 zamolxes joined #perl6
10:23 nicky00 joined #perl6
10:23 nicky00 hello everyone
10:23 nicky00 i've got a question
10:23 nicky00 how would you parse this .asp>COLLE SITTARD MACHINEHANDEL BV</a></b></td></tr><tr>
10:23 nicky00 to keep just COLLE SITTARD MACHINEHANDEL ?
10:29 zamolxes is that  really ".asp>" ?
10:38 nicky00 yeah
10:38 nicky00 its cool tho
10:38 nicky00 solved it
10:38 nicky00 thank you ^_^
10:39 zamolxes :)
10:59 penk left #perl6
11:04 ZuLuuuuuu joined #perl6
11:25 rindolf joined #perl6
11:34 ZuLuuuuuu left #perl6
12:00 ruoso joined #perl6
12:39 pmurias joined #perl6
12:39 pmurias ruoso: hi
12:44 clkao win goto 63
12:53 rindolf joined #perl6
12:59 cmarcelo joined #perl6
13:10 ZuLuuuuuu joined #perl6
13:32 [particle] joined #perl6
13:50 pmurias joined #perl6
14:10 Jedai joined #perl6
14:15 avar joined #perl6
14:16 REPLeffect joined #perl6
14:23 ptman joined #perl6
14:23 Exodist joined #perl6
14:25 edpratomo joined #perl6
14:51 hercynium joined #perl6
15:02 fridim_ joined #perl6
15:08 jferrero joined #perl6
15:31 ZuLuuuuuu left #perl6
15:51 rindolf joined #perl6
16:08 kanru joined #perl6
16:14 kst joined #perl6
16:17 iblechbot joined #perl6
16:21 fridim_ joined #perl6
16:32 justatheory joined #perl6
16:35 charsbar joined #perl6
16:39 pugs_svn r21901 | lwall++ | [STD] various changes in preparation for inlining p5 regex optimizations
16:40 cmarcelo left #perl6
16:48 hercynium joined #perl6
16:48 kst joined #perl6
16:49 cathyal joined #perl6
16:57 cathyal joined #perl6
17:17 eternaleye_ joined #perl6
17:22 davidm123 joined #perl6
17:28 kst joined #perl6
17:36 davidm123 what's the status of pod6?  who uses it?  it doesn't look like the parrot docs use it.
17:42 pugs_svn r21902 | Auzon++ | [gsoc_spectest] moved sub_named_params.t content to S06-signature/named-parameters.t. everything passes; now to add more tests
17:42 [particle] davidm123: i've started a parser for pod6 in parrot's repo
17:42 [particle] but mostly, it's not used yet
17:43 davidm123 i looked at pod6 about a year ago, and it was most not used yet either ;)
17:43 Auzon I'm pretty sure that the test suite uses Pod6.
17:44 [particle] when damian submitted his synopsis draft for review, there were some critical comments about it
17:45 [particle] i believe that led folks not to move forward towards implementing it
17:45 [particle] i'd like to break that logjam and get things moving again
17:45 [particle] so i started the parser
17:46 [particle] but i'm lacking tuits as of late
17:46 davidm123 i tend to like incremental changes, e.g. fix the sigils in perl, make lists more terse and fix other annoyances in pod
17:53 justatheory joined #perl6
17:57 cathyal joined #perl6
18:11 kst joined #perl6
18:40 Exodist joined #perl6
18:54 kst joined #perl6
19:17 davidm123 is there some latest spec for kwid?
19:30 Schwern joined #perl6
19:32 kst joined #perl6
19:49 [particle] joined #perl6
19:54 REPLeffect joined #perl6
20:00 [particle]1 joined #perl6
20:13 REPLeffect joined #perl6
20:13 zamolxes joined #perl6
20:16 StephenPollei in http://svn.pugscode.org/pugs/t/README the link http://rakudo.org/perl6/index.cgi?smart_linking is dead
20:19 kst joined #perl6
20:28 cognominal_ joined #perl6
20:34 justatheory joined #perl6
20:51 hercynium joined #perl6
20:58 kst joined #perl6
21:16 lleksah joined #perl6
21:33 jferrero joined #perl6
21:35 kst joined #perl6
21:43 ekremmm joined #perl6
21:44 ekremmm left #perl6
21:49 lleksah left #perl6
22:06 kst joined #perl6
22:16 s1n are there any good guides out there to understanding PIR code? i want to start hackin on rakudo (as well as the test suite) but i'm very unfamiliar with it's syntax and structure
22:22 Limbic_Region joined #perl6
22:26 pmurias joined #perl6
22:26 pmurias (wired connection from home)++
22:27 diakopter joined #perl6
22:27 diakopter left #perl6
22:30 diakopter joined #perl6
22:33 justatheory joined #perl6
22:36 cognominal_ sln: you should start by reading the pods in the docs/ folder
22:36 cognominal_ then in docs/immc/ folder
22:37 cognominal_ finally docs/pdds/pdd19_pir.pod
22:38 cognominal_ reading existing code helps too.
22:38 s1n cognominal_: thanks, i'll start there
22:39 s1n i'd really like to find some low key, low priority bugs or work to do to get used to it, if you know of any...
22:45 kst joined #perl6
22:51 cognominal_ joined #perl6
22:59 Blasi joined #perl6
23:11 Blasi joined #perl6
23:12 Blasi left #perl6
23:16 cognominal_ joined #perl6
23:17 Schwern joined #perl6
23:25 Alias_ joined #perl6
23:35 kst joined #perl6
23:47 fridim_ joined #perl6

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

Perl 6 | Reference Documentation | Rakudo