pugscode.org/ | nopaste: sial.org/pbot/perl6 | pugs: [~] <m oo se> (or rakudo:, kp6:, elf: etc.) (or perl6: for all) | irclog: irc.pugscode.org/
Set by Tene on 29 July 2008.
00:12 justatheory joined
s1n @tell pmichaud i have some tests i'm going to commit for the radix stuff, but it'll be TODO until you commit my patch in rt#59222 00:13
lambdabot Consider it noted.
00:27 justatheory left 00:33 Limbic_Region left 00:35 Kitchy left 00:44 BinGOs left
pugs_svn r22420 | pmichaud++ | [t/spec] Fix operator precedence in regex matching tests, +3 pass 01:23
01:27 [particle]1 joined 01:28 sri_work_ left 01:41 [particle] left 02:00 eternaleye joined, jdv79 joined
jdv79 anyone have any resources for someone who wants to learn about Self's pros and cons? 02:04
02:04 meppuru joined, [particle] joined
pugs_svn r22421 | putter++ | [elf] More backend neutrality. 02:07
02:20 justatheory joined, [particle]2 joined 02:21 [particle]1 left, meppl left 02:37 [particle] left 02:39 Ontolog joined 02:52 hercynium joined 02:58 justatheory left 03:02 elmex_ joined 03:09 [particle]2 left, [particle] joined
meppuru good night 03:15
03:17 elmex left, meppuru left, elmex_ is now known as elmex 03:37 wknight8111 left 03:41 Caelum joined 03:42 kanru left
pugs_svn r22422 | azawawi++ | [t/spec] Fixed 2 skip messages for unicode.t 03:44
r22423 | s1n++ | [t/spec] added 45 tests (rehashes) of string conversions of radix notations (see rt# 59222) 03:47
03:50 kanru joined 04:05 hercynium left
s1n @tell moritz_ i added the first set of radix tests to radix.t, i'm going to add more tomorrow 04:13
lambdabot Consider it noted.
04:24 Ehtyar left 04:41 zostay joined
azawawi rakudo: print $?OS 05:08
lambdabot azawawi: You have 1 new message. '/msg lambdabot @messages' to read it.
p6eval rakudo 31451: OUTPUT[Scope not found for PAST::Var '$OS'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 156 (src/PCT/HLLCompiler.pir:103)␤]
azawawi @messages
lambdabot moritz_ said 6h 48m 14s ago: please don't fudge tests where the thing that's tested is not yet implemented - it doesn't help anybody
azawawi @seen moritz_ 05:09
lambdabot moritz_ is in #perl6. I last heard moritz_ speak 6h 34m 4s ago.
azawawi @seen moritz
lambdabot I haven't seen moritz.
azawawi rakudo: print $?OS
p6eval rakudo 31451: OUTPUT[Scope not found for PAST::Var '$OS'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 156 (src/PCT/HLLCompiler.pir:103)␤]
azawawi pugs: print $?OS
p6eval pugs: OUTPUT[linux]
azawawi kp6: print $?OS 05:10
p6eval kp6 22423: OUTPUT[syntax error at position 6, line 1 column 6:␤print $?O␤ ^ HERE␤]
azawawi elf: print $?OS
p6eval elf 22423: OUTPUT[Global symbol "$OS" requires explicit package name at (eval 117) line 3.␤ at ./elf_f line 3861␤]
azawawi @tell moritz_ For not-yet-implemented things, use #?rakudo todo instead? 05:12
lambdabot Consider it noted.
05:29 sail0r joined 05:31 sail0r left 05:42 Psyche^ joined, [particle]1 joined 05:58 agentzh left, Patterner left, Psyche^ is now known as Patterner 05:59 agentzh joined 06:00 [particle] left
pugs_svn r22424 | azawawi++ | [t/spec] Fudged config.t as un-implemented for rakudo 06:03
06:10 abra joined 06:11 Bzek joined
pugs_svn r22425 | azawawi++ | [t/spec] Fudged block.t for rakudo 06:18
06:24 z80ASM joined
z80ASM timtowtdi 06:24
Hi
06:43 entonian1 joined 07:00 allbery_b joined 07:07 agentzh left, agentzh joined
pugs_svn r22426 | azawawi++ | [t/spec] Fudged dollar_bang.t for rakudo 07:08
07:24 abra left
pugs_svn r22427 | azawawi++ | [t/spec] Fixed earlier fudging in int-uint.t to skip everything as unimpl 07:26
07:34 entonian1 left 08:08 jfredett joined 08:18 lumi left 08:20 kanru left 08:23 BinGOs joined 08:24 pmurias joined 08:37 z80ASM left 08:49 agentzh left 08:53 funktio_ is now known as funktio 08:54 xunxin joined 08:55 xunxin left 09:03 jan_ joined, agentzh joined 09:08 xunxin joined
pugs_svn r22428 | azawawi++ | [t/spec] Fudged names.t for rakudo 09:09
moritz_ azawawi: for example rakudo doesn't implement native types (int, uint) yet. There's simply no point in fudging things like int-uint.t because it won't meaningfully parse any test
lambdabot moritz_: You have 3 new messages. '/msg lambdabot @messages' to read them.
09:09 xunxin left
azawawi moritz_: hi 09:09
moritz_: how about skipping them as unimpl 09:10
moritz_: ?
09:11 iblechbot joined
moritz_ azawawi: don't skip them. If they are skipped, and somebody implements the feature, the tests still aren't run 09:44
azawawi: if a file contains only tests for unimplemented features, simply leave then alone until at least some of them are implemented 09:45
azawawi moritz_: ok, i'll revert changes to int-uint.t
moritz_: thx for the advice ;-) 09:46
moritz_: the problem is that i dont know what's implemented or not
moritz_ azawawi: in case of doubt run one very simple test manually 09:54
or ask
azawawi moritz_: cool
09:55 Ontolog left
azawawi moritz_: i found out that sometimes '#?rakudo try' is pretty useful in deciding what works or not 09:56
moritz_: but not with syntax errors ofcourse
moritz_ aye
azawawi maybe we can apply it to unimplemented test features like int-uint.t 09:58
10:05 lichtkind_ joined 10:07 sri_work joined
pugs_svn r22429 | azawawi++ | [t/spec] Fudged fmt.t for rakudo 10:23
10:23 lichtkind left 10:39 mberends joined
azawawi @seen moritz_ 10:46
lambdabot moritz_ is in #perl6. I last heard moritz_ speak 49m 34s ago.
azawawi @tell moritz_ Should rakudo support $?PUGS_BACKEND (e.g. pid.t)? 10:47
lambdabot Consider it noted.
moritz_ azawawi: no 10:48
lambdabot moritz_: You have 4 new messages. '/msg lambdabot @messages' to read them.
moritz_ azawawi: the usual approach is to prefix those tests with #?pugs emit
azawawi moritz_: one more thing
lvalues
rakudo: my ($a, $b) = (10,20); 10:49
p6eval rakudo 31451: OUTPUT[Method 'lvalue' not found for invocant of class 'PAST::Stmts'␤current instr.: 'parrot;PAST::Compiler;as_post' pc 2878 (src/PAST/Compiler.pir:735)␤]
azawawi pugs: my ($a, $b) = (10,20);
p6eval pugs: RESULT[(\10, \20)]
moritz_ azawawi: list assignment is NYI in rakudo
azawawi moritz_: so in that case, should i emit compatible code for run the actual tests? 10:50
moritz: e.g. #?rakudo emit my $a = 10; my $b = 20;
moritz_ azawawi: if it's not list assignment that's being tested, you can also just simplify the test 10:51
azawawi moritz_: cool thx
11:04 agentzh left
azawawi pugs: say $*PID; 11:20
p6eval pugs: OUTPUT[␤]
azawawi pugs: say $*EXECUTABLE_NAME; 11:21
p6eval pugs: OUTPUT[␤]
azawawi raduko: say $*PID;
rakudo: say $*PID;
p6eval rakudo 31451: OUTPUT[␤]
azawawi pugs: my $p = $*PID 11:22
p6eval pugs: RESULT[\undef]
azawawi pugs: my $p = $*PID;
p6eval pugs: RESULT[\undef]
azawawi pugs: my $p = $*PID; say $p;
p6eval pugs: OUTPUT[␤]
moritz_ azawawi: p6eval runs pugs in safe mode... 11:23
azawawi moritz_: how do i know the process id of perl6 process?
moritz_: i noticed... 11:24
moritz_ azawawi: it could be that some of the special variables are disabled
azawawi: on my machine $*PID works
azawawi moritz_: for rakudo? 11:25
moritz_ no, on pugs
azawawi rakudo: my $p=$*PID // "default"; say $p; 11:27
p6eval rakudo 31451: OUTPUT[default␤]
azawawi moritz_: undefined....
moritz_: that's why many of the tests that depend on those special vars are failing... 11:28
11:31 zamolxes left
moritz_ yes :/ 11:32
11:52 meppl joined
rakudo_svn r31454 | moritz++ | [rakudo] implement Hash.reverse, bacek++. Closes RT #59396 11:54
r31454 | moritz++ | Patch courtesy of Vasily Chekalkin
pugs_svn r22430 | moritz++ | [t/spec] unfudged Hash.reverse test, bacek++
12:02 lumi joined
rakudo_svn r31455 | moritz++ | [rakudo] export Str.reverse as a function, as perl S29 and bacek++ 12:02
pugs_svn r22431 | moritz++ | [t/spec] unfudge passing reverse.t tests, bacek++ 12:03
12:04 pmurias_ joined 12:05 rindolf joined, pmurias_ left, pmurias left 12:21 Ontolog joined
pugs_svn r22432 | moritz++ | [t] move operators/recursive_definition.t to spec/, and add a simpler test as well 12:32
12:39 pmurias joined 12:40 Alias_ joined 12:58 mberends left, mberends joined 13:00 rindolf left
pugs_svn r22433 | azawawi++ | [t/spec] Fudged increment.t for rakudo 13:02
rakudo_svn r31456 | moritz++ | [rakudo] move some Str builtins to any-str, bacek++. Closes RT #59398. 13:03
r31456 | moritz++ | Patch courtesy by Vasily Chekalkin
13:08 jferrero joined 13:22 fridim_ left 13:33 iblechbot left 13:39 abra joined 13:45 Alias__ joined 14:00 Alias__ left 14:02 Alias_ left 14:19 Ontolog left
rakudo_svn r31460 | coke++ | [codingstd] remove trailing whitespace 14:37
pugs_svn r22434 | azawawi++ | [t/spec] reverted the fudging done earlier to unicode.t (azawawi--, moritz++) 14:38
moritz_ azawawi++ # fixing own "mistakes" 14:39
azawawi moritz_: lol
pugs_svn r22435 | azawawi++ | [t/spec] reverted to unfudged version since it failed in rakudo 14:45
azawawi moritz_: im feeling bored now ;-)
moritz_ azawawi: there are lots of things to be done... look at t/TASKS 14:46
lichtkind_ is $capture = \$var still reference to this var? 14:54
14:55 lichtkind_ is now known as lichtkind 15:28 pmurias_ joined, pmurias_ left
pmurias lichtkind: yes 15:37
lichtkind thanks
pmurias if you mean what i think ;) 15:38
15:41 abra left 15:49 abra joined 15:55 iblechbot joined 16:03 rindolf joined
lichtkind of course 16:08
i mean that i can use than $$capture 16:09
anybody tried &routine() ~~ &routine() ?
anybody tried &routine() ~~ &routine2() ?
:)
16:13 jhorwitz joined
lichtkind later 16:21
16:21 lichtkind left 16:35 mberends left 16:43 Limbic_Region joined 16:46 jferrero left 16:54 justatheory joined
rakudo_svn r31462 | moritz++ | [rakudo] add :multi directives on many methods in any-str.pir, bacek++ 16:58
17:06 mberends joined
rafl is sub foo ($bar is ro is rw) {} valid? 17:10
if so, what does it mean?
moritz_ std: sub foo ($bar is ro is rw) {}
p6eval std 22435: OUTPUT[parsed␤]
moritz_ rafl: it might be syntactically valid, but I don't think it is semantically
17:11 dmq left
pmurias rafl: it depends what do you define ro to mean, it's readonly in Perl 6 17:24
azawawi std: my ($a,$b) = (10,"20"); 17:38
p6eval std 22435: OUTPUT[parsed␤]
azawawi rakudo: my ($a,$b) = (10,"20");
p6eval rakudo 31462: OUTPUT[Method 'lvalue' not found for invocant of class 'PAST::Stmts'␤current instr.: 'parrot;PAST::Compiler;as_post' pc 2878 (src/PAST/Compiler.pir:735)␤]
17:59 alester joined 18:02 rindolf left
pugs_svn r22436 | moritz++ | [docs] a few small fixes in the book 18:12
azawawi pugs: "test\\" eq 'test\\' 18:36
p6eval pugs: RESULT[Bool::True]
azawawi rakudo: "test\\" eq 'test\\'
p6eval rakudo 31462: RESULT[Bool::True]
19:11 icwiener joined 19:13 silug joined
pugs_svn r22437 | azawawi++ | [t/spec] added a smartlink for ('test\\' eq "test\\") test 19:14
19:16 abra left 19:20 Bzek left
rakudo_svn r31463 | pmichaud++ | [rakudo]: spectest-progress.csv update: 187 files, 4090 passing tests 19:28
19:33 Limbic_Region left 19:37 azawawi left 19:58 dolmen joined
pugs_svn r22438 | moritz++ | [t/spec] fudged increment.t for rakudo 20:29
pmurias rafl: sorry, what i meant to say "is readonly" is used in perl6 instead of "is ro" 20:34
rafl pmurias: oh, that makes more sense :-)
but then i guess my question would be if is rw is readonly is valid 20:36
pugs_svn r22439 | moritz++ | [t/spec] unfudge passing TODO tests in radix.t
rakudo_svn r31464 | moritz++ | [t/spec] add increment.t to rakudo, azawawi++ 20:37
20:37 larsen_ joined 20:44 REPLeffect left 21:15 meppuru joined
pmurias rafl: i guess what it does would depend in the order they were applied, but i think it would be valid 21:21
21:23 meppl left 21:33 sri_work left 21:35 meppuru left 21:39 justatheory left
pugs_svn r22440 | s1n++ | [t/spec] added 8 radix tests that should fail parsing and return 0 21:39
s1n moritz_: have and ideas for other things that i should test? 21:40
21:40 pmurias left 21:43 pmurias joined 21:49 iblechbot left 22:01 pmurias left 22:02 jhorwitz left 22:04 elmex left, alester left 23:17 icwiener_ joined 23:31 icwiener left 23:45 japhb left, japhb_ joined 23:53 dolmen left 23:54 dolmen joined