pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, smop: etc.) || We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by TimToady on 25 January 2008.
pugs_svn r21558 | lwall++ | [Cursor] more caching 00:08
pugs_svn r21559 | lwall++ | [Cursor] whoops, syntax error 00:52
leto hola 01:26
TimToady aloh 01:36
meppl good night 01:55
rakudo_svn r29782 | pmichaud++ | [rakudo]: Allow single-test make targets, refactor fudge/harness. 02:11
r29782 | pmichaud++ | * Patch courtesy Schwern++.
TimToady perl6: say "howdy" 02:19
p6eval elf 21559: OUTPUT[howdy␤]
..pugs: OUTPUT[howdy␤]
..rakudo 29782: OUTPUT[howdy␤]
Alias__ perl6: system('ls');
p6eval elf 21559: 02:20
..OUTPUT[Aside␤deleteme10230.dump␤deleteme10230.p6␤deleteme10257.dump␤deleteme10257.p6␤deleteme10899.dump␤deleteme10899.p6␤deleteme10945.dump␤deleteme10945.p6␤deleteme10994.dump␤deleteme10994.p6␤deleteme11077.dump␤deleteme11077.p6␤deleteme11127.dump␤deleteme11127.p6␤deleteme11230.dump␤del...
..pugs: OUTPUT[*** Unsafe function 'system' called under safe mode␤ at /tmp/MtXCu9fzLJ line 1, column 1-13␤]
..rakudo 29782: OUTPUT[Could not find non-existent sub system␤current instr.: '_block11' pc 18 (EVAL_11:13)␤]
Alias__ perl6: while(1) { }
... 02:21
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
..`...
..pugs: No output (you need to produce output to STDOUT)
..rakudo 29782: No output (you need to produce output to STDOUT)
TimToady perl6: say "hi" 02:22
p6eval elf 21559: OUTPUT[hi␤]
p6eval ..pugs: OUTPUT[hi␤] 02:22
..rakudo 29782: OUTPUT[hi␤]
pugs_svn r21560 | lwall++ | [Cursor] continue to recover from speed-induced bugs 03:20
pugs_svn r21561 | leto++ | Fix test which was wrongly expecting the returned value to have an angle outside of -pi <= theta <= pi . 03:23
pugs_svn r21562 | lwall++ | [STD] allow ::{'$var'} as special degenerate case of name both beginning and ending with :: 03:58
r21563 | lwall++ | [STD] generalize array shapes to be sequence of [], {}, or () so we can parse (-->Type) 04:06
speckbot r14570 | larry++ | Allow stackable subscript declarations and (-->type) 04:10
pmurias ruoso: i'm implementing Frame.clone, and will write a Code which takes a slime frame 08:34
pugs_svn r21564 | fglock++ | [v6.pm] added all(), any(), true(), not() 08:47
pmurias TimToady: %Cursors::lexers do *get* poisoned 09:40
instead of debuging metadebugging code i should have just checked that 09:41
pugs_svn r21565 | pmurias++ | improved show_changed_vars which proved that %Cursor::lexers was getting poisoned 09:54
pmurias TRE segfaults after a few tests anyway if %Cursor::lexers get set to (); 09:56
zamanfou is now away: In the rain my tears are forever lost. 10:17
pugs_svn r21566 | fglock++ | [v6.pm] rx() parser fixed 13:16
r21567 | fglock++ | [v6.pm] fixed last commit 13:17
pugs_svn r21568 | fglock++ | [PCR] fixed name mangler 13:49
pugs_svn r21569 | fglock++ | [v6.pm] smartmatch fixes 14:25
r21570 | pmurias++ | [elf] removed old on_smop attempts 14:31
r21571 | pmurias++ | [STD] 14:45
r21571 | pmurias++ | teststd prints out the failed tests at the end
r21571 | pmurias++ | commented out a line of code which was meant add a label to the COMPILING namespace
masak perl6: say "I like pie".HOW 15:01
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␤]
..pugs: OUTPUT[^Str␤]
..rakudo 29799: OUTPUT[get_string() not implemented in class 'P6metaclass'␤current instr.: 'print' pc 12259 (src/gen_builtins.pir:7802)␤]
pugs_svn r21572 | fglock++ | [v6.pm] improved smartmatching 15:04
pmurias a macro definition should create a new grammar, and parse using it? 15:15
pugs_svn r21573 | fglock++ | [v6.pm] fixed 'if' 15:50
pugs_svn r21574 | fglock++ | [v6.pm] improved perl(), slurp() 16:50
moritz_ re 17:17
pmurias TimToady: the segfault is cause by a memory leak
moritz_: hi
pugs_svn r21575 | moritz++ | [spec] untodo a test in inheritance.t, schwern++ 18:09
Auzon hi moritz_ 18:10
moritz_ hi Auzon 18:11
moritz_ just returned after a long weekend wihtout internet access :/ 18:12
Auzon I've been working on the regex tests, and I've noticed that rakudo supports the /foo/ form but not m/bar/ 18:13
the latter parsefails
moritz_ did you write a ticket already?
Auzon Not yet. It was late and I wanted to be coherent :) 18:14
moritz_ hehe ;-) 18:15
Auzon I also have an odd segfault in spectest_regression in perl.t of all places. 18:16
moritz_ is your checkout clean?
and did you do a make realclean recently?
it works fine here
moritz_ news.oreilly.com/2008/07/larry-wall...sourc.html if you haven't seen it already ;-) 18:17
lambdabot Title: Larry Wall at OSCON: Open Source as a Parenting Experience | O'Reilly News, tinyurl.com/5ostxk
Auzon I did a make realclean and built stuff as usual. I'll investigate a bit more.
moritz_ is 'svn diff' empty? 18:18
Auzon I'll check
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.
moritz_ scary ;) 18:19
moritz_ wonders why Schwern sent a 4 lines patch to RT although he has a pugs commit bit 18:22
probably didn't know the tests are hosted there 18:23
pmurias & 18:24
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:25
pugs_svn r21576 | fglock++ | [v6.pm] added tests
Auzon Odd. The same file works elsewhere 18:30
moritz_ perlgeek.de/blog-en/perl-6/huffman-...akudo.html 18:38
lambdabot Title: blog | Perlgeek.de Blog
Auzon cool :) 18:39
moritz_ yes ;) 18:40
pmichaud will like that, some more positive press for rakudo ;-)
pugs_svn r21577 | fglock++ | [v6.pm] updated MANIFEST 18:44
moritz_ btw I found that blosxom (perl based blog system) integrates very nicely with my home-made offline CMS 18:46
Auzon moritz_, have you see the files t/regex/p6regex/p6regex.t and t/regex/p6regex/regex_tests? 19:12
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:13
I'm thinking about making a p5 script to kludge around it, or maybe changing the format of the test file somehow 19:14
moritz_ looks 19:14
the substitution of the file name can be removed, just use a fixed path like t/spec/S05-regex/regex_tests or whatever 19:16
most of the substitions on $target can be made with .trans, which cjfields++ implemented in rakudo 19:17
and maybe just ignore those tests that contain stuff that can't be substituted right now?
Auzon Well, the simple substitutions aren't a problem since I can use .substr
pugs_svn r21578 | fglock++ | [PCR] version 0.35 19:21
r21579 | fglock++ | [v6.pm] version 0.028 # >5600 tests 19:23
pmurias TimToady: are you working on macroes right now? (I don't want to duplicate effort) 20:24
pugs_svn r21580 | moritz++ | [spec] moved blocks/multi_sub.t to spec/ 20:44
pugs_svn r21581 | moritz++ | [spec] moved proto tests out of S06-multi/type-based.t 20:47
rindolf pmurias: "macros" - not "macroes". 20:53
Auzon How hard would it be to get a $?FILE working in Rakudo? 20:55
(just to tell the current file, or even the main file would be very helpful)
pmurias rindolf: yes, sorry 20:56
rindolf It's tomatoes and potatoes but macro and typos. 20:57
macros and typos even.
pugs_svn r21582 | moritz++ | [spec] partial fudge (and correction) of S06-multi/type-based.t, unfudge one 21:02
r21582 | moritz++ | test in S12-class/inheritance.t
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.
English spelling is just crazy.
moritz_ reminds me a bit of perl 5 ;-) 21:03
it's crazy and inconsistent, and everybody uses it ;-)
pmurias mncharity: hi 21:04
b_jonas and I say crazy because I gave up writing "weird" in favor of "crazy" and "curious" 21:05
and "strange"
pmurias who invented english spelling? 21:07
moritz_ the British mostly ;-) 21:08
pugs_svn r21583 | moritz++ | [spec] fudged S06-multi/type-based.t for rakudo 21:10
rakudo_svn r29808 | moritz++ | [rakudo] added S06-multi/type-based.t to spectest_regression 21:50
r29808 | moritz++ | +5 pass, +13 skip
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:54
moritz_ dosn't work with open() yet?
Auzon open works, so does $fh.readline, but I can't seem to detect the end of the file. 21:55
moritz_ lemme check, perhaps there's an easy way 21:56
Auzon OK
.readline always seemed to return a defined value so I can't tell the difference between an empty line and EOF 21:57
.eof isn't implemented. slurp works great, but I can't split it into lines. lines isn't implemented either :-/
moritz_ my @lines = =$handle; also doesn't seem to work 21:58
Auzon No, even though IO.pir has code for the IOIterator object
moritz_ ok, I'd say stall the work, and write a ticket (in which you mention that > 500 tests hang on this feature ;-) 21:59
Auzon :)
moritz_ debian has updates for my mail client - 9 CVEs :( 22:01
mncharity hi pmurias :) 22:06
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:10
pmurias mncharity: rehi ; 22:14
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:16
moritz_ yes.
(ok, not very helpful)
Auzon: open as many tickets as you feel like
Auzon: multiple ones are more helpful, I guess 22:17
Auzon Alright, sounds good. I'll submit a batch in an hour or so. break &
pmurias sleep& 22:19
moritz_ good idea, actually (to sleep) 22:20
pugs_svn r21584 | putter++ | [elf_g] temp() is now used for dynamically scoped variables. 22:42
r21584 | putter++ | Code needing the old context var bogosity should stay with the frozen elf_f.
r21584 | putter++ | [STD_red] Accept 'temp' as a scope_declarator.
mncharity TimToady: STD.pm missing 'temp'.
hmm, I wonder how much of the elf code STD will then accept 22:43
mncharity Auzon: re p6regex.t, I also expect it to be useful to elf in a couple of weeks. 22:45
@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:51
lambdabot Consider it noted.
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:52
moritz_ mncharity: that's what Auzon has planned, if I understood it correctly
bed &
mncharity indeed. but it was unclear how much struggle happened before deferring. 22:53
I'm suggesting such struggle be carefully monitored and in general avoided.
good night :)
it's come up once or twice previously during the summer... but seemed an open issue. 22:54
hmm, it's not even clear to me Auzon's time is well spent doing fudge annotations. 22:57
s/well/best/ 22:58
mncharity TimToady: re STD scope_declarator, and 'let'. 22:59
I'd be happy to add them myself if you prefer. ;) 23:00
pugs_svn r21585 | putter++ | [STD] Added the 'let' and 'temp' scope_declarator's. 23:29
r21586 | putter++ | [rx_on_re] Unbroke vis elf_g. r21458 conjunction regression fixed. 23:37
r21586 | putter++ | The r21458 commit message comment that it was 'working "better"' was incorrect.