Parrot 1.8.0 Zygodactyly released | Latest modified TT's: icanhaz.com/parrotbugs | Parrot Languages: icanhaz.com/parrotlang
Set by moderator on 20 November 2009.
00:00 Util joined, pmichaud joined, dukeleto joined 00:02 dalek left 00:03 dalek joined 00:07 mikehh_ joined 00:15 mikehh joined
GeJ Good morning gentlemen 00:32
00:33 theory joined
japhb o/ 00:34
00:35 nopaste joined
dalek rrot-plumage: f21af6d | japhb++ | :
Snapshot: first working code in OO refactor
00:35
rrot-plumage: 7ecd658 | japhb++ | :
Move get_project_list() to Plumage::Metadata as a class method, and swit...
rrot-plumage: 9332387 | japhb++ | :
Switch to Plumage::Metadata, part 2
rrot-plumage: 7c4222f | japhb++ | :
[LIB] Plumage::Metadata: Reorganize; document; clean up try() usage; imp...
rrot-plumage: d42b385 | japhb++ | :
[plumage] Stop loading old Metadata.pbc
rrot-plumage: 575fcb7 | japhb++ | :
Remove now unused src/lib/Metadata.nqp
theory seen dukeleto 00:37
purl dukeleto was last seen on #moose 4 hours, 15 minutes and 54 seconds ago, saying: HONK
cotto hi GeJ 00:44
00:49 eternaleye joined 00:52 eternaleye joined 01:11 lucian joined 01:12 zak_ joined 01:24 mikehh joined 01:41 zak_ joined
dalek rrot-plumage: e187704 | japhb++ | :
[BUILD] Stop depending on src/lib/Metadata.pbc
01:42
cotto There's nothing like ignoring your own code for a couple months to show you where it needs more comments. 01:51
02:10 zak_ joined
cotto btw, japhb++ again for those improvements 02:12
dalek rrot: r42776 | cotto++ | trunk/tools/dev/pprof2cg.pl:
[pprof2cg] various documentation improvements, mostly comments and variable name changes
02:18
02:40 TiMBuS joined 02:50 cconstantine joined 02:51 kid51 joined, jhelwig joined 03:00 eternaleye joined 03:08 TiMBuS joined
dalek TT #1325 created by jkeenan++: src/frame_builder.c: Parrot_jit_build_call_func() needs work 03:18
rrot: r42777 | jkeenan++ | trunk/src/frame_builder.c:
Add barebones Pod DESCRIPTION. Note newly created TT to track FIXME comments.
03:20
rrot: r42778 | jkeenan++ | trunk/src (9 files):
Add content to Pod DESCRIPTION (or make sure that DESCRIPTION passes codingstd test).
03:24
rrot: r42779 | jkeenan++ | trunk/src/call (5 files):
Add content to Pod DESCRIPTION (or make sure that DESCRIPTION passes codingstd test).
03:31
rrot: r42780 | jkeenan++ | trunk/lib/Parrot/Test/Pod.pm:
Add documentation for new().
03:50
rrot: r42781 | jkeenan++ | trunk/lib/Parrot/Test (2 files):
Add content to Pod DESCRIPTION (or make sure that DESCRIPTION passes codingstd test).
03:54 kthakore joined
kthakore hi folks 03:54
can some one fix the link here
www.parrot.org/news/2009/Parrot-1.8.0
the 'our source code repository' 03:55
is pointing to www.parrot.org/news/2009/%5C%22http.../trunk/%22
regards great work on 1.8
dalek rrot: r42782 | jkeenan++ | trunk/lib/Parrot/Pmc2c/Attribute.pm:
Add documentation.
03:57
cotto kthakore, thanks 03:58
kthakore cotto: np
cotto: are there more newbie ticket then the one in pmc2c? 04:01
cotto Yes, but they're not labeled. 04:02
Is there anything in particular you'd like to work on? 04:03
kthakore cotto: c stuff ... I want to start learning NCI 04:04
cotto: but baby steps ??
purl baby steps! baby steps!
cotto I'm chasing down the bug that caused the broken html. I'll look for a good newbie task after that. 04:07
kthakore cotto: np I am on trac so just attach it to me 04:08
cotto: I am going to sleep for now ... will tackle it later
cotto: thank you for helping :)
cotto: may I ask .... but what is parrot's (pir) performance to perl5 ? 04:11
cotto: well what ever good night 04:13
cotto kthakore, it doesn't really make sense to compare them since PIR isn't targeted at the same niche as Perl 5.
also, crow.pir is br0ken 04:14
actually, I need to try it with an installed parrot
Hmm. It works with installed, but I'd expect it to be fine without too. 04:17
just kidding. It's broken.
dalek rrot: r42783 | jkeenan++ | trunk/lib/Parrot/Pmc2c (8 files):
Add content to Pod DESCRIPTION (or make sure that DESCRIPTION passes codingstd test).
04:20
rrot: r42784 | jkeenan++ | trunk/docs/project (2 files):
Make sure POD files have correctly named DESCRIPTION section.
04:27
kthakore cotto oh ok 04:32
cotto um ... so how can i learn about parrot internals? 04:34
like how to hook c into parrot?
cotto src/extend.c and t/src/extend.t would be good places to start. 04:38
t/pmc/nci.t too 04:39
Is that what you're trying to get into? 04:40
pcc was recently overhauled 04:41
trac.parrot.org/parrot/wiki/Callin...nsOverview 04:42
japhb pmichaud, I asked this earlier, but I think you were afk ... is there any way to make the following work in NQP? 04:48
class Foo { method foo () { my $method := "bar"; self."$method"(); }; method bar () { say("Hello from method bar"); } }; my $o := Foo.new; $o.foo;
If you replace "$method" with bar , it works. 04:49
But I need to invoke a method by calculated name.
Looking through the code to P6object.pir, I didn't see anything obvious there, either. I'm thinking I have to fall back to raw PIR? 04:50
pmichaud, It also blew up when I tried using PIR just to get the method PMC as follows: 04:59
my $method := "bar"; my $meth := pir::find_method__PPs(self, $method); self.$meth();
(that's just swapping out the code in method foo () {...} ) 05:00
cotto kthakore, is that what you're looking for? 05:14
05:22 elmex_ joined
japhb purl, msg pmichaud I've updated wiki.github.com/perl6/nqp-rx/plumage-requests and reorganized it a bit to put still-requested features roughly in order of Plumage's urgency to have them. 05:27
purl Message for pmichaud stored.
dalek rrot-plumage: ad797bd | japhb++ | :
[METADATA] Add lua and lua-batteries metadata, fperrad++
05:36
06:55 theory joined
dalek rrot-plumage: fc01d18 | japhb++ | :
[CORE] Glue.pir: Add is_dir()
07:44
07:52 fperrad joined 07:53 fperrad_ joined
dalek rrot-plumage: c8a8941 | japhb++ | :
OO refactor phase 2: Plumage::Project first working code
08:00
rrot-plumage: a702b02 | japhb++ | :
Remove action-related code and data from plumage.nqp; fixup Plumage::Met...
cotto Is there a nice way to exit a nqp for loop early?
pmichaud not yet, although 'next' and 'last' may be implemented soon. 08:05
dalek rrot-plumage: 478a3dc | japhb++ | :
[LIB] Plumage::Project: Add perform_actions method to SYNOPSIS; module s...
08:06
japhb pmichaud, ah, that would be nice!
pmichaud NQP doesn't understand variable method names yet
japhb pmichaud, yeah, I figured.
I've got a wantonly ugly hack of embedded PIR code to work around it. 08:07
08:19 cotto_w0rk joined
dalek rrot-plumage: 261b10a | japhb++ | :
[LIB] $o._method_exists($m) -> $o.HOW.can($o, $m)
08:28
japhb I think that's all I've got for tonight. Goodnight, all. 08:31
08:49 slavorg joined
dalek rrot: r42785 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
[distutils] clean up inno script
08:49
09:04 desertm4x joined
dalek rrot: r42786 | pmichaud++ | trunk/compilers/pct/src (2 files):
[pct]: Make compiler options more readily available to compilers.
09:55
09:57 cotto joined 10:20 frodwith joined 10:21 desertm4x_ joined 10:40 bacek joined 10:46 mikehh joined
mikehh What has happened to operator etc. privileges in the channel 10:52
is parrot.org down? 11:13
Infinoid mikehh++ for noticing 11:15
11:18 davidfetter joined
mikehh All tests PASS (pre/post-config, smoke (#30111), fulltest) at r42786 - Ubuntu 9.10 amd64 (g++ with --optimize) 11:29
dalek nxed: r197 | julian.notfound++ | trunk/winxed.winxed:
delete generated pir file after running it
11:40
12:05 cotto_working joined
dalek nxed: r198 | julian.notfound++ | trunk/winxed.winxed:
implement --target option in compiler driver
12:10
12:18 cotto_w0rk joined 12:29 uniejo joined
dalek nxed: r199 | julian.notfound++ | trunk/README:
update and improve README
12:29
nxed: r200 | julian.notfound++ | trunk/winxedst0.cpp:
use a macro to conditionally compile platform dependant features of the stage 0
12:44
13:23 kid51 joined 13:30 cconstantine joined
dalek rrot: r42787 | NotFound++ | trunk/t/pmc/arrayiterator.t:
[t] a few more test for ArrayIterator
13:34
mikehh All tests PASS (pre/post-config, smoke (#30117), fulltest) at r42786 - Ubuntu 9.10 amd64 (gcc with --optimize) 13:39
dalek rrot: r42788 | barney++ | trunk/docs/project/release_manager_guide.pod:
Added the mailing list 'parrot-users'.
13:47
TT #1326 created by barney++: crow.pir is broken 13:58
14:05 Whiteknight joined
dalek p-rx: 23bb989 | pmichaud++ | (3 files):
Add $obj."method"(...) syntax.
14:07
p-rx: 9f7db2e | pmichaud++ | src/stage0/ (3 files):
Update bootstrap.
14:10 lucian joined
kthakore /win 14 14:12
dalek rrot: r42789 | pmichaud++ | failed to fetch changeset:
[nqp]: Add $obj."method"() syntax.
kthakore cotto_w0rk: ya that should be fine ... i will look onto pcc deprecratrd functions 14:13
k later 14:14
14:19 payload joined 14:35 JimmyZ joined 15:12 Psyche^ joined
dalek rrot: r42790 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
[distutils] 'win32-inno-installer' depends on 'build', and more clean up
15:22
15:25 uniejo joined 15:30 uniejo joined 15:41 iblechbot joined 15:42 cconstantine joined
dalek p-rx: da4d6f4 | pmichaud++ | src/ (2 files):
Refactor regex creation a bit.
15:52
p-rx: c4b8abd | pmichaud++ | src/stage0/ (3 files):
Update bootstraps.
16:14 jan joined 16:26 tetragon joined
dalek rrot: r42791 | pmichaud++ | failed to fetch changeset:
[nqp]: Update with regex sub refactors.
16:36
16:38 plobsing joined
dalek TT #1327 created by coke++: remove old languages files 16:51
17:02 uniejo joined 17:15 joeri joined 17:28 diakopter left
cotto good morning 17:34
.o0( I love the sound of no purl in the morning. )
cconstantine 'mornin 17:35
17:35 kid51 joined 17:37 payload joined 17:48 tetragon joined 17:52 patspam joined
cconstantine I'm attempting to build an abstract syntax tree of my own with PCT instead of using the PAST Nodes. github.com/cconstantine/Reason 18:14
I'd like to ahve a tree made up of my 'cons' type, but I appear to still have a tree of PCT types 18:15
moritz you do create PAST types 18:16
line 50 in actions.pm for example 18:17
cconstantine as the leaf nodes 18:18
held together in a tree made of 'cons' objects 18:19
but I don't know what happens to the cons objects I create in the expr method
moritz can't build Reason 18:22
/nocrypt-home/moritz/source/parrot-all/parrot -o reason.pbc reason.pir
error:imcc::opt_flag parameter must be of type 'I', not 'pmc' in file 'src/builtins/library.pir' line 29
cconstantine bah
moritz there's an easy fix 18:23
s/pmc/int/ in line 28 of src/builtins/library.pir
note that the error message is off-by-one 18:24
cconstantine try again
moritz heh, that's cheating :-) 18:25
$ >./reason
"load_bytecode" couldn't find file '../../runtime/parrot/library/dumper.pir'
cconstantine oh, that's where dumper is on my machine... 18:26
I don't know how to reference it properly
moritz it's in $prefix_dir/lib/$parrot_version/library/dumper.{pir,pbc}
cconstantine can I put that direclty in? 18:27
moritz nope
let me see if I can steal something from rakudo's Makefile...
cconstantine: changing line 38 in reason.pir to load_bytecode 'dumper.pir' works for me 18:30
(with an installed parrot)
cconstantine ok
me too evidently
moritz cconstantine: not sure if that's the explanation, but it seems you're using the PCT dumper... 18:31
maybe that doesn't know how to dump non-PCT types? 18:32
cconstantine then shouldn't we see 'unknown type' or somesuch from _dumper?
moritz maybe 18:33
cconstantine yeah, when I explicitly dump a list I get ""list" => PMC 'cons' { ... }"
update again to see it 18:36
moritz I did change method TOP to read 18:41
cconstantine which brings up another question; how do I have the 'cons' type be dumpable... but that's a minor issue
moritz ... make parse_list(@some_array)
and I still get "source" => PMC 'Reason;Grammar' => ...
cconstantine @some_array? 18:42
moritz my @some_array; @some_array.push(1); make parrse_list(@soem_array);
cconstantine ah
you can also just do 'make list(1, 2, 3)' or somesuch
anyway, yeah... I always seem to end up with a 'Reason;Grammar' object 18:43
moritz no idea what's wrong; maybe pmichaud knows 18:45
cconstantine ok. thanks for looking
moritz you're welcome
I also learned things along the way :-) 18:46
cconstantine good :) 18:49
19:17 lucian joined 19:35 mikehh joined 19:44 mikehh joined 19:53 riffraff joined
dalek nxed: r201 | julian.notfound++ | trunk/examples/parser.winxed:
first step to float in parser example
20:00
20:08 bacek joined 20:11 mikehh joined 20:18 mikehh joined 20:45 mikehh joined 21:02 NotFound joined
cotto So far, the incomplete version of pprof2cg.nqp takes about 9:00 where the perl version takes 1:33. 21:04
Maybe I should just add a "G" to the front and pretend it's on purpose.
dalek rrot: r42792 | pmichaud++ | failed to fetch changeset:
[nqp]: Update with regexes that support :p(os) and :c(ontinue).
21:05
tracwiki: v110 | fperrad++ | Languages 21:09
tracwiki: update Parrot version 1.8.0 (with Plumage)
tracwiki: trac.parrot.org/parrot/wiki/Langua...ction=diff
21:22 mikehh joined
dalek p-rx: 19d5ef4 | pmichaud++ | (3 files):
Convert 'from' to 'p' (:p/:pos).
21:24
p-rx: ba1f213 | pmichaud++ | (7 files):
Add 'c'ontinue option to regexes.
p-rx: e395215 | pmichaud++ | src/Regex/Cursor.pir:
Change check for :rule type.
p-rx: 88e6e26 | pmichaud++ | src/stage0/ (4 files):
Update bootstrap.
21:26 bacek joined
dalek rrot: r42793 | pmichaud++ | trunk/ext/nqp-rx/src/stage0 (4 files):
[nqp] Update bootstrap with :rule(Code) fix.
21:48
TT #1314 closed by dukeleto++: open opcode returns true instead of returning an exception 22:06
22:10 cconstantine joined 22:22 cognominal joined 22:32 cognominal joined
dalek p-rx: a10da9f | moritz++ | src/Regex/P6Regex/Grammar.pm:
add a space to the "Obsolote use" error message
23:24
23:36 lucian joined 23:47 lithos joined
lithos hello everyone! as suggested on #parrot I made an attempt of summarizing parrot and perl 6 things 23:50
23:50 davidfetter joined
moritz cool 23:50
cconstantine sounds like a noble goal
lithos here is my first try: lith-ology.blogspot.com/
moritz lithos++ 23:52
very good
lithos should i allow anonymous comments or will i get spammed then? I have no experience blogging so any advice is welcome 23:55
moritz anonymous comments will be spammy
but you might allow OpenID-verified ones
NotFound lithos++ 23:56
lithos i understand that OpenID-ones are allowed 23:58
i did not change the default setting