Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-06-28

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:16 jfredett_ joined #perl6
00:31 ruoso joined #perl6
00:33 r0bby joined #perl6
00:36 [particle]1 joined #perl6
00:37 hercynium joined #perl6
00:41 pugs_svnbot r21090 | lwall++ | [STD5] now supports :i including in LTMish spots
00:41 pugs_svnbot r21090 | lwall++ | [STD] now (more) correctly parses character classes
00:47 pugs_svnbot r21091 | lwall++ | [Cursor5] be slightly more unicodey on :i
00:58 TimToady decommuting &
00:58 pugs_svnbot r21092 | lwall++ | [Cursor5] more unicodification
01:07 zostay joined #perl6
01:12 cmarcelo joined #perl6
01:21 alanhaggai joined #perl6
01:41 Coleoid_ joined #perl6
02:08 rong joined #perl6
02:09 rong left #perl6
02:11 Coleoid joined #perl6
02:18 Coleoid left #perl6
02:41 Coleoid joined #perl6
02:50 meppl joined #perl6
03:03 elmex_ joined #perl6
03:31 a-jing joined #perl6
03:31 a-jing left #perl6
03:41 pbuetow_ joined #perl6
04:10 apeiron_ joined #perl6
04:16 redicaps left #perl6
04:17 Entonian joined #perl6
04:56 pugs_svnbot r21093 | lwall++ | [STD] now gets 15% of the way through parsing itself
05:02 Psyche^ joined #perl6
05:19 justatheory joined #perl6
05:27 apeiron_ joined #perl6
05:43 s11 joined #perl6
05:43 s11 Auzon: is there vim syntax highlighter somewhere for the test files?
05:45 s11 also, what's the difference between the .rakudo and the .t test files?
05:49 gugod joined #perl6
05:53 xinming joined #perl6
05:56 xinming joined #perl6
05:58 xinming joined #perl6
05:59 Psyche^ joined #perl6
06:10 cls_bsd joined #perl6
06:13 cls_bsd joined #perl6
06:16 apeiron joined #perl6
06:18 apeiron__ joined #perl6
06:53 TimToady s11: the .t files are the standard test files.  the .rakudo is a preprocessed version of the .t that takes into account the "fudging" needed to run under rakudo
06:53 pugs_svnbot r21094 | lwall++ | [STD] 23%
06:53 TimToady the perl6.vim file can be found in util/
06:58 TimToady diff the .t and the .rakudo and you'll see what fudge does
06:59 TimToady zzz & # thunk
07:10 drbean joined #perl6
07:19 audreyt joined #perl6
07:38 iblechbot joined #perl6
08:05 tuxdna joined #perl6
08:15 barney joined #perl6
08:25 xinming` joined #perl6
08:28 xinming`` joined #perl6
09:31 masak joined #perl6
09:40 schmalbe joined #perl6
10:02 bacek joined #perl6
10:02 riffraff joined #perl6
10:13 chris2 joined #perl6
10:28 xinming joined #perl6
10:29 bacek joined #perl6
10:56 cognominal_ joined #perl6
11:20 Auzon1 joined #perl6
11:32 bacek joined #perl6
11:41 chris2 joined #perl6
12:09 polettix joined #perl6
12:12 xinming_ joined #perl6
12:40 kanru joined #perl6
12:55 s1n joined #perl6
13:25 jfredett_ joined #perl6
13:26 tuxdna left #perl6
13:48 iblechbot joined #perl6
13:53 wknight8111 joined #perl6
13:54 xinming joined #perl6
14:00 pugs_svnbot r21095 | moritz++ | [spec] misc: unfudged a test, modified other, marked one as unspecced
14:08 apeiron joined #perl6
14:12 dolmen joined #perl6
14:13 dolmen perl6: my @a = 0..9; say @a.delete(5..9).perl; say @a.perl;
14:13 p6eval elf 21095: OUTPUT[Can't call method "delete" without a package or object reference at (eval 123) line 4.␤ at ./elf_f line 3861␤]
14:13 p6eval ..kp6 21095: OUTPUT[syntax error at position 10, line 1 column 10:␤my @a = 0..9; say @a.delete(5..9).perl; say @a.perl␤          ^ HERE␤]
14:13 p6eval ..pugs: OUTPUT[(5, 6, 7, 8, 9)␤\(0, 1, 2, 3, 4, undef, undef, undef, undef)␤]
14:13 p6eval ..rakudo 28780: OUTPUT[get_integer() not implemented in class 'Range'␤current instr.: 'parrot;Perl6Array;delete' pc 4215 (src/gen_builtins.pir:2796)␤]
14:16 dolmen I would like to fix this in rakudo, but I don't know how to handle it
14:17 moritz_ dolmen: try to grep for get_integer in the rakudo part of the repo, and look how it's done for other stuff
14:18 dolmen Do we have to explicitelty handle Range objects (or more generally objects which "can" 'iterator()') or it is a list expansion issue?
14:19 moritz_ don't know, but you'd better ask on #parrot where rakudo implementation questions are normally handled
14:19 dolmen I tried to implement get_integer in Range, but it will be called only once, so it will only return the first element of the range
14:22 moritz_ I'd guess get_integer returns the number of items, not the first item (which doesn't have to be an integer)
14:24 dolmen this answers my question: I think that we should handle Range objects explicitely in delete
14:25 dolmen if not only the first element of the range will be deleted and this is not what the user expects
14:35 pmurias joined #perl6
14:35 pmurias TimToady: is it ok if i overload operators on Cursor5 objects? (stringification specificly)
14:36 TimToady yes
14:36 TimToady I keep forgetting to say .text as it is...
14:37 TimToady just try to keep your changes localized, because I'll be working offline for half a day or so and will want to merge
14:39 pmurias joined #perl6
14:40 TimToady afk &
14:42 pugs_svnbot r21096 | dolmen++ | Check Array.delete with a Range argument.
14:47 bacek joined #perl6
15:23 cj joined #perl6
15:25 iblechbot joined #perl6
15:26 alester joined #perl6
15:33 losinggeneration joined #perl6
15:34 losinggeneration left #perl6
15:36 alester joined #perl6
15:49 rakudo_svn r28785 | pmichaud++ | [rakudo]:
15:49 rakudo_svn r28785 | pmichaud++ | * spectest-progress update for 6-28:  75 files, 1072 passing, 17 failing
16:02 alanhaggai joined #perl6
16:12 jferrero joined #perl6
16:13 jferrero perlbot, say "Hola"
16:14 pmichaud perl6: say "Hola"
16:14 p6eval elf 21096: OUTPUT[Hola␤]
16:14 p6eval ..kp6 21096: OUTPUT[Hola␤]
16:14 p6eval ..pugs: OUTPUT[Hola␤]
16:14 p6eval ..rakudo 28785: OUTPUT[Hola␤]
16:15 jferrero perl6: print "Thanks, pmichaud"
16:15 p6eval elf 21096: OUTPUT[Thanks, pmichaud]
16:15 p6eval ..kp6 21096: OUTPUT[Thanks, pmichaud]
16:15 p6eval ..pugs: OUTPUT[Thanks, pmichaud]
16:15 p6eval ..rakudo 28785: OUTPUT[Thanks, pmichaud]
16:17 rakudo_svn r28786 | pmichaud++ | [rakudo]:
16:17 rakudo_svn r28786 | pmichaud++ | * Add temporary implementation of Order::Same, Order::Increase,
16:17 rakudo_svn r28786 | pmichaud++ |   Order::Decrease
16:17 rakudo_svn r28786 | pmichaud++ | * t/spec/S03-operators/comparison.t passes again
16:30 Juerd Who maintains p6eval?
16:34 nowhea left #perl6
16:38 alanhaggai_ joined #perl6
16:39 * moritz_
16:43 pugs_svnbot r21097 | moritz++ | [SLAVES] exp_evalbot is now called p6eval
16:55 rhr does the Order enum conflict with the Order role? how do you declare an enum and a role (other than the role made by the enum) of the same name?
16:56 rhr our enum Order ...; role Order is also {...} ?
17:01 moritz_ I think that an enum is a way to define a role (not sure, though)
17:02 moritz_ S12:1650
17:02 moritz_ or S12/"Enums" if you like that better ;)
17:02 rhr right, but Order needs more than just an enum
17:02 moritz_ "An enum is a low-level class that can function as a role or property."
17:15 pmichaud I'm thinking that eventually we'll be able to say something like (in Prelude):   enum Order << :Increase(-1), Same, Decrease >>;
17:16 pugs_svnbot r21098 | moritz++ | [spec] delete.t: fix plan, improve fudging for rakudo
17:17 rakudo_svn r28787 | moritz++ | [rakudo] delete.t in spectest_regression.data is no longer "pure",
17:17 rakudo_svn r28787 | moritz++ | dolmen++ added new tests.
17:19 pugs_svnbot r21099 | moritz++ | [spec] delete.t: exclusive ranges are 2^..4, not ^2..4
17:30 pmichaud rakudo:  say 1^..10;
17:30 p6eval rakudo 28787: OUTPUT[101010101010101010␤]
17:31 pmichaud oops.
17:33 moritz_ rakudo:  1^..10
17:33 p6eval rakudo 28787: RESULT[1^..10]
17:33 moritz_ rakudo:  (1^..10).perl.say
17:33 p6eval rakudo 28787: OUTPUT[1^..10␤]
17:46 japhb joined #perl6
17:49 s1n left #perl6
17:57 rakudo_svn r28788 | pmichaud++ | [rakudo]:
17:57 rakudo_svn r28788 | pmichaud++ | * Fix exclusive from ranges (1^..5)
18:08 rakudo_svn r28789 | pmichaud++ | [rakudo]:
18:08 rakudo_svn r28789 | pmichaud++ | * Make sure Array.delete flattens its arguments in list context.
18:08 alanhaggai__ joined #perl6
18:11 pugs_svnbot r21100 | pmichaud++ | S29-array/delete.t:
18:11 pugs_svnbot r21100 | pmichaud++ | * Uncomment #?rakudo skip on ranges
18:11 pugs_svnbot r21100 | pmichaud++ | * Fix one incorrect test result.
18:21 rakudo_svn r28791 | pmichaud++ | [rakudo]:
18:21 rakudo_svn r28791 | pmichaud++ | * Adjust <=>, cmp, leg to return Order::* values.
18:23 pmurias joined #perl6
18:59 pugs_svnbot r21101 | pmurias++ | [pixie] 01-sanity/01-tap.t passes
19:11 justatheory joined #perl6
19:22 pmurias is Common Lisp fast enough to get resonable performance using smop style responder interfaces?
19:24 vixey yes
19:24 vixey pmurias  If you mean CLOS ?
19:25 SamB if CLOS can do it, I imagine you can too (in theory)
19:25 SamB CLOS is, as I understand it, implemented (almost?) 100% in standard CL
19:26 pmurias vixey: i meant $obj->{_dispatcher}(...)
19:27 pmurias if CLOS is not specialy hard coded in the compiler, i guess the performance wouldn't suffer much
19:29 wknight8111 joined #perl6
19:29 SamB hmm, apparantly there is an unofficial MOP...
19:30 pmurias SamB: in Common Lisp?
19:30 SamB http://www.lisp.org/mop/index.html
19:30 lambdabot Title: MetaObject Protocol
19:34 pmurias by smop style responder interfaces i meant adding a layer of indirection where the object itself desides how a method call should be done
19:34 pmurias s/call/dispatch/
19:35 SamB well, it shouldn't be any more unreasonable than in any other environment
19:36 pmurias it's was extremely unreasonable in kp6 perl5 backend
19:38 pmurias because the difference between $obj->{_DISPATCH}($obj,"method",...args...) and $obj->method(...args...) is significant in perl5
19:38 SamB well, this is CL we are talking about
19:40 pmurias how fast is CL compared to C?
19:41 vixey very fast
19:42 pmurias vixey: compared to C?
19:43 pmurias ;)
19:43 vixey pmurias: Yes
19:45 pmurias ;)
20:01 alester joined #perl6
20:28 simcop2387 joined #perl6
20:47 peepsalot joined #perl6
20:47 pugs_svnbot r21102 | Auzon++ | [gsoc_spectest] minimal whitespace test. (added 8 tests)
20:54 xinming joined #perl6
20:54 xinming joined #perl6
21:10 cathya joined #perl6
21:41 cathya anyone awake
21:41 cathya i've got a doubt about somthing not related to perl6
21:41 ggoebel joined #perl6
21:41 vixey *not* related to perl6
21:44 cathya yep not
21:50 TimToady I doubt there's anything not related to Perl 6.
21:50 pugs_svnbot r21103 | lwall++ | [STD] 47%
21:51 vixey hehe TimToady
22:11 eternaleye joined #perl6
22:22 rakudo_svn r28796 | chromatic++ | [Rakudo] Fixed SVN metadata.
22:31 bacek joined #perl6
22:34 cjfields joined #perl6
22:41 aindilis joined #perl6
22:49 peepsalot left #perl6
22:54 pbuetow joined #perl6
23:24 SamB joined #perl6
23:35 mjk joined #perl6
23:46 pbuetow joined #perl6
23:47 pbuetow joined #perl6

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

Perl 6 | Reference Documentation | Rakudo