Camelia, the Perl 6 bug

IRC log for #parrot, 2012-05-18

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 whiteknight ...I'm not sure what reference to use for our non-american contributors
00:44 benabik joined #parrot
00:48 cotto ~~
01:05 dalek parrot: 0ebe739 | Whiteknight++ | / (7 files):
01:05 dalek parrot: 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 dalek parrot: review: https://github.com/parrot/parrot/commit/0ebe739020
01:05 dalek parrot: d2853b9 | Whiteknight++ | / (3 files):
01:05 dalek parrot: 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
01:05 dalek parrot: review: https://github.com/parrot/parrot/commit/d2853b9b50
01:05 dalek parrot: 7be52c6 | Whiteknight++ | t/src/embed/pmc.t:
01:05 dalek parrot: 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
01:05 dalek parrot: review: https://github.com/parrot/parrot/commit/7be52c6ad1
01:06 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.
01:06 whiteknight msg brrt I also added a test for these in t/src/embed/pmc.t, to show you examples of use
01:06 aloha OK. I'll deliver the message.
01:06 whiteknight good evening, cotto
01:11 whiteknight Cleaning up old code, refactoring, exposing clean and usable interfaces, these are things I enjoy doing
01:16 travis-ci joined #parrot
01:16 travis-ci [travis-ci] parrot/parrot#367 (master - 7be52c6 : Whiteknight): The build was broken.
01:16 travis-ci [travis-ci] Change view : https://github.com/parrot/par​rot/compare/b6bf583...7be52c6
01:16 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/1362213
01:16 travis-ci left #parrot
01:16 whiteknight f
01:23 whiteknight hmm, I wonder what is wrong with that test
01:25 whiteknight ah, I found at least one problem
01:27 dalek parrot: cbc0e3a | Whiteknight++ | src/embed/pmc.c:
01:27 dalek parrot: Fix va_args -> var_args* to make g++ happy
01:27 dalek parrot: review: https://github.com/parrot/parrot/commit/cbc0e3afb2
01:27 whiteknight what's weird is that test passes for me with clang and g++
01:27 whiteknight so if travis-ci doesn't like it now, I am stumped
01:28 whiteknight of course, it worked with clang before that fix too, so I don't know
01:39 whiteknight it's bed time now. If it's still broken, I'll fix it in the morning
02:20 bacek_at_work joined #parrot
02:22 dalek parrot: f1a8518 | bacek++ | src/embed/pmc.c:
02:22 dalek parrot: Fix the build
02:22 dalek parrot: review: https://github.com/parrot/parrot/commit/f1a8518f23
02:33 travis-ci joined #parrot
02:33 travis-ci [travis-ci] parrot/parrot#369 (master - f1a8518 : Vasily Chekalkin): The build was fixed.
02:33 travis-ci [travis-ci] Change view : https://github.com/parrot/par​rot/compare/cbc0e3a...f1a8518
02:33 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/1362582
02:33 travis-ci left #parrot
03:20 nbrown cotto: checkout my most recent commits to https://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:21 nbrown cotto: now it's time to create more tests, but I think I'll leave that for another day
03:22 cotto nbrown, awesome
03:24 cotto I'm stoked to have a few spare moments to take that for a spin.
03:24 cotto nbrown++
03:24 nbrown I was psyched to have a few minutes to get it working
03:25 nbrown 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:26 nbrown and with that, I'm headed to bed. Enjoy
03:27 cotto 'night
03:27 cotto and thanks!
04:09 contingencyplan joined #parrot
04:17 dalek parrot: 4464e1c | petdance++ | src/pmc/hash.pmc:
04:17 dalek parrot: Consting local vars, and marking an unused interp
04:17 dalek parrot: review: https://github.com/parrot/parrot/commit/4464e1c9a2
04:32 dalek parrot: bcccf4d | petdance++ | src/pmc/alarm.pmc:
04:32 dalek parrot: consting and flagging interps UNUSED
04:32 dalek parrot: review: https://github.com/parrot/parrot/commit/bcccf4dfbb
04:58 PerlJam joined #parrot
05:13 eternaleye joined #parrot
05:23 eternaleye joined #parrot
05:30 alin joined #parrot
05:56 adu joined #parrot
05:59 alvis joined #parrot
06:05 pjcj joined #parrot
06:30 p6eval joined #parrot
06:38 fperrad joined #parrot
06:57 alvis joined #parrot
07:02 tadzik joined #parrot
07:04 brrt joined #parrot
07:44 alin joined #parrot
08:16 alin joined #parrot
08:23 lucian joined #parrot
09:09 schmooster joined #parrot
09:26 alin_ joined #parrot
09:42 brrt i have been looking for so long for this document: http://httpd.apache.org/docs/c​urrent/developer/modguide.html
09:42 brrt aloha: help
09:42 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>').
09:43 brrt aloha: help xkcd
09:43 aloha brrt: xkcd [id|regex] - give title and link for matching comic
09:44 brrt aloha: msg whiteknight yay! also i finally found the apache documentation at http://httpd.apache.org/docs/c​urrent/developer/modguide.html
09:44 aloha brrt: OK. I'll deliver the message.
10:26 brrt aloha: help msg
10:26 aloha brrt: msg <nick> [that] <message>
10:58 brrt left #parrot
12:27 Coke joined #parrot
12:28 bluescreen joined #parrot
12:55 PacoAir joined #parrot
13:06 Psyche^ joined #parrot
13:09 PerlJam joined #parrot
13:14 alin_ joined #parrot
13:20 alin_ joined #parrot
13:25 alin joined #parrot
13:33 alin_ joined #parrot
13:39 alin_ joined #parrot
13:49 alin_ joined #parrot
13:55 alin_ joined #parrot
13:58 alin__ joined #parrot
13:59 whiteknight joined #parrot
13:59 whiteknight good morning, #parrot
14:02 alin_ joined #parrot
14:08 alin_ joined #parrot
14:18 alin_ joined #parrot
14:23 alin joined #parrot
14:25 alin__ joined #parrot
14:30 alin joined #parrot
14:32 alin_ joined #parrot
14:33 mdupont joined #parrot
14:37 alin joined #parrot
14:38 brrt joined #parrot
14:43 alin_ joined #parrot
14:45 alin__ joined #parrot
14:48 alin joined #parrot
14:54 alin_ joined #parrot
14:58 alin joined #parrot
15:01 alin__ joined #parrot
15:05 alin joined #parrot
15:08 alin_ joined #parrot
15:13 alin joined #parrot
15:15 alin__ joined #parrot
15:20 alin joined #parrot
15:22 alin_ joined #parrot
15:29 brrt ping whiteknight
15:30 brrt oh, not here probably
15:30 brrt nm
15:30 alin_ joined #parrot
15:31 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 #parrot
16:04 dmalcolm joined #parrot
16:25 adu joined #parrot
16:31 dalek joined #parrot
17:00 nine Good evening, #parrot
17:01 adu evening
17:05 contingencyplan joined #parrot
17:29 mdupont joined #parrot
17:40 crab2313 joined #parrot
18:08 dalek rakudo/nom: 3b12853 | moritz++ | / (3 files):
18:08 dalek rakudo/nom: first try to move some functionality from Rat to the Rational role. Rather naive.
18:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/3b1285367d
18:08 dalek rakudo/nom: 7e239ac | moritz++ | / (2 files):
18:08 dalek rakudo/nom: introduce Uint64, which we need for Rat (to distinguish it from FatRat)
18:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/7e239ac0fe
18:08 dalek rakudo/nom: 6853995 | moritz++ | src/core/Rat (2 files):
18:08 dalek rakudo/nom: make Rational a parametric role
18:08 dalek rakudo/nom:
18:08 dalek rakudo/nom: hangs during setting compilation :(
18:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/6853995e40
18:08 dalek rakudo/nom: 8f76180 | kboga++ | / (4 files):
18:08 dalek rakudo/nom: Merge branch 'Rational' into nom
18:08 dalek rakudo/nom:
18:08 dalek rakudo/nom: Conflicts:
18:08 dalek rakudo/nom: src/core/Rat.pm
18:08 dalek rakudo/nom: tools/build/Makefile.in
18:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8f76180942
18:08 dalek rakudo/nom: 09d755c | kboga++ | src/core/ (3 files):
18:08 dalek rakudo/nom: Updates Rational role's methods with latest nom changes.
18:08 dalek rakudo/nom: Changes Rational's Str method's signature to ::?CLASS:D: to avoid ambiguous dispatches with Real's Str method.
18:08 dalek rakudo/nom: Changes Rational's pred & succ methods to return an object of the same type.
18:08 dalek rakudo/nom: Changes Rat's denominator type to Int. (cheat to avoid setting compilation fail)
18:08 dalek rakudo/nom: Passes the spectests locally.
18:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/09d755cbe1
18:08 dalek rakudo/nom: 45679ab | moritz++ | / (4 files):
18:08 dalek rakudo/nom: Merge remote branch 'kboga/Rational-minus-UInt64-restriction' into nom
18:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/45679ab2d6
18:23 kjs joined #parrot
18:32 isBEKaml joined #parrot
18:33 isBEKaml ~.~
18:35 cotto ~~
18:35 isBEKaml cotto: hey, did you get a chance to look at my pull request after your comment?
18:41 cotto isBEKaml: I'll do that now.  Today is very likely a good day for hacking.
18:41 * nine test
18:42 cotto isBEKaml: that looks plausible
18:42 cotto lack of portability is a concern
18:43 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:44 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.
18:45 cotto we definitely want the runtime platform
18:47 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:48 isBEKaml cotto: with all of this, you only get build information.
18:49 isBEKaml s/dyncall/dynop/
18:51 cotto isBEKaml: the only difference between dynops and built-in ops is that you can load the dynops at runtime
18:51 cotto they both run code at runtime
18:52 isBEKaml cotto: okay, let me see what I can come up with from src/platform...
19:08 adu what does "invoke() not implemented in class 'Capture'" mean?
19:10 adu 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
19:11 adu I don't think I am
19:11 adu http://pastebin.com/ZSEN2Qv4
19:13 Coke aw, pastebin is blocked at $dayjob.
19:13 adu I can repaste somewhere else
19:14 Coke no worries.
19:14 moritz adu: and a bactrace too please
19:14 adu oh
19:14 adu it didn't cause a backtrace
19:15 moritz adu: make PAST::Val( :value(True) ); looks suspicious. I don't think NQP has a Bool type
19:15 adu what?!?
19:15 adu does it have integers?
19:15 moritz it uses integers for that (0 being false)
19:16 adu ok I replaced True => 1 and it still says invoke() not implemented
19:18 moritz is that nqp code? or nqp-rx?
19:18 adu parrot-nqp
19:18 adu uhm, rx i guess
19:18 moritz ok
19:19 moritz do you call it in any way?
19:19 moritz because just running the file doesn't give an error here
19:19 adu I setup a simple lanaguage using parrot/tools/dev/mk_language_shell.pl
19:19 adu then edit grammar and actions
19:20 adu 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
19:20 adu ok
19:20 moritz because I can't reproduce it right now
19:20 adu ok
19:21 adu I'll cleanup the dir, then upload it in an hour or so
19:27 lucian joined #parrot
19:32 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.
19:33 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 #parrot
20:11 not_gerd joined #parrot
20:11 not_gerd nine: https://gist.github.com/2727364
20:11 not_gerd only one of the tests I ran needed to be killed manually
20:12 adu how do I add a step to compile perl6 files instead of nqp-rx?
20:16 Coke adu: add a step to what now?
20:16 adu distutils.pir
20:16 adu there's already a step for winxed
20:16 adu why is there no step for rakudo files?
20:17 kurahaupo joined #parrot
20:20 lucian joined #parrot
20:21 bluescreen joined #parrot
20:26 perlite_ joined #parrot
20:28 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
20:29 kjs great, thanks moritz.
20:30 mdupont joined #parrot
20:36 dalek rakudo/strict-numification: c78c85c | moritz++ | src/core/operators.pm:
20:36 dalek rakudo/strict-numification: tiny sequence simplification
20:36 dalek rakudo/strict-numification: review: https://github.com/rakudo/rakudo/commit/c78c85cb15
20:36 dalek rakudo/strict-numification: 09e678f | moritz++ | src/core/ (2 files):
20:36 dalek rakudo/strict-numification: switch to strict numification by default
20:36 dalek rakudo/strict-numification:
20:37 dalek rakudo/strict-numification: also make non-numeric sequences a bit more robust
20:37 dalek rakudo/strict-numification: review: https://github.com/rakudo/rakudo/commit/09e678f678
20:46 not_gerd msg nine test results are at https://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 #parrot
22:20 benabik msg adu I think you want PAST::Val.new( :value(1) ).
22:20 aloha OK. I'll deliver the message.
22:20 adu benabik: I tried that
22:21 adu 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.
22:21 adu oh
22:22 adu I didn't see that
22:22 adu thanks
22:30 adu benabik: ok thanks!
22:30 bluescreen joined #parrot
22:30 adu it doesn't give that error anymore, but it also doesn't print the value
22:31 adu I don't have any "say" operator yet, maybe I should add one
22:46 adu now I'm getting Could not find sub builtin_say
23:37 whiteknight joined #parrot
23:59 whiteknight joined #parrot
23:59 whiteknight good evening, #parrot

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced