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.
masak good localtime(), lambdacamels 08:29
moritz_ hi masak 08:30
masak hi moritz_ 08:31
moritz_ I stell get 'KindaPerl6/Runtime/Perl6/Pair.pm did not return a true value at lib-kp6-kp6-p5/KindaPerl6/Runtime/Perl5/MOP.pm line 823. 08:32
Compilation failed in require at lib-kp6-kp6-p5/KindaPerl6/Runtime/Perl5/Runtime.pm line 5.
', but the rest of the compilation succeeds 08:33
masak moritz_: sounds like a file is missing a "1;" in the end 08:33
moritz_ masak: I think p5 Pair.pm is compiled from a p6 Pair.pm 08:34
masak ok 08:37
IIRC, v6 .pm files don't need that line in the end
moritz_ tries find -name '*.pm' -exec svn revert {} ; 08:42
pugs_svnbot r18396 | Darren_Duncan++ | ext/Muldis-DB/ : the README file no longer mentions Rosetta,QDRDBMS ; fleshed out the Changes file to summarize 2002-2007 09:27
diff: dev.pugscode.org/changeset/18396
lambdabot Title: Changeset 18396 - Pugs - Trac
avar kp6: "fleh" 12:53
exp_evalbot r18396: OUTPUT['fleh'␤]
Aankhen`` Hmm, is Perl 6 supposed to have before/after/around method modifiers? 13:28
moritz_ Aankhen``: how do these work? 13:29
Aankhen``: wrappers to other methods? 13:30
Aankhen`` search.cpan.org/~stevan/Moose-0.26/...ecipe2.pod # this has an example a little way down
lambdabot Title: Moose::Cookbook::Recipe2 - A simple BankAccount example - search.cpan.org, tinyurl.com/3ck923
Aankhen`` Ah, the link I was looking for was <search.cpan.org/~stevan/Class-MOP-0...fiers>. 13:32
lambdabot search.cpan.org/~stevan/Class-MOP-0...ifiers>
Aankhen`` That has a good description.
moritz_ I think you can do some wrapping with callwith 13:33
Aankhen`` Oh, right. 13:34
Aankhen`` This is the Nth time I've thought of the question and then seen callwith/callsame/nextwith/nextsame. It's just that the other times I managed to see them before asking. :-P 13:34
moritz_ ;) 13:35
pugs_svnbot r18397 | fglock++ | [kp6-mp6] started base dir cleanup; 14:04
r18397 | fglock++ | mv lib-kp6-mp6-p5 compiled/perl5/lib
diff: dev.pugscode.org/changeset/18397
lambdabot Title: Changeset 18397 - Pugs - Trac
pugs_svnbot r18398 | fglock++ | [kp6] base dir cleanup; mv ./*.pl ./scripts/ 14:07
diff: dev.pugscode.org/changeset/18398
lambdabot Title: Changeset 18398 - Pugs - Trac 14:08
pugs_svnbot r18399 | fglock++ | [kp6] base dir cleanup; mv lib src 14:41
diff: dev.pugscode.org/changeset/18399
lambdabot Title: Changeset 18399 - Pugs - Trac
pugs_svnbot r18400 | fglock++ | [kp6] more cleanups; fixed Lisp location 14:56
diff: dev.pugscode.org/changeset/18400
lambdabot Title: Changeset 18400 - Pugs - Trac
pugs_svnbot r18401 | fglock++ | [kp6] mv mp6.pl script/ 15:06
diff: dev.pugscode.org/changeset/18401
lambdabot Title: Changeset 18401 - Pugs - Trac
pugs_svnbot r18402 | fglock++ | [kp6] mv lib-modules src-modules 15:13
diff: dev.pugscode.org/changeset/18402
lambdabot Title: Changeset 18402 - Pugs - Trac
fglock "kp6 --perl5rx" compiles Grammar.pm 5 times faster than kp6 with the portable regex-engine 15:50
moritz_ fglock: and is the output correct? 15:51
fglock I don't know, but fixing it should not make it slower 15:52
pmurias is the resulting code faster? 15:53
fglock I didn't try to run it yet
pmurias: do you know how to modify the Makefile to compile to "compiled/perl5/lib" instead of "lib-modules-kp6-mp6-p5" ? 15:55
I'm making some directory cleanup
pmurias fglock: looking 15:58
fglock btw, "kp6 --perl5rx" compiles Grammar.pm more than twice as fast than MiniPerl6 15:59
mostly because MiniPerl6 uses the portable regex engine, which requires a recursive compilation step 16:00
avar eep! 16:12
what has science done! 16:13
pmurias fglock: re dir it does it the way you want 16:14
fglock avar: lib/ is now src/; everything else is more or less the same 16:15
pmurias fglock: the recursive compilation step could be avoided with quasi-quotes 16:16
avar {lib,src}/KindaPerl6.pm is duplicated
pmurias (once we have bootsrap)
avar: yes
fglock avar: Makefile.PL needed it in lib/
avar: please fix if you can 16:17
fglock pmurias: recursive = compile to perl6, then compile to backend 16:19
it's not really fixable (except for code blocks)
avar are you guys able to compile kp6-kp6 without errors? 16:23
avar oh noes crap 16:24
pugs_svnbot r18403 | avar++ | [kp6] don't install everything in script/ since it contains a lot of crap now
diff: dev.pugscode.org/changeset/18403
lambdabot Title: Changeset 18403 - Pugs - Trac
pugs_svnbot r18404 | fglock++ | v6 - mv stalled projects to v6/misc/ 16:27
diff: dev.pugscode.org/changeset/18404
lambdabot Title: Changeset 18404 - Pugs - Trac
pugs_svnbot r18405 | fglock++ | v6 - updated README 16:33
diff: dev.pugscode.org/changeset/18405
lambdabot Title: Changeset 18405 - Pugs - Trac
pmurias fglock: quasi-quoting is equivalent to using ::AstNode(...) while keeping p6 syntax 16:34
so it's a replacement for generating perl6 as strings
fglock pmurias: got it :) 16:35
avar: re kp6-kp6 no, it's been broken for some time 16:36
avar so we're aiming for bringing kp6 up to full p6? 16:38
pmurias avar: yes
avar excellent:)
TimToady quasi-quoting is basically what keeps hygienic macros hygienic. 16:39
otherwise you've just got scoped source filtering
which is admittedly an improvement over p5 16:40
fglock is it possible to separate kp6-kp6 from kp6-mp6 in the Makefile? every time I run "make test" it tries to build kp6-kp6 16:50
could probably use an ENV 16:51
fglock set KP6_TARGET="KP6-KP6" ; perl Makefile.PL 16:53
then make and make test would do the right thing 16:55
and later: set KP6_TARGET="KP6-LISP" ; perl Makefile.PL
avar I guess 16:59
fglock food & 17:00
avar food + computer 17:03
TimToady
.oO(coffee + life)
17:04
fglock oops - my talk will be tomorrow instead of friday :O 17:15
instead of saturday 17:16
avar what are you talking about?:) 17:18
fglock www.softwarelivre.com.pt/ 17:19
lambdabot Title: :: I F􏿽xF3rum de Software Livre de Lisboa ::
fglock my talk title translates to "Open Source Research and Development in the Business Corporation" :P 17:22
pugs_svnbot r18406 | fglock++ | [kp6] Makefile.PL reads KP6_TARGET (not used yet) 17:37
diff: dev.pugscode.org/changeset/18406
lambdabot Title: Changeset 18406 - Pugs - Trac
Aankh|Clone Does anyone have an example of a non-trivial Perl 6 macro? 17:47
(That is, not just the name. :-)
pugs_svnbot r18407 | fglock++ | [kp6] Makefile.PL uses KP6_TARGET environment variable, default=KP6-MP6 18:01
r18408 | fglock++ | [kp6] rm lib/
diff: dev.pugscode.org/changeset/18408
lambdabot Title: Changeset 18408 - Pugs - Trac
pugs_svnbot r18409 | fglock++ | [kp6] fixed path problems 18:19
diff: dev.pugscode.org/changeset/18409
lambdabot Title: Changeset 18409 - Pugs - Trac
pugs_svnbot r18410 | fglock++ | [kp6] added missing file 18:22
diff: dev.pugscode.org/changeset/18410
lambdabot Title: Changeset 18410 - Pugs - Trac
fglock home & 18:25
pmurias Aankhen``: non-trival meaning? 18:41
pmurias Aankh|Clone: what sort of macro examples do you consider non trival? 19:49
Aankh|Clone I'm not sure. 19:51
Something that shows a common (though not common enough to be a core construct, of course) use for a macro, I suppose…
Though honestly, I've never seen a proper Perl 6 macro except in the specs, so anything would probably do… 19:52
pmurias Aankh|Clone: the harders part is finding a non-core construct ;)
* hardest
Aankh|Clone Hehe.
pmurias something like macro circumfix:<'( )> is parsed(/<sexpr>/) {...} comes to mind 19:54
$var = '(1 3 4); #usage example 19:55
pmurias Aankh|Clone: we could make a competition for the best/most creative macro :) 19:58
Aankh|Clone pmurias: Okay, so how would you write circumfix:<'( )>? 20:00
moritz_ I'll write a macro that clones people... like Aankh ;) 20:05
pmurias Aankh|Clone: the stuff in ... is unspeced ;) 20:07
PerlJam smg: www.perlmonks.org/win 10 20:09
oops
pmurias i would guess something like macro circumfix:<'( )> is parsed(/<sexpr>/) {return q:code {$<sexpr>}} 20:14
maybe q:code {COMPILING::<$\><sexpr>} 20:17
pmurias sleep& 20:41
mncharity www.inference.phy.cam.ac.uk/cjb/codepoints.html 21:09
lambdabot Title: Chris Ball: : Favourite Unicode Codepoints 21:10
fglock mncharity: hey
jeremyb lastlog -clear 22:50
avar t/w 6 23:04
pugs_svnbot r18411 | avar++ | updated manifest with recent changes
diff: dev.pugscode.org/changeset/18411
lambdabot Title: Changeset 18411 - Pugs - Trac
mncharity working on a bug ticket regarding "mouse jumps", read it as moose jumps, and just had to stop by and see of gaal and stevan were around and say hi. ;) 23:52
fglock hi 23:52
mncharity *stevan_
hi fglock :) 23:53
how goes?
fglock working late on a talk, for next morning
mncharity fglock: oh, and "hey" pong from earlier. 23:54
lol
doesn't anyone prepare talks a couple of days ahead of time to practice anymore? :)
JITT? just in time talks? 23:55
I have maybe half an hour. Any way I can help?
fglock kp6: my $a = gather { while 1 { take 123; take 456; } }; say $a[3] 23:56
exp_evalbot r18411: OUTPUT[Can't locate KindaPerl6/Runtime/Perl5/Runtime.pm in @INC (@INC contains: lib-kp6-mp6-p5 /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at - line 7.␤BEGIN
..failed--compilation aborted at - line 7.␤]
fglock oops
it worked 2 days ago :P
mncharity: I've been reorganizing the project directories 23:57
hmm - wrong @INC
re practice, it's a bit boring 23:58
mncharity lol. sigh
joys of adrenaline 23:59