pugscode.org/ | nopaste: sial.org/pbot/perl6 | ?eval [~] <m oo se> | We do Haskell, too | > reverse . show $ foldl1 (*) [1..4] | irclog: irc.pugscode.org/
Set by diakopter on 11 July 2007.
timbunce Are these known problems?: 10:54
$ echo 'class X { my $foo; $foo.perl.say; }' | perl kp6-perl5.pl >/dev/null
Syntax Error
$ echo 'class X { my @a=<foo bar>; }' | perl kp6-perl5.pl > /dev/null
Syntax Error
I'm using the latest (r17726)
pugs_svnbot r17727 | masak++ | [ext/File-Util/t/02.files.t] 10:59
r17727 | masak++ | * reset variable to make the subsequent test fail
r17728 | masak++ | [ext/File-Util/t]
r17728 | masak++ | * corrected file paths
diff: dev.pugscode.org/changeset/17728
lambdabot Title: Changeset 17728 - Pugs - Trac
pugs_svnbot r17729 | masak++ | [ext/File-Util/lib/File/Util.pm] 11:02
r17729 | masak++ | * $cond ?? $var = 1 !! $var = undef; has the wrong priorities
r17729 | masak++ | * better written as $var = ?($cond) anyway
r17729 | masak++ | * nicer error messages
r17730 | masak++ | [ext/Getopt-Std/lib/Getopt/Std.pm]
r17730 | masak++ | * found and circumvented another case of the array init bug
diff: dev.pugscode.org/changeset/17730
lambdabot Title: Changeset 17730 - Pugs - Trac
pugs_svnbot r17731 | masak++ | [ext/Perl6-Grammar/t/basic.t] 11:05
r17731 | masak++ | * test does not hang anymore, it just fails normally
diff: dev.pugscode.org/changeset/17731
lambdabot Title: Changeset 17731 - Pugs - Trac
masak (I had trouble sleeping, so I did some test triaging) 11:06
Juerd Who does currently maintain evalbot? 12:44
(if anyone...)
moritz_ diakopter++ does iirc 12:45
according to SLAVES 12:46
Juerd I've never heard about SLAVES 12:54
Sounds like a particularly useful file :)
moritz_ it's in the pugs root dir ;) 12:55
Juerd 2007-09-09 12:59
Two new virtual machines were created: feather2 and feather3. Please move
important services (like SVN) to feather2, and public eval services (like
evalbot, runpugs) to feather3. Ask Juerd for an account and/or root access.
moritz_ wants root access 13:01
no, just kidding ;)
DarkWolf84 where is that GLOBAL::Test is that someting from CPAN? 13:02
moritz_ it's in v6/v6-KindaPerl6/lib-modules/ 13:03
DarkWolf84 strange 13:04
moritz_ why?
DarkWolf84 it gives me that it could not be found
moritz_ did you do an svn up?
DarkWolf84 only for kp6 branch 13:05
Juerd moritz_: Sure - on which machine and why?
Don't be afraid to ask for something if you think it can help you develop Perl 6 better 13:06
DarkWolf84 ok I make full update now 13:07
moritz_ Juerd: I have a server myself where I have root access
timtwotdi.org ;-)
Juerd There is more than w...?
moritz_ oh, type 13:08
s/e/o/
Juerd Ah
DarkWolf84 Can't locate GLOBAL/Test.pm in @INC 13:10
the same error
moritz_ what command are you running? 13:12
'perl run_tests_kp6_mp6.pl' should work
DarkWolf84 ok 13:13
I make 'make test'
moritz_ I think that tests kp6-kp6 by default 13:14
which is not yet ready
DarkWolf84 ok
it tests mp6-kp6 and kp6-kp6 13:15
no 13:17
only the bootstraped one
kp6-kp6
masak is @#array = $new_size; dead in p6? @array.elems is not an lvalue or anything like that? 15:07
moritz_ @#array would be an array 15:30
lambdabot Unknown command, try @list
moritz_ and @array.last would correspend to $#array 15:30
masak` but @array.last isn't an lvalue, is it? 15:34
moritz_ I don't think so 15:37
but you can predeclare the size of an array in p6
moritz_ never used $#something as an lvalue 15:46
ferreira moritz_: did you mean @array.elems ? 16:01
moritz_ no, @array.end 16:02
I always confuse 'last' and 'end' ;)
#pugs <foo bar baz>.end 16:11
pugs: <foo bar baz>.end
exp_evalbot OUTPUT[2␤]
pmurias timbunce: i think those are know problems 16:13
<> is not done yet, and i had to use ($foo.bar).bar before 16:15
ludan hello 16:19
pmurias ludan: hi 16:20
ferreira moritz: probably the Perl 5 " $#a = new_last_index " should be equivalent to " @array.=end( new_last_index ) " 17:33
ferreira pugs: my @a = <foo bar baz>; @a.=end(4) 17:34
exp_evalbot OUTPUT[*** No compatible multi variant found: "&end"␤ at /tmp/LRnBlE7XJV line 1, column 24 - line 2, column 1␤]
TimToady most likely roles that support preextending should support a .preextend method or some such, and .end should stay readonly. 17:37
but many array implementations will probably not support it 17:38
afk & 17:39
ferreira Which .=method variants are implemented in pugs? I mean in primitive types/classes 17:41
Hey, " $string.=chop " works. 17:42
pugs: my $s = 'abcdef'; $s.=chop; $s
exp_evalbot OUTPUT[\"abcde"␤]
avar Is that specced so that it can be done in-place or is a copy always made? 17:47
ferreira avar: no clue. I am perusing the docs now. 17:49
gaal_ moose 23:54