www.parrotcode.org | Last Release: 0.7.0 "Severe Macaw"
Set by moderator on 19 August 2008.
00:02 bacek_ joined
dalek r30605 | Whiteknight++ | trunk: 00:15
: [Core] add function-level documentation to src/inter_run.c, which I was not able to understand earlier.
diff: www.parrotvm.org/svn/parrot/revision?rev=30605
00:30 donaldh joined
dalek r30606 | julianalbo++ | trunk: 00:50
: fix lack of cut in a pod comment
diff: www.parrotvm.org/svn/parrot/revision?rev=30606
r30607 | Whiteknight++ | pdd09gc: 01:00
: [pdd09gc] add new src/gc/gc_ms.c to MANIFEST
diff: www.parrotvm.org/svn/parrot/revision?rev=30607
kid51 seen magnachef 01:07
purl magnachef was last seen on #parrot 50 days, 22 hours, 29 minutes and 56 seconds ago, saying: s/is/his/ [Jul 8 02:37:20 2008]
01:19 rurban_ joined 01:21 particle1 joined
dalek r30608 | cotto++ | trunk: 01:34
: [pipp] phparray tests for add and i_add
diff: www.parrotvm.org/svn/parrot/revision?rev=30608
kid51 Whiteknight ping 01:39
moritz ping 01:50
Whiteknight hello kid51 01:52
kid51 Ah, I just msg-ed you! 01:53
Whiteknight yeah, I just got it
East Coast hackathon? count me in!
dalek r30609 | Whiteknight++ | gsoc_pdd09: 01:54
: [gsoc_pdd09] update to trunk from r30457
diff: www.parrotvm.org/svn/parrot/revision?rev=30609
kid51 This was a *very* tentative discussion. We have neither location nor date determined. In fact, I haven't even talked about it with him or anyone in two months! 01:55
But now that cooler weather is arriving, my brain is more capable of longer-range planning.
So if you can msg me an email address, I'll add you to any discussion that develops. 01:56
Whiteknight okay, i sent it in a privmsg 01:57
kid51 Ever since attending the Perl hackathon in Chicago in Nov 2006, I've loved hackathons and wanted to organize one on the East Coast. But in the NYC area finding affordable space is a killer. 01:59
Whiteknight yeah, I imagine
kid51 So that's why I've tried to keep in contact with people from Phila.pm, ABE.pm, Coke (Albany).
Whiteknight I just signed up for the Phila.pm and ABE.pm mailing lists 02:00
kid51 If you're ever in NYC on the 3rd Tuesday of a month between October and May, you can come to Perl Seminar NY (tech.groups.yahoo.com/group/perlsemny).
Our meeting location is close to Penn Station and Port Authority! 02:01
Whiteknight oh nice. I'm never in NYC, but I might make the trip one day 02:05
cotto_home how do I test error output in a pure pir test? 02:11
I suppose catching an exception would be part of it 02:14
answering my own questions is fun 02:18
kid51 There's this fellow on channel called cotto_work who probably has all the answers to your questions ;-)
cotto_home I'll have to msg him. 02:19
of course, he always seems to be here when I'm not, so there'll probably be some delay. 02:20
Whiteknight goodnight 02:24
02:32 cognominal joined 03:33 dmknopp joined 03:54 petdance joined 04:19 tetragon joined 04:36 Ademan joined 04:37 tetragon joined 04:44 konobi joined
konobi yoyo 04:44
are there any PGE/TGE examples of grammars that deal with interleaved language/markup ? 04:49
PerlJam konobi: I don't think so. 04:51
Though, pipp might have something useful there since it's an implementation of php 04:52
konobi so nothing like a grammar for TT or the like? 04:57
dalek r30610 | cotto++ | trunk: 05:19
: [pmc] resolve 46823 and delete spurious references to the same
diff: www.parrotvm.org/svn/parrot/revision?rev=30610
05:25 Psyche^ joined 05:44 tetragon joined
dalek r30611 | cotto++ | trunk: 05:48
: [pmc] add some exceptional tests for negative indicies
diff: www.parrotvm.org/svn/parrot/revision?rev=30611
06:00 donaldh joined 06:13 uniejo joined
dalek r30612 | chromatic++ | trunk: 06:20
: [dynpmc] Changed string_from_literal() to CONST_STRING() in GDBMHash PMC.
diff: www.parrotvm.org/svn/parrot/revision?rev=30612
06:22 allison joined
dalek r30613 | chromatic++ | trunk: 06:25
: [lib] Made dynpmc group generator initialize dynpmcs in order of their
: inheritance hierarchy within the group. This is step two in reducing vtable
: code size, memory use, linking, and startup time.
: The next step may be murkier; the no_init flag for PMCs may need to go away.
diff: www.parrotvm.org/svn/parrot/revision?rev=30613
06:29 tetragon joined 07:05 tetragon joined, magnachef_ joined
dalek r30614 | cotto++ | trunk: 07:14
: [pipp] phparray get_repr test
diff: www.parrotvm.org/svn/parrot/revision?rev=30614
07:16 iblechbot joined
dalek r30615 | allison++ | trunk: 07:24
: Slate the n_* opcode variants for deprecation.
diff: www.parrotvm.org/svn/parrot/revision?rev=30615
07:40 Ademan joined
dalek r30616 | allison++ | trunk: 09:03
: [pdd] Adding a draft installation PDD, thanks to Reini Urban.
diff: www.parrotvm.org/svn/parrot/revision?rev=30616
09:18 rurban_ joined
dalek allison@perl.org | milestones: 09:23
link: www.perlfoundation.org/parrot/index...milestones
09:35 rba joined 10:16 Debolaz joined 10:21 megamic joined
dalek allison@perl.org | milestones: 10:29
link: www.perlfoundation.org/parrot/index...milestones
10:39 masak joined 11:01 iblechbot joined 11:12 Zaba joined 11:31 kid51 joined
dalek r30617 | julianalbo++ | trunk: 11:59
: allow struct and pointer to pointer in pmc ATTR
diff: www.parrotvm.org/svn/parrot/revision?rev=30617
12:09 Ademan joined 12:10 dmknopp left
dalek r30618 | julianalbo++ | trunk: 12:24
: clean ATTR workarounds in perl6multisub
diff: www.parrotvm.org/svn/parrot/revision?rev=30618
12:47 tswall joined 13:01 ejs_ joined
dalek rurban@cpan.org | dtrace: 13:03
link: www.perlfoundation.org/parrot/index.cgi?dtrace
rurban@cpan.org | parrot_installation: 13:09
link: www.perlfoundation.org/parrot/index...stallation
rurban@cpan.org | parrot_installation: 13:11
link: www.perlfoundation.org/parrot/index...stallation
13:15 jan joined 13:30 gryphon joined 13:50 jdv79 joined
dalek Stļæ½phane Payrard | dtrace: 13:59
link: www.perlfoundation.org/parrot/index.cgi?dtrace
14:02 jhorwitz joined
dalek Stļæ½phane Payrard | dtrace: 14:06
link: www.perlfoundation.org/parrot/index.cgi?dtrace
14:07 AndyA joined 14:10 ejs__ joined
masak can NCI be used in Parrot today to make Rakudo talk to mySQL? 14:18
particle1 iirc donaldh was looking into this after tewk's merge 14:19
masak so there's some hope, in other words
particle yes, much hope 14:20
masak nice
particle if it doesn't work today, it could work within a week or four
it's totally solvable
masak sounds great
masak reads up on pdd16 in the meantime
particle notices 'pdd16' doesn't become a link in the irc log :( 14:22
moritz particle: in general your changes are better if you hilight me ;)
particle i knew you were nearby anyway :)
m/(?i)\\bpdd\\d\\d(_\\w+)*\\b/ ought to match it 14:25
moritz qr{\\bpdd(\\d\\d)\\b}
oki
particle actually, you probably want to capture the pddNN part
moritz actually pdd(\\d\\d)(_\\w+)?\\b is enough 14:26
\\w matches _ also
particle ah, yes
fine with me if they all link to www.parrotcode.org/docs/pdd/ 14:27
if you can't get the svn linking right due to the draft/ dir
moritz I think in the browser it's easier to read HTML anyway
particle yep 14:28
moritz sadly I need a list of their names, because I can't link to them only by number
particle right, unless you scrape html or something nasty
moritz I'll just put a hash into my module, basta! 14:29
particle ack -ag pdd docs/pdds/ will work
Zaba ack <3 14:31
particle ack++ 14:36
moritz how do I replay a macro in vim? 14:39
masak @r 14:40
where r is the register
moritz thanks, masak++
masak or @@ if you played it last
masak wishes there were a way involving only one keypress
moritz you just saved me 300+ key strokes 14:41
:bind yourkey @@ ?
masak moritz: might work, yes :)
particle yep, like <F5> or something
masak has never bound keys in vim before
particle binds ` to :bn for presentations 14:42
yes, i do presentations in vim
moritz woooo
masak particle: Damian Conway too. he uses something called vimpoint. 14:46
particle yeah, i need to steal some of his ideas 14:48
wish i could get vim fullscreen on windows, too 14:49
14:55 ilbot2 joined
moderator www.parrotcode.org | Last Release: 0.7.0 "Severe Macaw"
moritz logger should be back now 14:55
dalek r30619 | moritz++ | trunk: 15:15
: [rakudo] added test for statement modifying for to spectest_regression
diff: www.parrotvm.org/svn/parrot/revision?rev=30619
15:16 bpphillips joined 15:44 particle1 joined 15:54 uniejo joined
dalek r30620 | allison++ | trunk: 16:10
: [pdd] Adding an early draft PDD for HLL interoperability, from Bob Rogers.
diff: www.parrotvm.org/svn/parrot/revision?rev=30620
16:16 davidfetter joined, iblechbot joined 16:38 konobi left 16:46 Ademan joined
dalek rurban@cpan.org | parrot_installation: 17:01
link: www.perlfoundation.org/parrot/index...stallation
17:05 cognominal joined 17:18 rurban_ joined 18:00 Zaba_ joined
dalek r30621 | tene++ | trunk: 18:28
: [cardinal]
: Add a file that I forgot to include earlier
: sleephacking--
: dmknopp++
diff: www.parrotvm.org/svn/parrot/revision?rev=30621
rurban@cpan.org | Platforms: 18:33
link: www.perlfoundation.org/parrot/index...?platforms
19:13 gryphon joined
dalek r30622 | allison++ | trunk: 19:44
: [pdd] Adding a series of architectural comments to the HLL Interop PDD.
diff: www.parrotvm.org/svn/parrot/revision?rev=30622
19:45 itz joined
dalek moritz@faui2k3.org | Platforms: 19:51
link: www.perlfoundation.org/parrot/index...?platforms
NotFound Somenone fluent with nci? 19:59
moritz hopes tewk is ;)
NotFound I've found that the signature for strings does not allow for NULL strings, and I wonder if is intentional. 20:00
Just trying a simple test with XDisplayName
With this change, it works: "t_$temp_num = string_to_cstring(interp, GET_NCI_S($reg_num));"; ---> "t_$temp_num = GET_NCI_S($reg_num) ? string_to_cstring(interp, GET_NCI_S($reg_num)) : (char *) NULL;" 20:02
tools/build/nativecall.pl:505 20:03
20:08 grim_fandango joined 20:12 peepsalot joined
Tene I was going to write mail to the list about cardinal HLL interop design questions, but I need to do more research first. 20:30
The big issue is that ruby defines keyed lookup and assignment as calling methods named '[]' and '[]=
' on objects.
Should I make set_pmc_keyed look for those methods specifically? Should I watch for those names on method definition in the compiler and override set_pmc_keyed in the class? 20:31
I haven't sat down to do the thinking about design yet, and haven't tried the later to see if it's possible.
particle1 .sub '[]=' :method :vtable('set_pmc_keyed') 20:33
particle is that what you're getting at? 20:34
i don't know ruby at all
Tene That might be it. 20:35
Can I do that with p6object for user-defined classes, though?
particle if not, it's a missing feature
that is, if you're looking for some special syntax p6object provides 20:36
user-defined classes should work just like core classes in that regard
Tene Okay. 20:37
I'll investigate that tonight.
particle what's the latest on resumable exceptions? 20:38
Tene They work fine still.
particle i'd like to put warnings into rakudo
great
Tene Or do you mean automatically resuming on non-fatal?
20:39 uniejo joined
Tene Exception handlers right now can only handle a single exception before the handler is marked as already-used and then ignored in the find_exception_handler logic. 20:39
So, that's a bug.
pleasedieinafire.net/~tene/parrotexceptionnotes are the notes I've made so far for myself about the exception system. 20:40
particle thanks 20:42
20:43 Whiteknight joined
Tene The fix for that bug is to get every exception handler to check the type of their exception and rethrow exceptions they don't intend to catch. 20:44
The current behavior is a workaround for invinite loops caused by exception handlers throwing exceptions.
particle does the pdd have an example of a properly formed handler? 20:45
NotFound I've sended the question about NCI null strings and a patch to parrotbug. 20:59
RT#58438
Whiteknight so what does that require, that exception handlers have some kind of signature?
particle no, it requires exception handler writers to use 'rethrow' 21:00
in pseudocode: eh_mytype: .get_params pmc e; unless e.type = 'mytype' rethrow; #handle 'mytype' exception here 21:01
Whiteknight That seems like it could be ripe for some kind of syntactic sugar or macros 21:03
21:03 Ademan joined
particle yes, it does 21:04
Whiteknight Like HANDLER_CATCH_ONLY(handler_name, type_expected)
moritz and you pass in a junction of handlers to catch ;) 21:05
Tene particle: how much of that did you read? 21:36
particle if you mean your notes, none yet 21:37
Tene Ah.
I need to formalize them a bit into a mail for allison.
particle is debugging javascript
21:37 Zaba joined
Tene Maybe I can talk myself into doing that tonight, though. 21:37
There are issues with exceptions thrown from C. 21:38
According to comments in that file, you should be able to resume just by returning from throw_from_c, but in practice, there are issues.
dalek r30623 | Whiteknight++ | pdd09gc: 22:06
: [gsoc_pdd09] update to trunk
diff: www.parrotvm.org/svn/parrot/revision?rev=30623
22:10 idemal joined 22:23 kid51 joined 22:24 bacek joined
bacek morning everyone 22:25
PerlJam afternoon here :) 22:26
moritz not quite morning here ;)
Whiteknight Good evening
cotto_work good night 22:29
purl sleep well too
cotto_work (not really)
22:36 bacek joined 22:45 bacek joined 23:09 tetragon joined 23:14 evan joined
evan how does parrot allow for profiling? (or will do) 23:14
opcode replacement like perl5?
moritz perhaps a different runloop 23:15
PerlJam indeed, I think it is a different runloop
evan ok, so it does it now? 23:16
I wanted to know what to look for
PerlJam parrot has profiling, PIR does not. 23:17
i.e., you can know how much time is spent in particular opcodes and how often they are executed, but you can't easily know how many times a .sub is executed or how much time is spent inside. 23:18
23:19 bacek joined
evan PerlJam: ah! so it's opcode profiling 23:19
but no facility for tracking sub entry/exit
PerlJam evan: right. That's an outstanding problem as far as I know. Something that would be *really* nice to have if only someone would implement it. 23:20
evan sadly, i'm not your man for that job. 23:21
i'm asking because i'm surveying how other VMs do it
to add to my VM.
PerlJam well, -p is for profilling parrot if you ever happen to want to do that 23:22
evan that outputs opcode usage stats?
PerlJam aye 23:23
evan ok, thanks for the info!
particle evan: i suggest you use callgrind-compatible output 23:25
evan yeah, thats what I'm thinking too
it's so dead simple
i'm not sure how I couldn't
particle yep
what's your vm for? 23:26
PerlJam yeah, why aren't you using parrot? :)
particle hee
evan particle: Rubinius 23:29
a new ruby environment
particle ah yes, i know of it 23:31
PerlJam Will this one make ruby faster? 23:33
particle evan: rubini.us mentions "spec-driven", but i know ruby is like perl 5 in that the implementation is the spec 23:35
so what's spec-driven, the vm? 23:36
PerlJam doesn't ruby have multiple implementations?
evan particle: both
we're writing a spec for MRI, the main implementation
particle yes, ruby has multiple implementations 23:37
ah, i didn't know that
*finally* :)
evan and we then make Rubinius match that spec
otherwise it's just not possible to write another implementation
PerlJam for some reason I parsed that domain as ruby-in-us in my head. 23:38
dalek r30624 | Whiteknight++ | gsoc_pdd09:
: [gsoc_pdd09] add some file-level documentation to explain what the hell I think I'm doing here. Also, add a quick stub for a quick duplication function I'm going to add later.
diff: www.parrotvm.org/svn/parrot/revision?rev=30624
evan particle: www.rubyspec.org/ 23:39
particle evan: have you considered using llvm components (like their jit) or are you building all your subsystems from scratch? 23:40
evan we're currently finishing up a new VM arch that uses llvm
so yes!
particle i'll have to keep an eye on you guys
23:55 bacek joined