Parrot 4.4.0 "Banana Fanna Fo Ferret" | parrot.org | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 15 May 2012.
whiteknight ...I'm not sure what reference to use for our non-american contributors 00:00
00:44 benabik joined
cotto ~~ 00:48
dalek rrot: 0ebe739 | Whiteknight++ | / (7 files):
Refactor out CallContext creation into a new function Parrot_pcc_new_call_object. Use that in the new_call_context op. Also, expose it through a convenient new Parrot_api_new_call_object API function. brrt++ for the suggestion
01:05
rrot: d2853b9 | Whiteknight++ | / (3 files):
Add in a new Parrot_api_pmc_setup_signature convenience API routine, for constructing a CallContext from a signature string and a variadic argument list. brrt++ for the suggestion
rrot: 7be52c6 | Whiteknight++ | t/src/embed/pmc.t:
Add a new test to showcase the relative brevity of using the new Parrot_api_pmc_new_call_object and Parrot_api_pmc_setup_signature
whiteknight msg brrt I added two new API routines at your request, Parrot_api_pmc_new_call_object and Parrot_api_pmc_setup_signature 01:06
aloha OK. I'll deliver the message.
whiteknight msg brrt I also added a test for these in t/src/embed/pmc.t, to show you examples of use
aloha OK. I'll deliver the message.
whiteknight good evening, cotto
Cleaning up old code, refactoring, exposing clean and usable interfaces, these are things I enjoy doing 01:11
01:16 travis-ci joined
travis-ci [travis-ci] parrot/parrot#367 (master - 7be52c6 : Whiteknight): The build was broken. 01:16
[travis-ci] Change view : github.com/parrot/parrot/compare/b......7be52c6
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/1362213
01:16 travis-ci left
whiteknight f 01:16
hmm, I wonder what is wrong with that test 01:23
ah, I found at least one problem 01:25
dalek rrot: cbc0e3a | Whiteknight++ | src/embed/pmc.c:
Fix va_args -> var_args* to make g++ happy
01:27
whiteknight what's weird is that test passes for me with clang and g++
so if travis-ci doesn't like it now, I am stumped
of course, it worked with clang before that fix too, so I don't know 01:28
it's bed time now. If it's still broken, I'll fix it in the morning 01:39
02:20 bacek_at_work joined
dalek rrot: f1a8518 | bacek++ | src/embed/pmc.c:
Fix the build
02:22
02:33 travis-ci joined
travis-ci [travis-ci] parrot/parrot#369 (master - f1a8518 : Vasily Chekalkin): The build was fixed. 02:33
[travis-ci] Change view : github.com/parrot/parrot/compare/c......f1a8518
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/1362582
02:33 travis-ci left
nbrown cotto: checkout my most recent commits to github.com/nbrown/parrot/tree/m0-debugger . I figured out a way to get command line arguments, connected it to the scripting backend, added a passing test and added a makefile target m0_c_debugger_tests 03:20
cotto: now it's time to create more tests, but I think I'll leave that for another day 03:21
cotto nbrown, awesome 03:22
I'm stoked to have a few spare moments to take that for a spin. 03:24
nbrown++
nbrown I was psyched to have a few minutes to get it working
I tested it on windows and linux, so it should work... but if it doesn't leave me a note here and I'll try to look at it 03:25
and with that, I'm headed to bed. Enjoy 03:26
cotto 'night 03:27
and thanks!
04:09 contingencyplan joined
dalek rrot: 4464e1c | petdance++ | src/pmc/hash.pmc:
Consting local vars, and marking an unused interp
04:17
rrot: bcccf4d | petdance++ | src/pmc/alarm.pmc:
consting and flagging interps UNUSED
04:32
04:58 PerlJam joined 05:13 eternaleye joined 05:23 eternaleye joined 05:30 alin joined 05:56 adu joined 05:59 alvis joined 06:05 pjcj joined 06:30 p6eval joined 06:38 fperrad joined 06:57 alvis joined 07:02 tadzik joined 07:04 brrt joined 07:44 alin joined 08:16 alin joined 08:23 lucian joined 09:09 schmooster joined 09:26 alin_ joined
brrt i have been looking for so long for this document: httpd.apache.org/docs/current/devel...guide.html 09:42
aloha: help
aloha brrt: Ask me for help about: status, insult, auth, chanop, seen, github::announce, infobot, xkcd, convert, msg, vars, karma, maths, translate, github::pullrequests, clock, loader (say 'help <modulename>').
brrt aloha: help xkcd 09:43
aloha brrt: xkcd [id|regex] - give title and link for matching comic
brrt aloha: msg whiteknight yay! also i finally found the apache documentation at httpd.apache.org/docs/current/devel...guide.html 09:44
aloha brrt: OK. I'll deliver the message.
brrt aloha: help msg 10:26
aloha brrt: msg <nick> [that] <message>
10:58 brrt left 12:27 Coke joined 12:28 bluescreen joined 12:55 PacoAir joined 13:06 Psyche^ joined 13:09 PerlJam joined 13:14 alin_ joined 13:20 alin_ joined 13:25 alin joined 13:33 alin_ joined 13:39 alin_ joined 13:49 alin_ joined 13:55 alin_ joined 13:58 alin__ joined 13:59 whiteknight joined
whiteknight good morning, #parrot 13:59
14:02 alin_ joined 14:08 alin_ joined 14:18 alin_ joined 14:23 alin joined 14:25 alin__ joined 14:30 alin joined 14:32 alin_ joined 14:33 mdupont joined 14:37 alin joined 14:38 brrt joined 14:43 alin_ joined 14:45 alin__ joined 14:48 alin joined 14:54 alin_ joined 14:58 alin joined 15:01 alin__ joined 15:05 alin joined 15:08 alin_ joined 15:13 alin joined 15:15 alin__ joined 15:20 alin joined 15:22 alin_ joined
brrt ping whiteknight 15:29
oh, not here probably 15:30
nm
15:30 alin_ joined
brrt aloha: msg whiteknight that i need to somehow override parrot io 15:31
aloha brrt: OK. I'll deliver the message.
15:34 alin joined 16:04 dmalcolm joined 16:25 adu joined 16:31 dalek joined
nine Good evening, #parrot 17:00
adu evening 17:01
17:05 contingencyplan joined 17:29 mdupont joined 17:40 crab2313 joined
dalek kudo/nom: 3b12853 | moritz++ | / (3 files):
first try to move some functionality from Rat to the Rational role. Rather naive.
18:08
kudo/nom: 7e239ac | moritz++ | / (2 files):
introduce Uint64, which we need for Rat (to distinguish it from FatRat)
kudo/nom: 6853995 | moritz++ | src/core/Rat (2 files):
make Rational a parametric role

hangs during setting compilation :(
kudo/nom: 8f76180 | kboga++ | / (4 files):
Merge branch 'Rational' into nom

Conflicts:
  \tsrc/core/Rat.pm
  \ttools/build/Makefile.in
kudo/nom: 09d755c | kboga++ | src/core/ (3 files):
Updates Rational role's methods with latest nom changes.

Changes Rational's pred & succ methods to return an object of the same type. Changes Rat's denominator type to Int. (cheat to avoid setting compilation fail) Passes the spectests locally.
kudo/nom: 45679ab | moritz++ | / (4 files):
Merge remote branch 'kboga/Rational-minus-UInt64-restriction' into nom
18:23 kjs joined 18:32 isBEKaml joined
isBEKaml ~.~ 18:33
cotto ~~ 18:35
isBEKaml cotto: hey, did you get a chance to look at my pull request after your comment?
cotto isBEKaml: I'll do that now. Today is very likely a good day for hacking. 18:41
nine test
cotto isBEKaml: that looks plausible 18:42
lack of portability is a concern
isBEKaml cotto: yeah, we could probably grab that bit of information from Config module in perl, but that would only give you the details of the _build_ machine, not the _client_ machine where it's actually used. 18:43
cotto isBEKaml: you could add code to the appropriate files in src/platform 18:44
isBEKaml cotto: that's when binaries are distributed to be installed on client machine.
cotto we definitely want the runtime platform 18:45
isBEKaml cotto: if we want runtime information, then interpinfo should be a dyncall, not a static call like whiteknight implied. Or am I misunderstanding something? 18:47
cotto: with all of this, you only get build information. 18:48
s/dyncall/dynop/ 18:49
cotto isBEKaml: the only difference between dynops and built-in ops is that you can load the dynops at runtime 18:51
they both run code at runtime
isBEKaml cotto: okay, let me see what I can come up with from src/platform... 18:52
adu what does "invoke() not implemented in class 'Capture'" mean? 19:08
cotto: how do you know what the bytecode enumerations of the dynops are going to be? 19:10
moritz adu: it means you're calling something which isn't a code object, but an object of type Capture
adu I don't think I am 19:11
pastebin.com/ZSEN2Qv4
Coke aw, pastebin is blocked at $dayjob. 19:13
adu I can repaste somewhere else
Coke no worries. 19:14
moritz adu: and a bactrace too please
adu oh
it didn't cause a backtrace
moritz adu: make PAST::Val( :value(True) ); looks suspicious. I don't think NQP has a Bool type 19:15
adu what?!?
does it have integers?
moritz it uses integers for that (0 being false)
adu ok I replaced True => 1 and it still says invoke() not implemented 19:16
moritz is that nqp code? or nqp-rx? 19:18
adu parrot-nqp
uhm, rx i guess
moritz ok
do you call it in any way? 19:19
because just running the file doesn't give an error here
adu I setup a simple lanaguage using parrot/tools/dev/mk_language_shell.pl
then edit grammar and actions
then ran: parrot setup.pir clean ; parrot setup.pir build ; parrot dreme.pbc 19:20
moritz maybe pack it up as a repo or tarball somewhere
adu ok
moritz because I can't reproduce it right now
adu ok
I'll cleanup the dir, then upload it in an hour or so 19:21
19:27 lucian joined
nine msg not_gerd Can you please run the threading related tests (timer.t most of all) on the threads_debug_output branch of git@github.com:niner/parrot.git and send me the output? Should give me some idea of what goes wrong. 19:32
aloha OK. I'll deliver the message.
nine msg whiteknight Can you please run the threading related tests (timer.t most of all) on the threads_debug_output branch of git@github.com:niner/parrot.git and send me the output? Should give me some idea of what goes wrong. 19:33
aloha OK. I'll deliver the message.
19:50 adu joined 20:11 not_gerd joined
not_gerd nine: gist.github.com/2727364 20:11
only one of the tests I ran needed to be killed manually
adu how do I add a step to compile perl6 files instead of nqp-rx? 20:12
Coke adu: add a step to what now? 20:16
adu distutils.pir
there's already a step for winxed
why is there no step for rakudo files?
20:17 kurahaupo joined 20:20 lucian joined 20:21 bluescreen joined 20:26 perlite_ joined
kjs good evening. i just sent a message to the parrot-dev mailng list but not sure if it arrived. could anybody confirm this? the subject was "a simple c subset compiler" 20:28
moritz kjs: yes, arrived
kjs great, thanks moritz. 20:29
20:30 mdupont joined
dalek kudo/strict-numification: c78c85c | moritz++ | src/core/operators.pm:
tiny sequence simplification
20:36
kudo/strict-numification: 09e678f | moritz++ | src/core/ (2 files):
switch to strict numification by default

also make non-numeric sequences a bit more robust
not_gerd msg nine test results are at gist.github.com/2727364 - only t/pmc/timer.t needed to be killed manually 20:46
aloha OK. I'll deliver the message.
20:47 not_gerd left
benabik msg adu I think you want PAST::Val.new( :value(1) ). 22:20
aloha OK. I'll deliver the message.
adu benabik: I tried that
and I still get "invoke() not implemented in class 'Capture'" 22:21
benabik From what I saw earlier you said PAST::Val( :value(1) ). You need a .new in there.
adu oh
I didn't see that 22:22
thanks
benabik: ok thanks! 22:30
22:30 bluescreen joined
adu it doesn't give that error anymore, but it also doesn't print the value 22:30
I don't have any "say" operator yet, maybe I should add one 22:31
now I'm getting Could not find sub builtin_say 22:46
23:37 whiteknight joined 23:59 whiteknight joined
whiteknight good evening, #parrot 23:59