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.
itz is the old perl6 cheatsheet obsolete? I thought it was once in pugs and can't find it now? 01:19
pugs_svnbot r17296 | lwall++ | [metholate] factored out p6 code to separate class. much more functionality too 01:47
diff: dev.pugscode.org/changeset/17296
lambdabot Title: Changeset 17296 - Pugs - Trac
pugs_svnbot r17297 | Darren_Duncan++ | ext/Muldis-DB/ : this is the Perl 6 equivalent of what will end up on CPAN as Muldis::DB version 0.3.1 for Perl 5 02:11
diff: dev.pugscode.org/changeset/17297
lambdabot Title: Changeset 17297 - Pugs - Trac
Elly echo $0 05:18
buubot Elly: $0
spinclad #echo $0 05:25
exp_evalbot OUTPUT[$0]
pugs_svnbot r17298 | lwall++ | [metholate] cleanup, mostly prep for bindings, handle <$foo> now 06:43
diff: dev.pugscode.org/changeset/17298
moritz_ #eval "foo".print 06:45
moritz_ #eval "foo".print 06:46
moritz_ #kp6 "foo".print 06:47
exp_evalbot r17298: OUTPUT[foo]
moritz_ fglock++ # method calling on strings
rhr #eval say "hello" 06:49
exp_evalbot OUTPUT[hello␤] kp6:[]
rhr hmm, what happened to the pugs:[] ?
#kp6 say "hello" 06:50
exp_evalbot r17298: OUTPUT[hello␤]
moritz_ Eval: say "hello" 06:51
Use of inherited AUTOLOAD for non-method Evalbot::confess() is deprecated at evalbot.pl line 78.
Can't use string ("Can't chdir to kp6 dir: No such ") as a HASH ref while "strict refs" in use at /usr/local/share/perl/5.8.8/Bot/BasicBot.pm line 1455.
rhr: seems like confess() is importet into the wrong package 06:52
rhr did I break that somehow?
moritz_ s/importet/imported/ # that's my german heritage ;)
I think the problem is that both kp6 and pugs executer do a chdir 06:53
wait, they are in different processes
pugs_svnbot r17299 | moritz++ | [p5 evalbot]: import confess() into package Evalbot 06:54
diff: dev.pugscode.org/changeset/17299
lambdabot Title: Changeset 17299 - Pugs - Trac
rhr with #eval it's the same process, need to chdir back between calls 06:56
moritz_ ok, I'll fix that
rhr moritz++ 06:57
moritz_ oush, exec_* close their filehandles... 07:00
s:first/s/c/
rhr hmm, I thought I fixed that. does closing $tmp_fh matter? 07:05
moritz_ the problem is that the filehandle needs to be open for the second eval call...
and at the same time we're writing to that file through system() 07:06
I'm implementing a workaround that runs EvalbotExecuter::run for each eval
rhr heh, clearly I didn't read the code closely enough 07:07
moritz_ and you didn't test it ;) 07:09
rhr I was too lazy to install the bot module :þ 07:10
moritz_ quite understandable, looking at its depencies ;)
pugs_svnbot r17300 | moritz++ | [p5 evalbot]: 07:12
r17300 | moritz++ | quick & dirty workaround for '#eval': spawn a new process
r17300 | moritz++ | for each implementation
diff: dev.pugscode.org/changeset/17300
lambdabot Title: Changeset 17300 - Pugs - Trac
moritz_ #eval "foo".print 07:12
exp_evalbot kp6: OUTPUT[foo]
..pugs: OUTPUT[foo]
rhr yay! where did the .. come from? 07:14
moritz_ that's a POE thingy I guess 07:15
rhr #eval say for ^6
exp_evalbot kp6: OUTPUT[Missing right curly or square bracket at - line 8815, at end of line␤syntax error at - line 8815, at EOF␤Execution of - aborted due to compilation ...] 07:16
..pugs: OUTPUT[␤␤␤␤␤␤]
rhr #eval .say for ^6
exp_evalbot kp6: OUTPUT[syntax error at - line 8983, at EOF␤Missing right curly or square bracket at - line 8983, at end of line␤Execution of - aborted due to compilation ...]
..pugs: OUTPUT[0␤1␤2␤3␤4␤5␤]
rhr I have no idea what does or doesn't work in kp6, that's kinda why I wanted #eval 07:17
moritz_ #kp6 my $a = "foo" ~~ m/o+/; print $a 07:27
exp_evalbot r17300: OUTPUT[syntax error at - line 8771, at EOF␤Missing right curly or square bracket at - line 8771, at end of line␤Execution of - aborted due to compilation ...]
pugs_svnbot r17301 | lwall++ | [metholate] better handling of various kinds of blocks according to context
diff: dev.pugscode.org/changeset/17301
lambdabot Title: Changeset 17301 - Pugs - Trac
pugs_svnbot r17302 | lwall++ | tweaks so that 1st 3rd of metholated STD now parses 08:16
diff: dev.pugscode.org/changeset/17302
lambdabot Title: Changeset 17302 - Pugs - Trac
pmurias #kp6 123.say(); 09:05
exp_evalbot r17301: OUTPUT[123␤] 09:05
pmurias #kp6 123; 456;
exp_evalbot r17301: No output
pmurias #kp6 say 123; say 456; 09:05
exp_evalbot r17301: OUTPUT[123␤456␤]
moritz_ #kp6 say <a b> 09:29
#kp6 say <a b>; 09:30
pmurias moritz_: hi
moritz_ hi pmurias ;)
exp_evalbot r17301: OUTPUT[Can't locate st.pm in @INC (@INC contains: lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr...]
r17301: OUTPUT[Missing right curly or square bracket at - line 8899, at end of line␤syntax error at - line 8899, at EOF␤Execution of - aborted due to compilation ...]
moritz_ #kp6 ('a', 'b').join("|").print 09:31
exp_evalbot r17301: OUTPUT[syntax error at - line 5863, at EOF␤Missing right curly or square bracket at - line 5863, at end of line␤Execution of - aborted due to compilation ...] 09:32
pmurias moritz_: will you be at yapc::europe? 09:39
moritz_ pmurias: sadly not, I have to work :( 09:40
pmurias: I would very much like to, and I'd even find somebody in my home town who drives there... 09:41
#kp6 say ('a', 'b')[0] 09:43
exp_evalbot r17301: OUTPUT[Can't find string terminator "'" anywhere before EOF at - line 5779.␤]
moritz_ #kp6 say ("a", "b")[0] 09:44
exp_evalbot r17301: OUTPUT[syntax error at - line 5739, near "= :"␤Missing right curly or square bracket at - line 5739, at end of line␤Execution of - aborted due to compilat...]
pmurias moritz_: :(
moritz_ #kp6 my @a=(1, 2); print @a[0]
exp_evalbot r17301: OUTPUT[calling on invalid object:$VAR1 = {};␤␤ at lib5/KindaPerl6/Runtime/Perl5/MOP.pm line 29␤ main::DISPATCH('undef', 'new', 'HASH(0x876701c)') called ...]
moritz_ :( indeed 09:45
#kp6 class Main { my @a=(1, 2); print @a[0]; } 09:54
exp_evalbot r17301: OUTPUT[calling on invalid object:$VAR1 = {};␤␤ at lib5/KindaPerl6/Runtime/Perl5/MOP.pm line 29␤ main::DISPATCH('undef', 'new', 'HASH(0x87698e0)') called ...]
pugs_svnbot r17303 | pmurias++ | kp6: 01-tap dosn't use module anymore, fixed empty comp_unit's bug 09:58
diff: dev.pugscode.org/changeset/17303
lambdabot Title: Changeset 17303 - Pugs - Trac
pugs_svnbot r17304 | pmurias++ | kp6: cleaned up use of Proto 11:02
diff: dev.pugscode.org/changeset/17304
lambdabot Title: Changeset 17304 - Pugs - Trac
pugs_svnbot r17305 | pmurias++ | kp6: possible ideas for the YAPC::Europe hackathon 11:32
diff: dev.pugscode.org/changeset/17305
lambdabot Title: Changeset 17305 - Pugs - Trac
pugs_svnbot r17306 | fglock++ | [kp6] fix and added tests for .isa() 17:10
diff: dev.pugscode.org/changeset/17306
lambdabot Title: Changeset 17306 - Pugs - Trac
pugs_svnbot r17307 | fglock++ | fixed last commit 17:13
diff: dev.pugscode.org/changeset/17307
lambdabot Title: Changeset 17307 - Pugs - Trac
moritz_ #kp6 say 3 == 4 17:15
exp_evalbot r17307: OUTPUT[␤]
moritz_ #kp6 say 3 == 3
exp_evalbot r17307: OUTPUT[1␤]
moritz_ #kp6 if 2 == 3 { say "nope" } else { say "yes" } 17:16
exp_evalbot r17307: OUTPUT[yes␤]
moritz_ #kp6 for (1, 2, 3, 5) { say $_ }
exp_evalbot r17307: OUTPUT[Syntax Error␤calling on invalid object:$VAR1 = {};␤␤ at lib/KindaPerl6/Runtime/Perl5/MOP.pm line 29␤ main::DISPATCH('undef', 'APPLY') called at - ...]
moritz_ #kp6 for (1, 2, 3, 5) -> $a { say $a } 17:17
exp_evalbot r17307: OUTPUT[Syntax Error␤calling on invalid object:$VAR1 = {};␤␤ at lib/KindaPerl6/Runtime/Perl5/MOP.pm line 29␤ main::DISPATCH('undef', 'APPLY') called at - ...]
Elly why does the bot always end with that strange a-carat? 17:39
pugs_svnbot r17308 | lwall++ | [metholate] now handles submatches; pugs now parses 50% of cheated/metholated STD 17:40
diff: dev.pugscode.org/changeset/17308
lambdabot Title: Changeset 17308 - Pugs - Trac
TimToady Elly: your irc client is probably not displaying the newline replacement character correctly; it show ups as a single NL char on my terminal 17:41
this channel assumes utf-8 17:42
pmurias how should the newline replacement char look like? or is it just another way to encode \n? 17:47
Elly oh
you could just not have one
that's what #perl's eval bot does
Limbic_Region TimToady - which client do you use? 17:55
Tene pmurias: it looks like an n above an l for me 17:56
pmurias fglock: hi 17:58
fglock hi
pmurias Tene: thanks, my terminal just uses an unclear symbol, i had to zoom in in firefox to see it clearly 18:00
pugs_svnbot r17309 | fglock++ | [kp6] bool ops return bit 18:04
diff: dev.pugscode.org/changeset/17309
lambdabot Title: Changeset 17309 - Pugs - Trac
spinclad #kp6 say 3 == 4 18:44
exp_evalbot r17307: OUTPUT[␤]
spinclad #kp6 say 3 == 3
exp_evalbot r17307: OUTPUT[1␤]
integral which network is #kp6 on?
pmurias #kp6 the chanell? 18:45
exp_evalbot r17307: OUTPUT[Syntax Error␤calling on invalid object:$VAR1 = {};␤␤ at lib/KindaPerl6/Runtime/Perl5/MOP.pm line 29␤ main::DISPATCH('undef', 'APPLY') called at - ...]
integral *nod*
but I'm starting to think it's just this bot :-D
pmurias the is no #kp6 the chanell ;)
so you're right :)
spinclad moritz starts it 18:46
#echo hi 18:47
exp_evalbot OUTPUT[hi]
spinclad #pugs say 'hi'
exp_evalbot OUTPUT[hi␤]
fglock spinclad: 3==4 was fixed, it needs a restart 18:48
spinclad good 18:49
pmurias fglock: use v6-alpha is a noop in kp6?
fglock yes
it's just for v6.pm compatibility 18:50
pmurias kp6 emits it as use v6 if it is not at the start of the file which causes the perl5 interpreter to die 18:53
should i turn it into use Perl as the spec requires and create a dummy Perl module? 18:55
fglock maybe just emit ' # use v6; ' for now - 'use' is not fully implemented yet
pugs_svnbot r17310 | fglock++ | [kp6] fixed the ast for 'Subset' 18:58
diff: dev.pugscode.org/changeset/17310
lambdabot Title: Changeset 17310 - Pugs - Trac
pmurias fglock: i put 3 ideas for YAPC::Europe kp6 hackathon in IDEAS-HACKATHON 19:04
fglock pmurias: cool :) thanks! 19:05
I should be preparing my talk 19:06
hmm - examples/subset.pl still has a BEGIN-time error 19:09
pmurias 01-tap.t now runs unmodified :) 19:13
pugs_svnbot r17311 | pmurias++ | kp6 can now run unmodified /t/01-sanity/01-tap.t
diff: dev.pugscode.org/changeset/17311
lambdabot Title: Changeset 17311 - Pugs - Trac
pugs_svnbot r17312 | fglock++ | [kp6] Visitor::Subset no longer needed 19:16
diff: dev.pugscode.org/changeset/17312
lambdabot Title: Changeset 17312 - Pugs - Trac
pmurias shouldn't # subset x ... --> our &x ::= subset ... 19:20
be # subset x ... --> our ::x ::= subset ...
fglock it's actually a Proto - but this is unfinished, it needs to allow both 'my' and 'our' 19:22
fglock I think there is a MOP initialization problem; I'm debugging near Compiler.pm:83 19:24
fglock hmm - no, it looks ok 19:26
moritz_ #kp6 say 2==3 19:30
exp_evalbot r17312: OUTPUT[0␤]
moritz_ #kp6 say 2==2
exp_evalbot r17312: OUTPUT[1␤]
moritz_ fglock++
#kp6 my $a=3; print $a++ 19:34
exp_evalbot r17312: OUTPUT[Syntax Error␤Undefined subroutine &main:: called at lib/KindaPerl6/Runtime/Perl5/MOP.pm line 35.␤]
moritz_ #kp6 my $a=3; print $a
exp_evalbot r17312: OUTPUT[Undefined subroutine &main:: called at lib/KindaPerl6/Runtime/Perl5/MOP.pm line 35.␤]
moritz_ #kp6 class Main { has $a; print $a++; } 19:34
exp_evalbot r17312: OUTPUT[Syntax Error␤calling on invalid object:$VAR1 = {};␤␤ at lib/KindaPerl6/Runtime/Perl5/MOP.pm line 29␤ main::DISPATCH('undef', 'APPLY') called at - ...]
moritz_ #kp6 class Main { has $.a; print $.a } 19:35
exp_evalbot r17312: OUTPUT[Bareword "GLOBAL::a" not allowed while "strict subs" in use at - line 3.␤Execution of - aborted due to compilation errors.␤]
moritz_ #kp6 class Main { has $.a; print $a }
exp_evalbot r17312: No output
moritz_ #kp6 class Main { has $.a = 3; print $a }
exp_evalbot r17312: OUTPUT[syntax error at - line 3, near "( sub GLOBAL::a "␤Execution of - aborted due to compilation errors.␤]
moritz_ #kp6 class Main { has $a; $a = 3; print $a }
exp_evalbot r17312: OUTPUT[Undefined subroutine &main:: called at lib/KindaPerl6/Runtime/Perl5/MOP.pm line 35.␤]
moritz_ #kp6 class main { has $a; $a = 3; print $a }
exp_evalbot r17312: OUTPUT[Undefined subroutine &main:: called at lib/KindaPerl6/Runtime/Perl5/MOP.pm line 35.␤]
pugs_svnbot r17313 | fglock++ | [kp6] fixed Subset; $subset->new() simply creates a new Subset, for now 19:40
diff: dev.pugscode.org/changeset/17313
lambdabot Title: Changeset 17313 - Pugs - Trac
pugs_svnbot r17314 | fglock++ | [kp6] minor fix in examples/subset.pl 19:50
diff: dev.pugscode.org/changeset/17314
lambdabot Title: Changeset 17314 - Pugs - Trac
pugs_svnbot r17315 | fglock++ | [kp6] subset works; added t/kp6/33-subset.t 21:56
diff: dev.pugscode.org/changeset/17315
lambdabot Title: Changeset 17315 - Pugs - Trac
dduncan question: about a month ago, I was referred to a page with instructions on installing ghc on Mac OS X, which worked then, but now that I have to do it again, I don't recall where the page was, and the pugs web log is missing a log for the day in question 23:30
I don't mean where to get ghc or 2 frameworks it depends on
but any other special instructions, like special config settings to do, if necessary
dduncan note that 'ghc' itself runs after I thought I got it right, but pugs makefile fails 23:31
saying things like: /usr/bin/ld: table of contents for archive: /usr/local/lib/ghc-6.6.1/libHSCabal.a is out of date; rerun ranlib(1) (can't load from it)
dduncan since the pugs checkout dir didn't otherwise change, save for new commits, I thought it may be a ghc misinstall thing, so perhaps the instructions may clear it up 23:31
seen audreyt 23:32
buubot dduncan: Sorry, I haven't seen audreyt
dduncan pointers appreciated 23:33
Eidolos dduncan: you'll probably have better luck in #haskell 23:34
dduncan that's a thought ... will try
seen audreyt_ 23:44
buubot dduncan: Sorry, I haven't seen audreyt_
dduncan I'm talking in #haskell too, but nothing yet
as an update, I actually did try to look up the instructions given a month ago, but the #perl6 channel log I was using was missing 2 days ... however, I seem to have found another logger with the missing info, so looking there now ... 23:52