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.
00:01 jisom joined 00:04 sysfault joined, sysfault left 00:10 itz joined 00:12 Schwern left 00:17 jisom left 00:25 TimToady joined 00:31 hkb_zz is now known as hakobe 00:51 jisom joined 00:52 woo` left 00:55 estevon left 01:03 jisom left 01:15 jedai left
itz is the old perl6 cheatsheet obsolete? I thought it was once in pugs and can't find it now? 01:19
01:25 laye joined 01:26 laye left 01:31 buetow left 01:47 buetow joined
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
01:58 jedai joined
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
02:16 jedai left 02:17 explorer left 02:33 stevan_ left, stevan_ joined 02:49 hakobe left 02:57 Schwern joined 03:15 itz_ joined 03:16 itz left 03:20 hakobe joined, jisom joined 03:26 buetow left 03:30 eXile7_ joined 03:40 weinig left, EisnerToniPDA joined, EisnerToniPDA left 03:59 ToniEisner left 04:03 jisom left 04:25 bsb joined 04:32 weinig joined 04:35 apple-gunkies left 04:55 jisom joined 05:03 Schwern left 05:04 mr_ank left
Elly echo $0 05:18
buubot Elly: $0
05:20 jisom left
spinclad #echo $0 05:25
exp_evalbot OUTPUT[$0]
05:45 kanru left 05:59 sunnavy joined 06:06 drupek12 left 06:11 drupek12 joined
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
06:45 exp_evalbot left, exp_evalbot joined 06:46 exp_evalbot left
moritz_ #eval "foo".print 06:46
06:46 exp_evalbot joined
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
06:54 exp_evalbot left
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
06:54 exp_evalbot joined
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/
07:05 drupek12 left
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
07:09 bsb left
rhr I was too lazy to install the bot module :Ć¾ 07:10
moritz_ quite understandable, looking at its depencies ;)
07:12 exp_evalbot left
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
07:12 exp_evalbot joined
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
07:23 spinclad left
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
07:28 dduncan left 07:29 weinig left 07:35 elmex joined 07:41 spinclad joined 07:52 drupek12 joined 08:01 Aankhen`` joined
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
08:47 iblechbot joined, masak joined 09:02 Blwood joined 09:04 pmurias joined
pmurias #kp6 123.say(); 09:05
09:05 iblechbot left
exp_evalbot r17301: OUTPUT[123ā¤] 09:05
pmurias #kp6 123; 456;
exp_evalbot r17301: No output
09:05 falseep joined
pmurias #kp6 say 123; say 456; 09:05
exp_evalbot r17301: OUTPUT[123ā¤456ā¤]
09:06 rindolf joined 09:10 BinGOs left 09:14 chris2 joined 09:16 BinGOs joined 09:27 penk left
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
09:33 barney joined 09:34 iblechbot joined
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
10:00 falseep left, sunnavy left 10:08 jedai joined 10:14 masak left 10:24 penk joined 10:26 kanru joined 10:33 jedai left, rindolf left 10:56 cerridwen joined
pugs_svnbot r17304 | pmurias++ | kp6: cleaned up use of Proto 11:02
diff: dev.pugscode.org/changeset/17304
lambdabot Title: Changeset 17304 - Pugs - Trac
11:12 rhizo left 11:31 jedai joined
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
11:42 buetow joined 11:46 sunnavy joined 11:47 laniz joined 11:54 rhizo joined 11:55 masak joined 12:00 clkao left 12:11 zomgb00bie left 12:13 hakobe left 12:14 hakobe joined 12:38 hcchien_ is now known as hcchien 12:50 clkao joined 12:53 stevan_ left 12:54 hakobe left 12:59 stevan_ joined 13:08 mr_ank joined, eggzeck joined 13:09 sunnavy left 13:28 lisppaste3 left 13:29 hakobe joined 13:34 lisppaste3 joined 13:49 jedai left 13:58 buetow left 14:04 jhorwitz joined 14:22 zomgb00bie joined 14:23 zomgb00bie left 14:42 barney left 14:56 Blwood left 15:16 gongyiliao joined 15:17 gongyiliao left 15:37 itz_ left 15:38 itz joined 15:51 buetow joined 15:55 justatheory joined, stevan_ left 16:01 Blwood joined 16:05 Blwood left 16:13 Blwood joined 16:23 [particle] joined 16:27 flokuehn joined 16:29 fridim joined 16:39 Limbic_Region joined 16:40 [particle1 left 16:42 justatheory left 16:54 DarkWolf84 left 16:58 Schwern joined 17:00 thoughtpolice joined 17:01 jedai joined 17:03 chris2 left 17:06 Psyche^ joined
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 - ...]
17:23 Patterner left, Psyche^ is now known as Patterner 17:32 Schwern left 17:36 flokuehn_ joined
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
17:41 pbuetow joined
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
17:47 flokuehn left
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
17:49 buetow left
Limbic_Region TimToady - which client do you use? 17:55
17:56 fglock joined, pbuetow left
Tene pmurias: it looks like an n above an l for me 17:56
17:57 pbuetow joined
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
18:08 amnesiac joined 18:11 flokuehn joined 18:14 pbuetow left, pbuetow joined 18:23 flokuehn_ left
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
18:50 flokuehn_ joined
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
19:00 pbuetow left, pbuetow joined 19:02 flokuehn left 19:03 flokuehn_ is now known as flokuehn 19:04 weinig joined
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
19:16 pbuetow left
pugs_svnbot r17312 | fglock++ | [kp6] Visitor::Subset no longer needed 19:16
diff: dev.pugscode.org/changeset/17312
lambdabot Title: Changeset 17312 - Pugs - Trac
19:17 pbuetow joined, flokuehn_ joined
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
19:22 pbuetow left, buetow joined
fglock I think there is a MOP initialization problem; I'm debugging near Compiler.pm:83 19:24
19:25 flokuehn1 joined
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.ā¤]
19:34 jisom joined
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.ā¤]
19:36 fridim left 19:37 flokuehn_ left 19:40 masak left, flokuehn left
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
19:53 Aankhen`` left 20:02 marmic left 20:08 marmic joined 20:24 buetow left, buetow joined 20:43 Limbic_Region left 21:03 amnesiac left 21:28 drupek12 left, justatheory joined 21:33 jisom left 21:44 flokuehn1 left 21:51 pmurias left
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
22:10 jisom joined 22:14 zamolxes joined 22:15 dduncan joined 22:25 ask_ is now known as dwave 22:55 jisom left 22:59 hakobe left 23:01 iblechbot left 23:13 buetow left, buetow joined 23:14 elmex left 23:23 daxim_ left 23:24 daxim_ joined
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
23:30 fglock left
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)
23:31 bsb joined
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