Parrot 0.6.2 "Reverse Sublimation" Released | parrotcode.org/ | 18/672 new/open tix | logged in irclog.perlgeek.de/parrot/today
Set by moderator on 24 May 2008.
00:00 rdice joined
bacek I still don't understand which part of STD.pm related to @a.map: {...}... 00:01
00:02 Limbic_Region joined 00:03 Zaba_ joined
pmichaud @a.map: {...} or @a.map:{...} ? 00:06
bacek pmichaud, with space. 00:07
I try to fix spectest. There is problems with arity...
is(("foo","bar").map: { $_.substr(1,1) }, @expected, "map of constant list works"); 00:08
it parsed as map with 3 args and 'is' with 1. Instead of 'is' with 3 and map with 1. 00:09
nopaste "bacek" at 202.7.166.163 pasted "Implementation of List.map for review" (81 lines) at nopaste.snit.ch/13059 00:10
00:10 braceta joined
bacek pmichaud, can you review this one? It supports multiple arity map. 00:11
say ~(1,2,3,4).map: { $^a + $^b }; returns '3 7' as expected
pmichaud the STD.pm rule is methodop 00:12
the line that says
| ':' <?before \\s> <!{ $+inquote }> <arglist>
bacek pmichaud, found it. 00:14
Looks like src/parser/grammar.pm should have explicit priority for 'dotty'. Similar to --> Methodcall
...in STD.pm 00:15
correct?
pmichaud I think the spectest is wrong. 00:18
bacek pmichaud, hmm... 00:19
pmichaud, there is many places with such syntax in spectest.
Should we change it and use explicit parentizes around 'map'? 00:20
pmichaud either that or remove the space before the {
bacek if fails to parse without space. 00:22
Is it 'colonpair' not fully implemented?
bacek wants someone to check #54740 and #54746 :) 00:23
pmichaud correct, rakudo doesn't understand :{...} yet. 00:24
bacek pmichaud, which part of STD.pm not implemented in this case? 00:25
pmichaud I don't understand the question. 00:26
We have :{...} in the grammar, we just don't have it so that it maps correctly to a closure argument
bacek Statement not terminated properly at line 5, near "((\\"foo\\",\\"b" 00:27
I assume that grammar isn't complete... Am I totally wrong? 00:28
pmichaud there are parts of the grammar that aren't complete, yes. But I'm not sure that this is one of them. 00:29
in nopaste #13059, the call to "newclosure" is wrong. 00:30
bacek pmichaud, why?
pmichaud newclosure can only be called from the closure's outer sub 00:31
bacek pmichaud, it doesn't work without it :(
pmichaud (which 'map' is not.)
correct, there's a problem in that rakudo doesn't always call newclosure appropriately.
but by the time that 'map' gets called, newclosure will have already been done.
bacek my @l = (1..3); say ~@l.map({$_*2}); 00:33
my @l = (1..3); { say ~@l.map({$_*2}); }
without newclosure I've got too few arguments passed (0) - 1 params expected 00:34
pmichaud correct.
bacek But it crashes with newclosure... Hmm...
pmichaud there's a problem with parrot on its handling of :outer
bacek pmichaud, how I can fix it?
pmichaud I don't know how to fix it -- it's a deep parrot bug and I'm still trying to come up with a good workaround.
the bug is rt#47956 00:36
because of that bug, the {$_*2} closure of the first example can't be given an :outer 00:38
since it can't be given an :outer, it can't be made into a closure.
bacek pmichaud, ouch... 00:42
we need someone with great "dark magick" skills to fix it. 00:43
pmichaud I might be able to do a workaround. 00:44
let me make a workaround and let's see where it goes. 00:45
bacek warp everything into closure and invoke it?
TimToady < bacek> it parsed as map with 3 args and 'is' with 1. Instead of 'is' with 3 and map with 1. 00:51
that looks like how it's supposed to parse; the : introduces an argument list, and {}, 2, 3 is a list of 3 args 00:52
pmichaud yes, that's why I think the spectest is wrong there. 00:53
back in a few mins.
TimToady yes, it's wrong.
bacek rejected yesterday commit rights to pugs... May be it was wrong decision :) 00:56
ping vany 00:57
purl I can't find vany in the DNS.
bacek vany, ping!
pmichaud bacek: you should get a pugs commitbit if you're going to work on spectests
bacek pmichaud, I'm going to work on anything that helps rakudo :)
pmichaud that would certainly help :-) 00:58
TimToady I believe I heard that commitbit was back up
bacek pmichaud, It's just to much resonsiblity for me at the moment. I still newbie in parrot/rakudo/Perl6
pmichaud it's not too much responsibility. mistakes are okay -- we'll catch them. 01:00
TimToady yes, commitbit is up
msg me your email and preferred nick, and I can add you
or most anyone on #perl6 can add you 01:01
bacek TimToady, bacek@bacek.com, bacek :) 01:03
TimToady commitbit sent, it's customary to add yourself to AUTHORS as first commit (that is, in pugs repo, not parrot repo) 01:07
even if all the rest of your commits are down in t/spec :) 01:08
confound bacek@bacek.bacek 01:11
01:13 Zaba joined 01:23 bacek joined
dalek r27791 | pmichaud++ | trunk: 01:30
: [p6object]:
: * Add 'can' method to P6metaclass.
diff: www.parrotvm.org/svn/parrot/revision?rev=27791
r27792 | pmichaud++ | trunk: 01:36
: [rakudo]:
: * Add Any.can().
diff: www.parrotvm.org/svn/parrot/revision?rev=27792
pmichaud afk for a while -- will look at newclosure late.r 01:40
bacek Setup: HsSyck.cabal:14: 'Executable' stanza starting with field 'license' 01:42
Installation failed for HsSyck at util/build_pugs.pl line 235.
02:21 Psyche^ joined
bacek #perl6? 02:22
purl #perl6 is at irc.freenode.net.
nopaste "bacek" at 202.7.166.163 pasted "Parsing bug in methodop." (58 lines) at nopaste.snit.ch/13060 02:30
bacek $x('world') generates 'infix:,'(x, 'world')...
pmichaud bacek: good catch. 02:42
of course, that bug isn't in methodop :-) 02:47
cotto_home does anyone regularly compile with Intel's compiler? 02:51
dalek r27793 | pmichaud++ | trunk: 03:37
: [rakudo]:
: * Forget to set the Perl6Object => Object mapping.
: * mncharity++ Eevee++ spinclad++
diff: www.parrotvm.org/svn/parrot/revision?rev=27793
bacek pmichaud, ok-ok :) Not methodop 03:38
pmichaud I have it fixed now -- just running spectest_regression as a verification before committing 03:39
dalek r27794 | pmichaud++ | trunk: 03:47
: [rakudo]:
: * Fix bug with $x(1) introduced by r27778
: * Reported by bacek++
diff: www.parrotvm.org/svn/parrot/revision?rev=27794
pmichaud $x(1) fixed in r27794
tetragon watches Configure.pl collapse after passing in the options for a pure i386 build of parrot on a PPC box 03:56
nopaste "tetragon" at 69.196.141.26 pasted "Fun with testing an OS X configuration patch" (190 lines) at nopaste.snit.ch/13061 04:04
pmichaud bacek: ping 04:11
04:16 petdance joined
dalek r27795 | pmichaud++ | trunk: 04:21
: [rakudo]:
: * Set svn:ignore property for src/pmc/mutable.pmc .
diff: www.parrotvm.org/svn/parrot/revision?rev=27795
04:25 tetragon joined
dalek r27796 | pmichaud++ | trunk: 04:28
: [pct]:
: * Make PAST::Block nodes a bit smarter about executing 'newclosure'.
: Ideally we'd execute 'newclosure' almost anytime that we refer
: to a block we just created and avoid the typecheck, but RT#47956
: prevents us from doing that.
diff: www.parrotvm.org/svn/parrot/revision?rev=27796
pmichaud bacek: r27796 should mean you no longer need newclosure for 'map', 'grep', 'reduce', etc. 04:29
04:34 Theory_ joined
bacek pmichaud, great! 04:46
bacek works as plumber today... A lot of things to fix at home :) 04:49
pmichaud, it works!
04:56 shamu left
bacek pmichaud++ 04:57
Files=39, Tests=666 04:58
Perl6 _IS_ evil :)
dalek r27797 | pmichaud++ | trunk: 05:20
: [rakudo]:
: * Fix :a<3> Pair notation. (mncharity++ for noticing this.)
: * Add stringification for Pairs (possibly incorrect -- needs
: spec clarification).
diff: www.parrotvm.org/svn/parrot/revision?rev=27797
pmichaud afk # sleep 05:21
05:29 shamu joined 05:31 shamu left 06:05 mire joined 06:28 cotto_home joined 06:49 ank joined 06:51 AndyA joined 07:00 Zaba joined 07:10 Zaba joined 07:17 IllvilJa joined
dalek r27798 | jonathan++ | mutablerakudo: 07:18
: [rakudo] Create branch to start using Mutable in Rakudo.
diff: www.parrotvm.org/svn/parrot/revision?rev=27798
07:19 ejs joined 08:40 iblechbot joined 08:50 Ivatar joined
dalek r27799 | allison++ | pdd25cx: 08:53
: [pdd25cx] Bringing the pdd25cx branch up-to-date with trunk r27798.
diff: www.parrotvm.org/svn/parrot/revision?rev=27799
08:53 barney joined 09:43 Zaba_ joined 09:47 Zaba joined 11:14 Casan joined 11:29 Ivatar joined 12:03 Zaba joined 12:53 rdice joined
dalek r27800 | jonathan++ | mutablerakudo: 13:26
: [rakudo] Switch over to using the mutable container types. All sanity tests pass.
diff: www.parrotvm.org/svn/parrot/revision?rev=27800
moritz can I declare slurpy named args in PIR? 13:29
pmichaud moritz: yes.... :slurpy :named 13:40
moritz pmichaud: thanks. Where's all that stuff documented? 13:47
.sub 'assuming' :method :slurpy :named 13:52
error:imcc:syntax error, unexpected ADV_SLURPY, expecting '\\n' (':slurpy')
13:54 jhorwitz joined
pmichaud .sub 'assuming' 13:55
oops
.sub 'assuming' :method
.param args :slurpy :named
...
moritz thanks
moritz just found PDD03 13:56
pmichaud also pdd19: docs/pdds/draft/pdd19_pir.pod
not all of the "syntactic sugar" options work yet, though.
14:05 confound joined 14:08 ejs joined 15:04 petdance joined 15:10 Zaba_ joined 15:15 rdice joined 15:53 masak joined 15:56 iblechbot joined
masak someone might find this interesting: 16:26
paste2.org/p/31502
should I post a bug ticket somewhere, perhaps?
16:26 basileus joined
jonathan masak: Perhaps. 16:30
Well, post a ticket.
It may well be part of a more general issue, that we need to not have ResizablePMCArray exposed. 16:31
moritz rakudobug
purl it has been said that rakudobug is mailto:rakudobug@perl.org
jonathan I guess we could get @() to see if it has a List or something else.
masak jonathan: shouldn't the fact that .WHAT returns List sort of guarantee that I can to .elems on it? 16:32
jonathan masak: No, 'fraid not. 16:34
masak is surprised by that
maybe been using Java interfaces too much
jonathan pmichaud: ping 16:38
16:40 Psyche^ joined 16:42 Ron joined 16:53 slightlyoff joined, slightlyoff left
diakopter jonathan: see irclog.perlgeek.de/perl6/2008-05-25#i_310851 and following 17:07
masak it's a cool world where things you discussed a minute ago have their own URI 17:11
Casan log of life
17:19 braceta joined
jonathan diakopter: Rakudo bug; please (or someone else) submit a ticket for that. 17:24
to rakudobug? 17:25
purl, rakudobug
purl rumour has it rakudobug is mailto:rakudobug@perl.org
17:25 Zaba joined
jonathan There. 17:25
diakopter just put the test case along with the missed expectation in the email body? where does the Subject go?
(does it become the title of the ticket?) 17:26
jonathan Yes.
dalek r27801 | jonathan++ | mutablerakudo:
: [rakudo] Refactor of Mutable PMC to allow it to have a properties hash as well as the value.
diff: www.parrotvm.org/svn/parrot/revision?rev=27801
moritz dalek: or submit test cases to t/spec/S06-signature/ 17:28
s/dalek/diakopter/
dalek r27802 | tewk++ | gsoc_nci: 17:30
: [gsoc_nci] branch creation
diff: www.parrotvm.org/svn/parrot/revision?rev=27802
jonathan OK, will refactor the type checking stuff in the Mutable branch tomorrow or the day after. 17:34
jonathan is too tired from the excellent NPW
diakopter submitted 54800 & 54802 17:35
17:49 tetragon joined
dalek r27803 | jkeenan++ | searchdocs: 17:59
: Creating searchdocs in svn.perl.org/parrot//branches
diff: www.parrotvm.org/svn/parrot/revision?rev=27803
r27804 | jkeenan++ | searchdocs-27802:
: Tagging trunk at r27802 so that the searchdocs can later be synched to it.
diff: www.parrotvm.org/svn/parrot/revision?rev=27804
18:00 kid51 joined
dalek r27805 | jkeenan++ | trunk: 18:06
: MANIFEST needed updating after addition of languages/perl6/t/pmc/mutable.t.
diff: www.parrotvm.org/svn/parrot/revision?rev=27805
r27806 | jkeenan++ | searchdocs:
: Working in branch, replace search-ops.py with search-ops.pl.
diff: www.parrotvm.org/svn/parrot/revision?rev=27806
r27807 | jkeenan++ | searchdocs: 18:14
: Correct syntax error.
diff: www.parrotvm.org/svn/parrot/revision?rev=27807
19:14 Ron joined 19:33 ejs joined 19:37 Zaba_ joined 20:43 cjfields joined 20:45 cjfields left 20:46 Zaba joined 20:53 Zaba_ joined 21:06 mire_ joined 21:14 davidfetter joined 21:16 TimToady joined
dalek r27808 | rgrjr++ | trunk: 21:36
: * docs/pmc/subs.pod:
: + [docs] Thorough update: Clean up format, add references, change
: all examples to PIR, flush obsolete calling conventions. Still
: needs more work, but at least now all the examples can be run
: without having to dig through old releases!
diff: www.parrotvm.org/svn/parrot/revision?rev=27808 21:37
21:38 Zaba joined 21:44 guru joined 21:52 Zaba_ joined 22:00 tewk joined 22:04 teknomunk joined 22:10 bacek joined 22:24 tetragon joined 22:29 Zaba joined 23:17 kid51 joined 23:21 Theory joined 23:56 braceta joined 23:59 bacek_ joined