Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-01-12

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:14 kanru joined #perl6
00:36 jferrero joined #perl6
00:57 tcliou joined #perl6
01:04 ruoso joined #perl6
01:23 njbartlett_ joined #perl6
01:28 Psyche^ joined #perl6
01:47 meppuru good night
01:58 luqui joined #perl6
02:04 araujo joined #perl6
02:05 Limbic_Region joined #perl6
02:06 Auzon pugs: print "good" if ([+] ord() % 10 for split //, "samil") == 4;
02:06 exp_evalbot OUTPUT[*** ␤    Unexpected "for"␤    expecting operator, ":", "," or ")"␤    at /tmp/M7aNI1HXgl line 1, column 33␤]
02:07 Auzon pugs: ord("a")
02:07 exp_evalbot RESULT[97]
02:07 Auzon pugs: $_ = "a"; ord()
02:07 exp_evalbot OUTPUT[*** No compatible multi variant found: "&ord"␤    at /tmp/u943LNJLAk line 1, column 11 - line 2, column 1␤]
02:07 Auzon pugs: print "good" if ([+] (ord($_) % 10 for split //, "samil")) == 4;
02:07 exp_evalbot OUTPUT[*** ␤    Unexpected "for"␤    expecting operator or ")"␤    at /tmp/Gw7HR9tRiH line 1, column 36␤]
02:08 Auzon pugs: print "good" if ([+] map {ord($_) % 10} split //, "samil") == 4;
02:08 exp_evalbot OUTPUT[*** ␤    Unexpected "split"␤    expecting ",", ":", operator or ")"␤    at /tmp/ayNLwrOKvy line 1, column 41␤]
02:08 Auzon oh right
02:09 Auzon pugs: print "good" if ([+] map {ord($_) % 10} split /<?>/, "samil") == 4;
02:09 exp_evalbot OUTPUT[*** ␤    Unexpected "split"␤    expecting ",", ":", operator or ")"␤    at /tmp/3PWVvBBiQo line 1, column 41␤]
02:09 Auzon pugs: split /<?>/, "samil";
02:09 exp_evalbot RESULT[("s", "a", "m", "i", "l")]
02:09 Auzon pugs: map {ord} split /<?>/, "samil";
02:09 exp_evalbot OUTPUT[*** ␤    Unexpected "}"␤    at /tmp/Vo1hlfcA7J line 1, column 9␤]
02:09 Auzon pugs: map ord, split /<?>/, "samil";
02:09 exp_evalbot OUTPUT[*** ␤    Unexpected ","␤    at /tmp/KSmJY7Gy5A line 1, column 8␤]
02:09 Auzon pugs: map {ord($_)} split /<?>/, "samil";
02:09 exp_evalbot OUTPUT[*** ␤    Unexpected "split"␤    expecting ",", ":" or operator␤    at /tmp/NnYC9MIzvy line 1, column 15␤]
02:09 Auzon pugs: map {ord($_)} (split /<?>/, "samil")
02:09 exp_evalbot OUTPUT[*** ␤    Unexpected "("␤    expecting ",", ":" or operator␤    at /tmp/Ugp8qfsDLl line 1, column 15␤]
02:10 Auzon Oh well. Maybe some other time.
02:11 alester joined #perl6
02:59 charsbar joined #perl6
03:36 xinming joined #perl6
03:48 spinclad pugs: "samil".split(/<?>/)
03:48 exp_evalbot RESULT[("s", "a", "m", "i", "l")]
03:48 spinclad pugs: "samil".split(/<?>/).map({.ord})
03:48 exp_evalbot RESULT[(115, 97, 109, 105, 108)]
03:49 spinclad pugs: "samil".split(/<?>/).map({.ord % 10})
03:49 exp_evalbot RESULT[(5, 7, 9, 5, 8)]
03:50 spinclad pugs: say 'good' if [+] "samil".split(/<?>/).map({.ord % 10}) == 4
03:50 exp_evalbot RESULT[undef]
03:50 spinclad pugs: say 'bad' unless [+] "samil".split(/<?>/).map({.ord % 10}) == 4
03:50 exp_evalbot OUTPUT[bad␤]
03:51 spinclad pugs: "samil".split(/./)
03:51 exp_evalbot RESULT[("s", "a", "m", "i", "l")]
03:52 spinclad pugs: say 'good' if [+] "samil".split(/<?>/).map({.ord}) % 10 == 4
03:52 exp_evalbot RESULT[undef]
03:53 spinclad pugs: [+] "samil".split(/<?>/).map({.ord}) % 10
03:53 exp_evalbot RESULT[5.0]
03:53 spinclad pugs: [+] "samil".split(/<?>/).map({.ord})
03:53 exp_evalbot RESULT[534]
03:54 spinclad pugs: "samil".split(/<?>/).map({.ord}) % 10
03:54 exp_evalbot RESULT[5.0]
03:54 spinclad pugs: say 'good' if ([+] "samil".split(/<?>/).map({.ord})) % 10 == 4
03:54 exp_evalbot OUTPUT[good␤]
03:54 AzureBOT joined #perl6
04:39 Limbic_Region joined #perl6
04:50 alpine_style joined #perl6
04:53 ofer joined #perl6
04:54 ting joined #perl6
05:09 REPLeffect joined #perl6
06:00 TimToady Auzon: you have to have a comma after map's block, unlike in p5
06:06 alester joined #perl6
06:23 alpine_style left #perl6
06:34 bbkr__ joined #perl6
06:52 xinming_ joined #perl6
06:53 dduncan joined #perl6
07:16 Auzon Thanks, TimToady++
07:19 Auzon pugs: ([+] "samil".split(/<?>/).map({.ord}))
07:19 exp_evalbot RESULT[534]
07:19 Auzon awesome :)
07:20 Auzon spinclad++ ;)
07:40 luqui joined #perl6
07:53 japhb joined #perl6
08:06 dduncan left #perl6
08:12 Maddingue joined #perl6
08:20 riffraff joined #perl6
08:21 Aankhen`` joined #perl6
08:22 jjore joined #perl6
08:26 devogon joined #perl6
08:28 iblechbot joined #perl6
09:16 barney joined #perl6
09:21 meppuru joined #perl6
09:25 jisom joined #perl6
10:20 Aankh|Clone joined #perl6
10:34 iblechbot joined #perl6
10:56 alc joined #perl6
11:06 marmic joined #perl6
11:46 masak joined #perl6
11:59 cosimo joined #perl6
12:37 jferrero joined #perl6
12:43 njbartlett_ joined #perl6
13:01 Southen joined #perl6
13:02 rindolf joined #perl6
13:02 rindolf Hi all.
13:03 masak hello
13:21 snearch joined #perl6
13:43 Schwern joined #perl6
13:50 chris2 joined #perl6
13:55 cosimo joined #perl6
13:56 rindolf How do I make a flat copy of a ResizablePMCArray in Parrot?
14:01 kane__ joined #perl6
14:04 wolverian try #parrot
14:07 rindolf wolverian: OK.
14:07 wolverian (magnet)
14:07 pasteling "rindolf" at 79.182.99.195 pasted ""clone " to make a flat copy of an array." (25 lines, 429B) at http://sial.org/pbot/29801
14:08 polettix joined #perl6
14:19 alester joined #perl6
14:40 pugs_svn r19437 | cosimo++ | Changed skip block with the new compiler directive
14:47 explorer__ joined #perl6
14:55 cosimo2 Hi all
14:55 rindolf Hi cosimo2
14:55 cosimo2 what's the best way to change the ":todo<feature>" in this test?
14:55 pasteling "cosimo" at 84.215.162.181 pasted "Tests :todo refactoring" (6 lines, 235B) at http://sial.org/pbot/29804
14:56 cosimo2 It's possible to say '#?pugs: todo("xxx", 1)' before a single test?
15:00 jrm_ joined #perl6
15:03 * cosimo2 has been reading particle's use.perl.org journal
15:03 cosimo2 probably it is
15:12 PerlJam cosimo2: it is.  I think the ,1 is even optional.
15:14 pugs_svn r19438 | cosimo++ | chomp tests refactoring.
15:14 pugs_svn r19438 | cosimo++ | Copied tests from /t/arrays/chomp.t and /t/strings/chomp.t.
15:14 pugs_svn r19438 | cosimo++ | Changed todo tests with new compiler directive (#?pugs: todo(...))
15:15 pugs_svn r19439 | cosimo++ | added Id keywords
15:17 pugs_svn r19440 | cosimo++ | set svnprops 'Author', 'Date', 'Revision', 'Id'
15:25 clkao /win 46
15:29 kane__ cl!
15:33 rindolf joined #perl6
15:39 tewk joined #perl6
15:49 jhorwitz joined #perl6
15:56 tewk joined #perl6
16:03 tewk_ joined #perl6
16:12 meppuru joined #perl6
16:18 meppuru joined #perl6
16:35 IllvilJa joined #perl6
16:52 Psyche^ joined #perl6
17:01 pmurias joined #perl6
17:08 skids Are Proxy (tied) attributes supposed to be working yet?  I get a ref-to-<obj:Proxy> when trying code like what's in the tests/libwww-perl/docs
17:08 skids (rather than it calling FETCH/STORE)
17:12 alester joined #perl6
17:12 pmurias mncharity: how is the backend progressing? :)
17:22 xinming joined #perl6
17:32 cosimo2 left #perl6
17:55 wtgee joined #perl6
18:10 ruoso joined #perl6
18:11 braceta joined #perl6
18:24 __Ace__ joined #perl6
18:34 rindolf joined #perl6
18:36 BinGOs_ joined #perl6
19:00 rdice joined #perl6
19:05 pugs_svn r19441 | cosimo++ | Test suite refactoring.
19:05 pugs_svn r19441 | cosimo++ | Copied t/builtins/strings/p5chop.t to t/spec/S29-functions/str/p5chop.t
19:07 cosimo2 joined #perl6
19:13 pugs_svn r19442 | pmurias++ | [kp6] support for ::Foo, updated tests
19:22 pugs_svn r19443 | cosimo++ | Test suite refactoring (spec/S29). Merged:
19:22 pugs_svn r19443 | cosimo++ | /t/builtins/strings/chop.t
19:22 pugs_svn r19443 | cosimo++ | /t/unspecced/chop.t
19:24 pugs_svn r19444 | cosimo++ | [t]: Fixed path for S29/str/chop.t
19:28 wtgee Hi, I just checked out parrot and got it working fine and then went to parrot/languages/perl6 and am currently getting some failures in 'make spectest' and am not really sure what I should do next.
19:28 cosimo wtgee: I'm currently working on the spec tests
19:28 cosimo I think it's a *long* way to go to make these tests succeed...
19:29 wtgee Okay, that is what I was wondering.  So if my regular 'make test' worked I should be fine?
19:29 alester So I can no longer do random q{} quoting?
19:29 pugs_svn r19445 | cosimo++ | Test suite refactoring (spec/S29).
19:29 pugs_svn r19445 | cosimo++ | Copied /t/builtins/strings/p5chomp.t
19:29 pugs_svn r19445 | cosimo++ | to /t/spec/S29-functions/str/p5chomp.t
19:30 wolverian hm?
19:30 alester Why can I not say
19:30 alester perl6 -e"say q{hello, world}" ?
19:31 wtgee cosimo: I am just following along the perl6/README for running the test suite...maybe we should make a note that it will fail.
19:32 wolverian alester, that should wori.
19:32 wolverian s/wori/work/
19:32 cosimo wtgee: don't know
19:32 alester you'd think.
19:33 wolverian well, note that the implementations do not usually implement all of the spec (yet) :)
19:36 alester oh it's a quoting issue
19:42 jisom joined #perl6
19:42 Tene alester: q{} is NYI in parrot's perl6.
19:49 [particle] try q<>
19:49 [particle] iirc
19:49 [particle] &
19:49 Tene that doesn't work either.
19:54 pugs_svn r19446 | cosimo++ | Test suite refactoring (spec/S29).
19:54 pugs_svn r19446 | cosimo++ | Copied [ul]c[first] test scripts.
20:09 pugs_svn r19447 | rhr++ | [Unicode.pm] begin to do Str as suggested in recent spec updates.  TimToady++
20:21 pugs_svn r19448 | rhr++ | [Unicode.pm] handle grapheme numbers correctly
20:37 pugs_svn r19449 | cosimo++ | Moved test script to /t/spec/S29-functions/str/capitalize.t
20:37 pugs_svn r19449 | cosimo++ | Fixed little typos.
20:44 pugs_svn r19450 | cosimo++ | Test suite refactoring (spec/S29).
20:44 pugs_svn r19450 | cosimo++ | Copied /t/builtins/strings/length.t
20:44 pugs_svn r19450 | cosimo++ | Added smartlinks for bytes and chars.
20:55 pugs_svn r19451 | cosimo++ | Test suite refactoring (spec/S29).
20:55 pugs_svn r19451 | cosimo++ | Copied rindex.t from /t/builtins/strings/rindex.t
20:55 pugs_svn r19451 | cosimo++ | Added one more test with 3-level call chains.
20:56 pugs_svn r19452 | cosimo++ | Adjusted plan for S29/str/rindex test script
21:08 pugs_svn r19453 | cosimo++ | Test suite refactoring (spec/S29)
21:08 pugs_svn r19453 | cosimo++ | Copied split.t from /t/builtins/strings.
21:10 wolverian I love the smell of burning tuits in the morning
21:10 wolverian (cosimo++)
21:17 pugs_svn r19454 | cosimo++ | Test suite refactoring (spec/S29).
21:17 pugs_svn r19454 | cosimo++ | Refactored comb/split tests.
21:20 cosimo wolverian: It's almost night here... :-)
21:20 wolverian here, too :)
21:39 pugs_svn r19455 | cosimo++ | Test suite refactoring (spec/S29)
21:39 pugs_svn r19455 | cosimo++ | sprintf.t from /t/builtins/strings/sprintf.t
21:42 pugs_svn r19456 | rhr++ | [Unicode.pm] move normalization into Grapheme
21:42 cosimo Anyone knows why here: http://perlcabal.org/syn/S29.html#Str the inlined test scripts in t/spec look like one row only?
21:42 lambdabot Title: S29
21:43 cosimo while tests in t/builtins are ok?
21:50 crashmatrix joined #perl6
21:54 pugs_svn r19457 | rhr++ | [Unicode.pm] a few fixes
21:55 stevan_ joined #perl6
22:02 pugs_svn r19458 | rhr++ | [Unicode.pm] clean up normalization dispatch
22:17 cosimo anyone knows an example of Str.samecase() ?
22:22 cosimo no luck today... :-)
22:24 rhr cosimo: samecase 'foo', 'BaR' eq 'FoO'
22:29 cosimo thx
22:29 cosimo and Str.basecase() ?
22:30 cosimo samebase, sorry
22:33 rhr samebase 'foo', "ba\x[0303]r" eq "fo\x[0303]o"
22:34 stevan_ joined #perl6
22:38 cosimo oh, interesting... where did you read that?
22:38 cosimo mailing lists?
22:40 rhr it was a spec update from yesterday
22:41 rhr or the day before...
22:45 cosimo I read the spec document but has no examples...
22:49 cosimo left #perl6
22:51 masak joined #perl6
22:55 marmic joined #perl6
23:08 Limbic_Region joined #perl6
23:12 toyam joined #perl6
23:23 devogon joined #perl6
23:23 toyam hello
23:23 toyam ping particle
23:26 stevan_ joined #perl6
23:28 icwiener joined #perl6
23:28 jjore joined #perl6
23:33 meppel-san joined #perl6
23:50 briansk1 joined #perl6
23:51 briansk1 will Inline/XS code from perl5 work with perl6 or will it need to  be rewritten?
23:56 masak briansk1: you might find the discussion at http://www.perlmonks.org/?node_id=279901 interesting

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

Perl 6 | Reference Documentation | Rakudo