Parrot 6.6.0 "Parrothead" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 23 July 2014.
01:54 FROGGS_ joined 02:08 kid51_ joined 02:11 cooper joined 07:45 bighugedog joined 08:09 basiliscos joined 08:11 woosley left 08:14 bighugedog joined 09:41 basiliscos joined 10:12 schmooster joined 11:26 bighugedog joined 11:34 kid51 joined 15:02 Chirag joined 15:48 basiliscos joined 16:03 rurban joined
rurban back from the dead 16:04
Chirag :D How are you now? 16:05
rurban better :)
Chirag nice :) 16:06
rurban I thought I got a tiny stroke, but it was only a muscle problem with the ribs 16:07
Chirag oh dear
rurban yes, I missed the latest Salman Khan blockbuster, Kick. But I don't think it's worth it. 16:08
Chirag definitely not.. I saw it..
rurban :) 16:09
Chirag i got a severe headache after that
rurban LOL
Chirag :P 16:10
rurban had no time for parrot at all. how did you do?
uh, lunch time. 5min...
Chirag I automated the obj check omission by modifying pmc.pm
sure
github.com/ZYROz/parrot/commit/55c...35dc2e70c7 16:21
rurban Oh great, looks good enough for the start. Does it work? 16:27
Did you also get something like 3% faster?
no, the header parts are missing 16:28
Chirag it doesnt take care of exported methods in pmc_callcontext.h
yeah
rurban yes, I see
there's still enough time to fix that 16:29
Chirag i was trying to figure how to include those
we can simply remove the static-ness from the original declarations maybe 16:31
rurban generate_headers does the headers 16:32
Method.pm:342 16:34
I'm not sure if we should export all, or only the used ones 16:35
Chirag i think only the used ones.. 16:36
but we will have to manually mention those
or wait we can match them from vtable methods 16:37
rurban yes, a big regex there
Chirag that reminds me, I was wrong before 16:38
does, get_pointer, set_integer_native, unshift_integer, find_method, isa, invoke -- are not callcontext VTABLE methods
rurban we also need to move the decls from .c to the .h
+ my $static = $pmcname eq 'CallContext' ? "" : "static"; 16:39
return <<"EOC";
-static $decs $ret${newl}Parrot_${pmcname}_$meth($interp, $pmcarg$args)$semi
+$static $decs $ret${newl}Parrot_${pmcname}_$meth($interp, $pmcarg$args)$semi
16:40 basiliscos joined
Chirag neat :) 16:40
for now I manually changed pmc_callcontext.h, but now I get errors in callcontext.pmc -- In function ā€˜Parrot_CallContext_get_attr_str’: ā€˜else’ without a previous ā€˜if’ 16:52
it looks fine though
rurban For now I have this: gist.github.com/rurban/f6fde77a6c38735d8ab8 (almost done) 16:54
just Parrot_CallContext_class_init is missing now 16:55
yes, and the else also 16:56
Chirag you have an idea, why I might be getting those errors? 16:57
rurban not yet, need to eat my lunch now... 16:59
Chirag sure :)
rurban you need to change your user.email from zyroz@users.noreply.github.com 17:00
Chirag ok.. I will change it
rurban git config user.email ...
17:01 basiliscos joined
rurban to the email your github account is associated with, so you get the proper kharma 17:01
Chirag kharma? 17:04
rurban See github.com/ZYROz Your contributions are empty 17:05
Oops, all these were with this email. No problem then 17:06
let's keep it then
it only lists commits when being merged to master 17:07
Chirag yeah, i figured
also, maybe if I push to parrot's repo instead of mine, not sure though 17:08
never tried pushing my branch to origin (initially I didnt have permissions) 17:09
rurban nope, this is no difference
Chirag oh
rurban pushing to yours should be the same, but they don't count branch work, only master
dalek rrot/pcc-gh1083: 993d089 | ZYROz++ | src/call/ (2 files):
[pcc] More Direct Methods GH #1083
17:12
rrot/pcc-gh1083: 55ce822 | ZYROz++ | lib/Parrot/Pmc2c/PMC.pm:
[pmc2c] WIP - Automate CallContext ATTR accessors to omit the obj check for GH #1083
rrot/pcc-gh1083: db71836 | rurban++ | lib/Parrot/Pmc2c/ (2 files):
[pmc2c] WIP - More special-case CallContext, c vs h, GH #1083

put CallContext decl into .h as they are not static. TODO: one remaining syntax error and missing Parrot_CallContext_class_init
Chirag even I pushed your patch to my branch 17:17
17:17 diginet joined 17:34 diginet joined 18:43 basiliscos joined 19:10 ggherdov__ joined 22:10 kid51 joined 22:27 kid51_ joined 22:56 kid51_ joined 23:51 davidfetter joined