Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-07-30

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:08 bacek joined #perl6
00:25 davidm123 joined #perl6
00:27 davidm123 why are so many links on http://www.pugscode.org broken?
00:27 lambdabot Title: Pugs - pugscode
00:29 Auzon Do they point to other sites? That's one probable cause.
00:30 davidm123 no, just broken.  examples: Download, Try Pugs Now, Smoke test status
00:30 davidm123 well, they are on a different domain
00:32 davidm123 and the link mentioned to Perl6-Pugs on cpan has a distribution dated Oct 2006.
01:16 ludan joined #perl6
01:20 Auzon perl6: sub foo {...}; say foo.perl
01:20 p6eval elf 21621: OUTPUT[Parse error in: /tmp/0RIeqnpdZo␤panic at line 1 column 9 (pos 9): Missing right brace␤WHERE: sub foo {...}; say foo.perl␤WHERE:         /\<-- HERE␤  STD_red/prelude.rb:99:in `panic'␤  STD_red/std.rb:255:in `_block_rest'␤  STD_red/std.rb:242:in `block in block'␤
01:20 p6eval ..STD_red/prelude.r...
01:20 p6eval ..pugs: OUTPUT[*** Unimplemented stub called␤    at /tmp/QK2yyI9RyE line 1, column 20 - line 2, column 1␤       /tmp/QK2yyI9RyE line 1, column 10-13␤]
01:20 p6eval ..rakudo 29834: OUTPUT[Missing '}' at line 1, near "...}; say "␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤]
01:27 Auzon Is /<[]]>/ a valid regex? STD.pm doesn't think so, charset.t seems to think so, and S05 doesn't specify if ] or ]> closes the character class.
01:35 Limbic_Region joined #perl6
01:37 pugs_svn r21622 | ruoso++ | [smop] finishing rename of s1p_code to s1p_ccode
01:37 Auzon tryfile++ for catching my syntax errors :)
01:37 pugs_svn r21623 | Auzon++ | [gsoc_spectest] Added more angle bracket syntax tests. Almost done with it. Moved charset.t and combchar.t to spec. (added 17 tests)
01:38 s1n joined #perl6
01:54 vixey joined #PERL6
01:54 pugs_svn r21624 | ruoso++ | [smop] starting the test for s1p_attribute
01:54 thorat joined #perl6
01:56 ruoso @tell pmurias I've finished the code => ccode renaming. about postcircumfix:<()>, we should fix it, I don't know where I took .call() from... I'm starting Attribute but we should probably refactor Method into using Code/CCode instead of how it's done now...
01:56 lambdabot Consider it noted.
01:56 s1n anyone know why 'make localtest' is hanging on a wait() without actually running the test?
01:56 * ruoso sleep &
02:09 alester joined #perl6
02:16 bacek pugs: say -1.i
02:16 p6eval pugs: OUTPUT[*** No such method in class Int: "&i"␤    at /tmp/IZJhWroPwf line 1, column 5 - line 2, column 1␤]
02:39 lambdabot joined #perl6
02:39 BinGOs_ joined #perl6
02:46 [particle]1 joined #perl6
02:52 BinGOs joined #perl6
03:01 alc joined #perl6
03:18 ludan joined #perl6
03:19 Psyche^ joined #perl6
03:21 BinGOs joined #perl6
03:50 pugs_svn r21625 | s1n++ | [spec] all but one of the 'e' tests pass, there's still a parse error on the last test
03:56 pugs_svn r21626 | s1n++ | [spec] trig tests pass except for atan2.
04:21 justatheory joined #perl6
04:26 meppl joined #perl6
04:31 meppl good morning
04:37 viklund left #perl6
04:45 pugs_svn r21627 | Auzon++ | [evalbot] STD.pm on evalbot, first attempt. We'll see how this goes.
04:46 p6eval joined #perl6
04:46 justatheory joined #perl6
04:46 Auzon evalbot control restart
04:47 p6eval joined #perl6
04:47 Auzon p6eval control restart
04:47 Auzon hm
04:52 p6eval joined #perl6
04:55 p6eval joined #perl6
05:04 aindilis joined #perl6
05:08 Auzon evalbot control restart
05:08 Auzon (one more try...
05:08 p6eval joined #perl6
05:08 Auzon yay, it works.
05:08 Auzon std: 1+1
05:08 p6eval std 21627: OUTPUT[parse ok]
05:09 Auzon std: /<[]]>/
05:09 p6eval std 21627: OUTPUT[regex assertion not terminated by angle bracket at line 1:]
05:11 pugs_svn r21628 | Auzon++ | [evalbot] made STD work in a basic sense
05:13 Auzon @tell moritz_ I added STD.pm to evalbot. It seems to work well enough. I want to make it a bit more descriptive when things fail, but that'll wait til later.
05:13 lambdabot Consider it noted.
05:27 Southen_ joined #perl6
05:40 Psyche^ joined #perl6
05:52 justatheory joined #perl6
05:58 icwiener joined #perl6
06:04 ashizawa joined #perl6
06:23 moritz_ Auzon++
06:23 lambdabot moritz_: You have 1 new message. '/msg lambdabot @messages' to read it.
06:31 jiing joined #perl6
06:32 pmurias joined #perl6
06:35 pugs_svn r21629 | pmurias++ | [elfX] sub {...}, lack of support from smop yet
06:40 pmurias ruoso:  we should be able to bootstrap the object model with Code and and a way to be able to set the .dispatcher
06:41 pmurias (and LexPad to do it cleanly)
06:43 pugs_svn r21630 | pmurias++ | [smop] a stub smop_s1p_code, test 21_code.p6 dosn't pass yet
06:46 viklund joined #perl6
06:46 integral joined #perl6
06:49 viklund shouldn't %s=%*ENV work?
06:49 viklund rakudo: my %s=%*ENV
06:49 p6eval rakudo 29834: OUTPUT[Parrot VM: Can't turn to a singleton type!␤current instr.: 'parrot;Perl6Hash;infix:=' pc 4544 (src/gen_builtins.pir:3083)␤]
06:49 pmurias pugs_svn: my %s=%*ENV;
06:49 pmurias pugs: my %s=%*ENV;
06:49 p6eval pugs: RESULT[\()]
06:51 pmurias ruoso: i'll finish code later (likely tommorow), but you can feel free to hack on it if you want to
06:51 pmurias cycling trip&
06:52 moritz_ Auzon: I'm pretty sure <[]]> isn't a a valid regex because you can have multiple [] groups in a <...> rule like this: <[ ] + [...]>, so in <[]]> the first ] actually closes the char class
06:53 viklund oh, well, I'll submit a bug
06:54 moritz_ viklund: plese test first locally, sometimes p6eval behaves strange
06:56 viklund moritz_: I've done that, that's how I found it
06:56 moritz_ viklund: ok, just wanted to check
06:56 viklund np
07:12 iblechbot joined #perl6
07:44 barney joined #perl6
07:49 dduncan left #perl6
07:55 elmex joined #perl6
07:59 jfredett_ joined #perl6
08:15 sri_work joined #perl6
08:55 rindolf joined #perl6
09:10 rindolf joined #perl6
09:18 masak joined #perl6
09:26 ruoso @tell pmurias you forgot to add smop_s1p_code...
09:26 lambdabot Consider it noted.
09:26 chris2 joined #perl6
09:29 * ruoso work &
09:36 jferrero joined #perl6
09:43 donaldh joined #perl6
09:44 pasteling "masak" at 130.243.201.126 pasted "Tried to run make in src/perl6/, got this" (7 lines, 217B) at http://sial.org/pbot/31718
09:44 masak what am I doing wrong?
09:44 * moritz_ tries
09:45 moritz_ masak: works for me. Did you try to rm -rf lex/?
09:45 masak moritz_: nope. trying...
09:45 moritz_ or just 'make clean'
09:45 masak I didn't have a lex/
09:46 masak same result.
09:46 moritz_ do you have one afterwards?
09:46 masak no.
09:47 masak I'm running perl5.10.0 as ordained
09:47 moritz_ try to rm STD.pmc and then run make again
09:47 masak `perl STD.pmc`?
09:48 lleksah joined #perl6
09:48 moritz_ rm, not perl ;-)
09:48 masak ah, 'rm', not 'run'
09:48 masak :)
09:49 moritz_ btw the makefile is slightly... weird. For the perl -c STD.pmc step you need 'perl' to be a perl 5.10.0
09:50 masak ah
09:50 masak that might be the thing
09:50 masak I'm not running 5.10.0 as the default
09:50 moritz_ I changed it to read perl5.10.0 in my local makefile
09:50 masak I would, but I haven't figured out a good way to usurp 5.8.8 that comes with Mac OS X
09:55 masak now YAML/XS.pm is missing. I suppose 5.10.0 has different @INC paths...
09:55 masak yep.
09:55 masak how do I start CPAN using 5.10.0?
09:57 moritz_ perl5.10.0 -MCPAN -eshell
09:57 masak dz
10:01 pugs_svn r21631 | moritz++ | [spec] removed illegal regex from S05-metasyntax/charset.t
10:07 masak shit... the test Speech/t/Speech in Mac::Carbon always scares me witless :/
10:09 moritz_ ;)
10:15 masak I got strange compilation errors during the installation of re::engine::TRE...
10:16 masak something about 'undefined symbols'
10:16 masak what does one do about such a thing?
10:17 moritz_ "undefined symbols" *could* be a missing requirement
10:17 moritz_ http://bbbike.radzeit.de/~slaven/cpantestersmatrix.cgi?dist=re-engine-TRE+0.04 doesn't look too bright :/
10:18 lambdabot Title: CPAN Testers Matrix: re-engine-TRE 0.04, http://tinyurl.com/5hspfx
10:18 cognominal_ joined #perl6
10:18 moritz_ masak: maybe bug avar, perhaps he can help
10:18 masak moritz_: hm, ok
10:18 masak so, basically, those who got this try5 script running are on Linux
10:19 moritz_ yes ;)
10:19 masak curse you and your superior OS! ;)
10:19 moritz_ though the failure reports about reT are different than yours
10:20 masak nonetheless, that probably means that behind my failures are more failures
10:27 iblechbot joined #perl6
11:01 wknight8111 joined #perl6
11:01 cognominal__ joined #perl6
11:04 jan joined #perl6
11:18 s1n joined #perl6
11:23 Psyche^ joined #perl6
11:36 Helios- joined #perl6
11:42 masak joined #perl6
11:49 kanru joined #perl6
11:52 ruoso joined #perl6
12:07 meppl joined #perl6
12:26 pugs_svn r21632 | fglock++ | [v6.pm] more operators
13:28 sri_work joined #perl6
13:32 rdice joined #perl6
13:40 iblechbot joined #perl6
13:56 cmarcelo joined #perl6
14:11 TJCRI joined #perl6
14:14 jhorwitz joined #perl6
14:15 Jedai joined #perl6
14:16 fridim_ joined #perl6
14:18 alester left #perl6
14:39 wknight8111 joined #perl6
14:41 Exodist joined #perl6
14:56 Schwern joined #perl6
15:02 hercynium joined #perl6
15:04 kanru joined #perl6
15:06 odin__ joined #perl6
15:08 meteorjay joined #perl6
15:14 viklund left #perl6
15:14 Rashad01 joined #perl6
15:16 Rashad01 hi to all
15:16 moritz_ hi
15:17 b_jonas joined #perl6
15:18 * zamanfou is now away: In the rain my tears are forever lost.
15:20 pugs_svn r21633 | fglock++ | [v6.pm] 0.031
15:45 dalek joined #perl6
16:03 armagad joined #perl6
16:04 pugs_svn r21634 | pmurias++ | [smop] added smop_s1p_code (forgot to in the previous commit)
16:10 justatheory joined #perl6
16:18 Schwern joined #perl6
16:19 pmurias joined #perl6
16:21 sri_work joined #perl6
16:22 cjfields joined #perl6
16:23 lisppaste3 joined #perl6
16:31 Lorn joined #perl6
16:46 eternaleye joined #perl6
16:55 sail0r joined #perl6
16:59 viklund` joined #perl6
17:07 Auzon moritz_: thanks :)
17:07 moritz_ Auzon: no problem
17:07 moritz_ STD.pm in evalbot is really nice ;-)
17:07 moritz_ did you also add a cron job that rebuilds it from time to time?
17:07 Auzon Not yet
17:08 Auzon I need to add that and also make the failed output more informative
17:08 masak joined #perl6
17:09 [particle]1 is it part of 'perl6:'?
17:09 moritz_ perl6: say "dunno"
17:09 p6eval elf 21634: OUTPUT[dunno␤]
17:09 p6eval ..pugs: OUTPUT[dunno␤]
17:09 p6eval ..rakudo 29834: OUTPUT[dunno␤]
17:09 moritz_ [particle]: does that answer your question? ;-)
17:10 [particle] yes, however *i* didn't spam the channel when asking :)
17:10 Auzon :P
17:10 Auzon I didn't think it'd go well, since most code directed to perl6: parses
17:10 moritz_ [particle]: hehe ;)
17:11 moritz_ what we could do is to summarize identical output
17:11 [particle] has anybody run make test in pugs recently?
17:11 [particle] i wonder how it fares with the spectests
17:11 moritz_ so the above you just be `elf 21634, pugs , rakudo 29834: OUTPUT[dunno␤]'
17:12 [particle] it'd be nice to compare rakudo to pugs that way
17:12 [particle] interesting that pugs doesn't have a revision
17:12 masak [particle]: trying...
17:13 masak no, I can't build Pugs
17:13 masak I've got it through Cabal
17:13 moritz_ same here
17:13 moritz_ maybe we could run test without 'make'?
17:13 [particle] prove t/spec
17:14 masak good idea
17:14 [particle] or prove6
17:14 moritz_ [particle]: pugs can't parse new-style POD
17:14 [particle] nice.
17:15 [particle] so, rakudo is passing more spectests then pugs :)
17:15 moritz_ let's see, there are still some files wihtout POD
17:16 masak moritz_: maybe one could fudge away the new-style POD in pugs?
17:16 moritz_ masak: I think most of the POD can simply be removed, and substituted with plain old comments
17:16 masak good.
17:17 [particle] what's wrong with pod? it's so easy to parse
17:17 moritz_ [particle]: yes. But it has to be done ;)
17:17 moritz_ [particle]: feel free to patch pugs' parser... oh, wait... ;)
17:18 pmurias moritz_: what does he have to wait for?
17:18 lambdabot pmurias: You have 1 new message. '/msg lambdabot @messages' to read it.
17:18 [particle] iirc you can build pugs with a sufficiently old rev, and ghc 6.6.x
17:18 moritz_ pmurias: haskell fu?
17:19 [particle] it seems silly to me to take pod out of the official test suite because of a broken implementation
17:19 moritz_ yes
17:20 moritz_ but is there a good reason to keep it?
17:20 moritz_ I mean the coresponding synopsis is stalled and not being discussed, and in such a state rather worthless
17:20 [particle] um, as documentation?
17:21 moritz_ and what does it offer us over plain comments, in the form it is currently used?
17:21 [particle] damn, i should have asked damian about the pod spec last week
17:21 moritz_ aye
17:22 moritz_ Files=277, Tests=5012, 420 wallclock secs ( 7.00 usr  2.20 sys + 386.05 cusr  9.94 csys = 405.19 CPU)
17:22 moritz_ Result: FAIL
17:22 moritz_ Failed 182/277 test programs. 531/5012 subtests failed.
17:22 moritz_ seems like pugs still wins ;)
17:23 [particle] ok, then. time to add more pod :)
17:23 pmurias the ghc in lenny compiles pugs?
17:23 moritz_ pmurias: yes, if you use the cabal route
17:23 moritz_ a simple "make" doesn't work
17:23 [particle] iiuc, the problems with pod6 are entirely outside the bounds of its current usage
17:23 [particle] i wonder...
17:24 moritz_ [particle]: not entirely
17:24 pmurias moritz_: the README is wrong than?
17:25 moritz_ [particle]: if we acknowledge that we need to have stuff that is both POD and program, such as sub declarations, POD syntax might change
17:25 [particle] does the 'sublanguages' concept as applied to regexes, quoting, et cetera in the perl 6 grammar allow the tools necessary to alleviate the concerns regarding pod
17:25 moritz_ pmurias: the README just says "see INSTALL"
17:26 moritz_ pmurias: and the INSTALL describes several methods, one of which actually works
17:26 moritz_ [particle]: the point has always been that you shouldn't need the Perl 6 grammar to parse POD
17:26 bbkr joined #perl6
17:27 pmurias moritz_: the methods that don't work should be documented as such
17:27 [particle] moritz_: what if perl 6 is a sublanguage of pod?
17:28 moritz_ [particle]: why should it be? doesn't sound logical to me
17:28 araujo joined #perl6
17:28 moritz_ pmurias: I agree
17:29 masak "Perl 6: a sublanguage of POD... with side effects"
17:29 [particle] :)
17:29 moritz_ do you think I can send a POD6 proposal to p6l without being killed by Damian and the rest of the crew?
17:29 moritz_ masak: ;)
17:29 [particle] yes
17:29 masak moritz_: yes
17:29 masak moritz_++
17:32 moritz_ I'll have to brood a bit more over it, so it probably won't be until 20th of august or something because I have vacations inbetween
17:40 pmurias did the ghc core represetation change much from the one describe in "An External Representation for the GHC Core Language."
17:40 pmurias http://www.haskell.org/ghc/docs/papers/core.ps.gz
17:40 pmurias ?
17:47 Auzon moritz_: STD.pm should be rebuilt every 5 minutes now
17:47 les joined #perl6
17:48 moritz_ Auzon: very good
17:50 [particle] hrmm, i may have to get all MakeMaker on src/perl6/ :/
17:51 pmurias [particle]: can't you just grab a make?
17:53 [particle] i'm on windows
17:53 [particle] './gimme5' doesn't work
17:54 Auzon Some part of it doesn't work on Mac, either, from what I hear
17:54 [particle] if i convert to 'perl gimme5' then will it respect the #! in gimme5?
17:55 moritz_ [particle]: only the arguments (like -w, if any)
17:55 [particle] figured as much. i suppose that's ok, since there's 'use 5.010' in the files
17:56 moritz_ [particle]: if you want to change Makefile (and commit the changes), rather make it 'perl5.10.0 gimme5'
18:01 pugs_svn r21635 | moritz++ | [evalbot] group identical results in output of 'perl6:'
18:02 moritz_ std: 1
18:02 p6eval std 21634: OUTPUT[parse ok]
18:02 pmurias joined #perl6
18:04 moritz_ Auzon: did you modify evalbot locally?
18:04 Auzon Yes, but the changes are in SVN as well
18:04 moritz_ because I got a conflict on updating
18:05 moritz_ on timtowtdi.org
18:05 Auzon Sorry about that :-/
18:05 moritz_ I simply reverted it
18:05 moritz_ Auzon: no problem, I just wanted to know if it had changes worth preserving
18:05 Auzon Nope. I just wanted to edit it there, then realized it was easier to commit on my computer, and I didn't get the exact same changes
18:05 p6eval joined #perl6
18:06 moritz_ rakudo: say "basic sanity"
18:06 p6eval rakudo 29834: OUTPUT[basic sanity␤]
18:06 [particle] moritz_: there is no perl5.10.0 on windows. there is only 'perl'
18:06 moritz_ perl6: say "basic sanity"
18:06 p6eval elf 21635, pugs, rakudo 29834: OUTPUT[basic sanity␤]
18:06 moritz_ [particle]: I didn't know that. How inconvenient
18:06 [particle] oh, oops, i do have 5.10.0 (i typed it wrong)
18:07 moritz_ YaY, less line noise from p6eval
18:07 moritz_ perl6: print 2.perl
18:07 p6eval elf 21635, pugs: OUTPUT[2]rakudo 29834: RESULT[21]
18:08 moritz_ oops, missing a newline
18:09 pugs_svn r21636 | moritz++ | [evalbot separate different outputs from 'perl6:' with newlines
18:09 [particle] what's the diff between OUTPUT[] and RESULT[] ?
18:10 p6eval joined #perl6
18:10 moritz_ [particle]: RESULT is when something didn't produce output
18:10 moritz_ perl6: print 2.perl
18:10 p6eval elf 21636, pugs, rakudo 29834: OUTPUT[2]
18:10 [particle] odd
18:10 moritz_ I got a segfault from parrot during the first eval
18:10 moritz_ pugs: print 2.perl
18:10 [particle] perl6: $_ = 'foo'; .say;
18:11 p6eval pugs: OUTPUT[2]
18:11 p6eval pugs, rakudo 29834: OUTPUT[foo␤]
18:11 p6eval ..elf 21636: OUTPUT[Use of uninitialized value in concatenation (.) or string at ./elf_f line 3408.␤syntax error at (eval 115) line 4, near ";␤->say"␤ at ./elf_f line 3861␤]
18:31 cjfields joined #perl6
18:39 viklund` uhm, bug in rakudo I think:
18:39 viklund` rakudo: my $p='monkey'; say substr($p,0,0)
18:39 p6eval rakudo 29834: OUTPUT[monkey␤]
18:41 masak ah, that's probably because the second 0 is treated as nonexistent
18:42 moritz_ which is wrong, of course
18:42 moritz_ is there a test for that?
18:42 masak aye
18:42 masak ...it's wrong, I mean
18:42 masak don't know about the test
18:43 moritz_ doesn't seem like
18:43 moritz_ I'll add one
18:44 moritz_ pugs: my $p='monkey'; say substr($p,0,0)
18:44 p6eval pugs: OUTPUT[␤]
18:44 viklund` this works
18:44 masak ah, it treats -1 as last char minus 1
18:44 viklund` rakudo: my $p='monkey'; say substr($p,0,-$p.chars)
18:44 p6eval rakudo 29834: OUTPUT[␤]
18:44 masak and 0 as last char
18:45 pugs_svn r21637 | moritz++ | [spec] added substr test with 0 as third arg, masak++
18:45 moritz_ but the last arg should be length, not position, right?
18:45 chris2 joined #perl6
18:45 masak moritz_: that too
18:46 masak moritz_: unless negative
18:48 moritz_ masak: care to open a ticket?
18:48 masak moritz_: oki
18:57 sail0r joined #perl6
19:04 moritz_ #perl6-soc in 25
19:04 Auzon Yep, :)
19:05 Chillance joined #perl6
19:08 hercynium joined #perl6
19:10 broquaint joined #perl6
19:26 pugs_svn r21638 | fglock++ | [v6.pm] added docs for the YAML backend
19:28 pugs_svn r21639 | fglock++ | fixed last commit
19:29 meppl joined #perl6
20:16 gbacon joined #perl6
20:20 hercynium joined #perl6
20:32 awwaiid joined #perl6
20:33 meppl joined #perl6
20:43 pugs_svn r21640 | fglock++ | [v6.pm] operator fixes
20:47 pugs_svn r21641 | moritz++ | [spec] another substr test
20:48 kanru joined #perl6
20:48 wknight8111 joined #perl6
20:48 lleksah joined #perl6
21:18 jferrero joined #perl6
21:30 fridim_ joined #perl6
22:01 Limbic_Region joined #perl6
22:09 Southen joined #perl6
22:12 hercynium joined #perl6
22:13 awwaiid joined #perl6
22:13 araujo joined #perl6
22:13 Helios- joined #perl6
22:13 Southen_ joined #perl6
22:13 agentzh joined #perl6
22:13 xinming joined #perl6
22:13 idemal joined #perl6
22:13 Grrrr joined #perl6
22:13 zostay joined #perl6
22:13 ilogger2 joined #perl6
22:13 wolverian joined #perl6
22:15 Helios- joined #perl6
22:22 Lorn joined #perl6
22:43 Limbic_Region salutations all
22:46 viklund` joined #perl6
23:08 Caelum joined #perl6
23:16 sail0r joined #perl6
23:47 broquaint joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo