Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-07-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:03 pugs_svn r21558 | lwall++ | [Cursor] more caching
00:03 Alias_ joined #perl6
00:05 mtrimpe left #perl6
00:16 eternaleye joined #perl6
00:44 Alias_ joined #perl6
00:45 Alias__ joined #perl6
00:46 Schwern joined #perl6
00:47 pugs_svn r21559 | lwall++ | [Cursor] whoops, syntax error
00:49 alester joined #perl6
01:05 aindilis joined #perl6
01:20 leto joined #perl6
01:20 leto hola
01:31 TimToady aloh
01:33 alester joined #perl6
01:49 meppl good night
01:58 PZt joined #perl6
02:06 rakudo_svn r29782 | pmichaud++ | [rakudo]: Allow single-test make targets, refactor fudge/harness.
02:06 rakudo_svn r29782 | pmichaud++ | * Patch courtesy Schwern++.
02:14 TimToady perl6: say "howdy"
02:14 p6eval elf 21559: OUTPUT[howdy␤]
02:14 p6eval ..pugs: OUTPUT[howdy␤]
02:14 p6eval ..rakudo 29782: OUTPUT[howdy␤]
02:14 Alias__ perl6: system('ls');
02:14 p6eval elf 21559:
02:14 p6eval ..OUTPUT[Aside␤deleteme10230.dump␤deleteme10230.p​6␤deleteme10257.dump␤deleteme10257.p6␤deleteme108​99.dump␤deleteme10899.p6␤deleteme10945.dump␤delet​eme10945.p6␤deleteme10994.dump␤deleteme10994.p6␤d​eleteme11077.dump␤deleteme11077.p6␤deleteme11127.​dump␤deleteme11127.p6␤deleteme11230.dump␤del...
02:14 p6eval ..pugs: OUTPUT[*** Unsafe function 'system' called under safe mode␤    at /tmp/MtXCu9fzLJ line 1, column 1-13␤]
02:14 p6eval ..rakudo 29782: OUTPUT[Could not find non-existent sub system␤current instr.: '_block11' pc 18 (EVAL_11:13)␤]
02:15 Alias__ perl6: while(1) { }
02:16 Alias__ ...
02:16 p6eval elf 21559: OUTPUT[Parse error in: /tmp/CvZNmLUDnP␤panic at line 1 column 0 (pos 0): Can't understand next input--giving up␤WHERE: while(1) { }␤WHERE:/\<-- HERE␤  STD_red/prelude.rb:99:in `panic'␤  STD_red/std.rb:76:in `scan_unitstopper'␤  STD_red/std.rb:224:in `comp_unit'␤  STD_red/std.rb:210:in
02:16 p6eval ..`...
02:16 p6eval ..pugs: No output (you need to produce output to STDOUT)
02:16 p6eval ..rakudo 29782: No output (you need to produce output to STDOUT)
02:16 TimToady perl6: say "hi"
02:16 p6eval elf 21559: OUTPUT[hi␤]
02:16 p6eval ..pugs: OUTPUT[hi␤]
02:16 p6eval ..rakudo 29782: OUTPUT[hi␤]
02:27 bacek joined #perl6
02:31 xinming_ joined #perl6
03:02 elmex_ joined #perl6
03:08 justatheory joined #perl6
03:10 yewenbin joined #perl6
03:14 pugs_svn r21560 | lwall++ | [Cursor] continue to recover from speed-induced bugs
03:18 pugs_svn r21561 | leto++ | Fix test which was wrongly expecting the returned value to have an angle outside of -pi <= theta <= pi .
03:53 pugs_svn r21562 | lwall++ | [STD] allow ::{'$var'} as special degenerate case of name both beginning and ending with ::
04:01 pugs_svn r21563 | lwall++ | [STD] generalize array shapes to be sequence of [], {}, or () so we can parse (-->Type)
04:05 speckbot r14570 | larry++ | Allow stackable subscript declarations and (-->type)
04:14 alester joined #perl6
05:20 xinming joined #perl6
05:40 Psyche^ joined #perl6
05:55 Schwern joined #perl6
05:59 justatheory joined #perl6
06:26 xinming_ joined #perl6
07:16 sri_work joined #perl6
07:35 iblechbot joined #perl6
07:36 xinming joined #perl6
07:47 a-jing joined #perl6
07:48 a-jing left #perl6
07:56 fridim_ joined #perl6
08:06 pmurias joined #perl6
08:08 ludan joined #perl6
08:29 pmurias ruoso: i'm implementing Frame.clone, and will write a Code which takes a slime frame
08:41 pugs_svn r21564 | fglock++ | [v6.pm] added all(), any(), true(), not()
08:51 bbkr joined #perl6
08:51 pmurias joined #perl6
08:51 ruoso joined #perl6
08:51 agentzh joined #perl6
08:51 ingy joined #perl6
08:51 nnunley joined #perl6
08:51 r0bby joined #perl6
08:51 silug joined #perl6
08:51 rlb3 joined #perl6
08:55 chris2 joined #perl6
09:03 charsbar joined #perl6
09:03 hanekomu joined #perl6
09:12 Southen joined #perl6
09:18 mtrimpe joined #perl6
09:26 charsbar_ joined #perl6
09:32 revdiablo joined #perl6
09:34 pmurias TimToady: %Cursors::lexers do *get* poisoned
09:35 pmurias instead of debuging metadebugging code i should have just checked that
09:42 masak joined #perl6
09:49 pugs_svn r21565 | pmurias++ | improved show_changed_vars which proved that %Cursor::lexers was getting poisoned
09:50 pmurias TRE segfaults after a few tests anyway if %Cursor::lexers get set to ();
09:55 pmurias joined #perl6
10:12 * zamanfou is now away: In the rain my tears are forever lost.
10:19 pbuetow joined #perl6
10:24 kanru joined #perl6
10:53 meppl joined #perl6
12:05 rindolf joined #perl6
12:20 a-jing joined #perl6
12:20 a-jing left #perl6
12:26 fridim_ joined #perl6
12:59 pmurias joined #perl6
13:11 pugs_svn r21566 | fglock++ | [v6.pm] rx() parser fixed
13:12 pugs_svn r21567 | fglock++ | [v6.pm] fixed last commit
13:24 sri_work_ joined #perl6
13:29 jan joined #perl6
13:40 wknight8111 joined #perl6
13:44 pugs_svn r21568 | fglock++ | [PCR] fixed name mangler
13:46 icwiener joined #perl6
14:08 b_jonas joined #perl6
14:19 pugs_svn r21569 | fglock++ | [v6.pm] smartmatch fixes
14:26 pugs_svn r21570 | pmurias++ | [elf] removed old on_smop attempts
14:40 pugs_svn r21571 | pmurias++ | [STD]
14:40 pugs_svn r21571 | pmurias++ | teststd prints out the failed tests at the end
14:40 pugs_svn r21571 | pmurias++ | commented out a line of code which was meant add a label to the COMPILING namespace
14:53 jhorwitz joined #perl6
14:55 masak perl6: say "I like pie".HOW
14:55 p6eval elf 21571: OUTPUT[Can't locate object method "HOW" via package "I like pie" (perhaps you forgot to load "I like pie"?) at (eval 117) line 3.␤ at ./elf_f line 3861␤]
14:55 p6eval ..pugs: OUTPUT[^Str␤]
14:55 p6eval ..rakudo 29799: OUTPUT[get_string() not implemented in class 'P6metaclass'␤current instr.: 'print' pc 12259 (src/gen_builtins.pir:7802)␤]
14:58 pugs_svn r21572 | fglock++ | [v6.pm] improved smartmatching
15:10 pmurias a macro definition should create a new grammar, and parse using it?
15:15 Lorn joined #perl6
15:18 iblechbot joined #perl6
15:29 Lorn_ joined #perl6
15:39 Chillance joined #perl6
15:45 pugs_svn r21573 | fglock++ | [v6.pm] fixed 'if'
16:07 kanru joined #perl6
16:25 fridim_ joined #perl6
16:27 cognominal_ joined #perl6
16:28 chris2 joined #perl6
16:30 alester joined #perl6
16:44 pugs_svn r21574 | fglock++ | [v6.pm] improved perl(), slurp()
17:10 cognominal__ joined #perl6
17:11 moritz_ re
17:11 pmurias TimToady: the segfault is cause by a memory leak
17:11 pmurias moritz_: hi
18:03 pugs_svn r21575 | moritz++ | [spec] untodo a test in inheritance.t, schwern++
18:05 Auzon hi moritz_
18:06 moritz_ hi Auzon
18:06 * moritz_ just returned after a long weekend wihtout internet access :/
18:07 Auzon I've been working on the regex tests, and I've noticed that rakudo supports the /foo/ form but not m/bar/
18:07 Auzon the latter parsefails
18:08 moritz_ did you write a ticket already?
18:09 Auzon Not yet. It was late and I wanted to be coherent :)
18:10 moritz_ hehe ;-)
18:10 Auzon I also have an odd segfault in spectest_regression in perl.t of all places.
18:11 moritz_ is your checkout clean?
18:11 moritz_ and did you do a make realclean recently?
18:11 moritz_ it works fine here
18:11 meppl joined #perl6
18:11 moritz_ http://news.oreilly.com/2008/07/la​rry-wall-at-oscon-open-sourc.html if you haven't seen it already ;-)
18:11 lambdabot Title: Larry Wall at OSCON: Open Source as a Parenting Experience | O'Reilly News, http://tinyurl.com/5ostxk
18:12 Auzon I did a make realclean and built stuff as usual. I'll investigate a bit more.
18:12 moritz_ is 'svn diff' empty?
18:13 Auzon I'll check
18:13 Auzon When I tried this last night, it worked if I ran the version in pugs but not the version that the spectest_regression checked out.
18:13 moritz_ scary ;)
18:17 * moritz_ wonders why Schwern sent a 4 lines patch to RT although he has a pugs commit bit
18:17 moritz_ probably didn't know the tests are hosted there
18:19 pmurias &
18:20 Auzon Yeah. I have the same issue as last night. I'll try the file on a different host to see if I can duplicate the segfault
18:20 pugs_svn r21576 | fglock++ | [v6.pm] added tests
18:25 Auzon Odd. The same file works elsewhere
18:32 moritz_ http://perlgeek.de/blog-en/perl-​6/huffman-tree-with-rakudo.html
18:32 lambdabot Title: blog | Perlgeek.de Blog
18:34 Auzon cool :)
18:35 moritz_ yes ;)
18:35 moritz_ pmichaud will like that, some more positive press for rakudo ;-)
18:39 pugs_svn r21577 | fglock++ | [v6.pm] updated MANIFEST
18:40 moritz_ btw I found that blosxom (perl based blog system) integrates very nicely with my home-made offline CMS
19:01 ingyfoo joined #perl6
19:04 justatheory joined #perl6
19:07 Auzon moritz_, have you see the files t/regex/p6regex/p6regex.t and t/regex/p6regex/regex_tests?
19:07 Auzon I'm trying to think of how to get them to run under Rakudo, but it's a challenge since we have no split or s///
19:09 Auzon I'm thinking about making a p5 script to kludge around it, or maybe changing the format of the test file somehow
19:09 * moritz_ looks
19:10 moritz_ the substitution of the file name can be removed, just use a fixed path like t/spec/S05-regex/regex_tests or whatever
19:11 moritz_ most of the substitions on $target can be made with .trans, which cjfields++ implemented in rakudo
19:12 moritz_ and maybe just ignore those tests that contain stuff that can't be substituted right now?
19:12 Auzon Well, the simple substitutions aren't a problem since I can use .substr
19:16 pugs_svn r21578 | fglock++ | [PCR] version 0.35
19:17 pugs_svn r21579 | fglock++ | [v6.pm] version 0.028  # >5600 tests
19:44 Schwern joined #perl6
19:59 rindolf joined #perl6
20:05 pbuetow joined #perl6
20:19 pmurias TimToady: are you working on macroes right now? (I don't want to duplicate effort)
20:19 r0bby joined #perl6
20:38 pugs_svn r21580 | moritz++ | [spec] moved blocks/multi_sub.t to spec/
20:42 Limbic_Region joined #perl6
20:42 pugs_svn r21581 | moritz++ | [spec] moved proto tests out of S06-multi/type-based.t
20:48 rindolf pmurias: "macros" - not "macroes".
20:49 Auzon How hard would it be to get a $?FILE working in Rakudo?
20:50 Auzon (just to tell the current file, or even the main file would be very helpful)
20:51 pmurias rindolf: yes, sorry
20:51 rindolf It's tomatoes and potatoes but macro and typos.
20:51 rindolf macros and typos even.
20:57 pugs_svn r21582 | moritz++ | [spec] partial fudge (and correction) of S06-multi/type-based.t, unfudge one
20:57 pugs_svn r21582 | moritz++ | test in S12-class/inheritance.t
20:57 b_jonas yeah, and either and neither and weird and caffeine but otherwise i before e except before c if it's pronounced as long e.
20:57 b_jonas English spelling is just crazy.
20:57 moritz_ reminds me a bit of perl 5 ;-)
20:58 moritz_ it's crazy and inconsistent, and everybody uses it ;-)
20:58 mncharity joined #perl6
20:59 pmurias mncharity: hi
21:00 b_jonas and I say crazy because I gave up writing "weird" in favor of "crazy" and "curious"
21:00 b_jonas and "strange"
21:01 eternaleye joined #perl6
21:01 pmurias who invented english spelling?
21:03 moritz_ the British mostly ;-)
21:03 araujo joined #perl6
21:05 pugs_svn r21583 | moritz++ | [spec] fudged S06-multi/type-based.t for rakudo
21:14 rlb3_ joined #perl6
21:45 rakudo_svn r29808 | moritz++ | [rakudo] added S06-multi/type-based.t to spectest_regression
21:45 rakudo_svn r29808 | moritz++ |  +5 pass, +13 skip
21:47 justatheory joined #perl6
21:48 Auzon moritz_: I think I'm going to defer working on p6regex.t until rakudo supports s///, $*FILE and either filehandle iteration or split. I was able to kludge in $*FILE support to Rakudo, but reading the input into lines seems too difficult at present.
21:49 moritz_ dosn't work with open() yet?
21:49 Auzon open works, so does $fh.readline, but I can't seem to detect the end of the file.
21:51 moritz_ lemme check, perhaps there's an easy way
21:51 Auzon OK
21:51 Auzon .readline always seemed to return a defined value so I can't tell the difference between an empty line and EOF
21:52 Auzon .eof isn't implemented. slurp works great, but I can't split it into lines. lines isn't implemented either :-/
21:53 moritz_ my @lines = =$handle; also doesn't seem to work
21:53 Auzon No, even though IO.pir has code for the IOIterator object
21:54 moritz_ ok, I'd say stall the work, and write a ticket (in which you mention that > 500 tests hang on this feature ;-)
21:54 Auzon :)
21:56 moritz_ debian has updates for my mail client - 9 CVEs :(
22:01 mncharity hi pmurias :)
22:05 pmurias re the compiler refactor, the argument against it was that someone replacing the compiler would have to now that it has an emitter and a parser
22:08 pmurias mncharity: rehi ;
22:10 Auzon moritz_: Should I open up a bunch of tickets for each separate issue, or just request something (that appears to be) simple like .eof?
22:11 moritz_ yes.
22:11 moritz_ (ok, not very helpful)
22:11 moritz_ Auzon: open as many tickets as you feel like
22:11 moritz_ Auzon: multiple ones are more helpful, I guess
22:12 Auzon Alright, sounds good. I'll submit a batch in an hour or so. break &
22:14 pmurias sleep&
22:14 moritz_ good idea, actually (to sleep)
22:36 pugs_svn r21584 | putter++ | [elf_g] temp() is now used for dynamically scoped variables.
22:36 pugs_svn r21584 | putter++ | Code needing the old context var bogosity should stay with the frozen elf_f.
22:36 pugs_svn r21584 | putter++ | [STD_red] Accept 'temp' as a scope_declarator.
22:36 mncharity TimToady: STD.pm missing 'temp'.
22:37 mncharity hmm, I wonder how much of the elf code STD will then accept
22:38 icwiener_ joined #perl6
22:39 mncharity Auzon: re p6regex.t, I also expect it to be useful to elf in a couple of weeks.
22:45 mncharity @tell Auzon re reading lines, a cautionary tale - I've squandered a scary amount of life attempting workarounds for pugsbugs.  Man months.  Given that rakudo is actively developed, I suggest you try applying a very low threshold to asking "rakudo folks: I need to do X - can you find me a way to do it that works?", and shift to some unblocked aspect of test writing.
22:45 lambdabot Consider it noted.
22:46 mncharity Else you find at summer's end, you've spent a great deal of time wandering a maze of deadend passages, and debugging rakudo, rather than writing tests.
22:47 moritz_ mncharity: that's what Auzon has planned, if I understood it correctly
22:47 moritz_ bed &
22:47 mncharity indeed.  but it was unclear how much struggle happened before deferring.
22:48 mncharity I'm suggesting such struggle be carefully monitored and in general avoided.
22:48 mncharity good night :)
22:49 mncharity it's come up once or twice previously during the summer... but seemed an open issue.
22:52 mncharity hmm, it's not even clear to me Auzon's time is well spent doing fudge annotations.
22:52 mncharity s/well/best/
22:54 mncharity TimToady: re STD scope_declarator, and 'let'.
22:54 mncharity I'd be happy to add them myself if you prefer. ;)
23:21 mncharity joined #perl6
23:23 pugs_svn r21585 | putter++ | [STD] Added the 'let' and 'temp' scope_declarator's.
23:32 pugs_svn r21586 | putter++ | [rx_on_re] Unbroke vis elf_g.  r21458 conjunction regression fixed.
23:32 pugs_svn r21586 | putter++ | The r21458 commit message comment that it was 'working "better"' was incorrect.
23:34 wknight8111 joined #perl6

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

Perl 6 | Reference Documentation | Rakudo