Perl 6 - the future is here, just unevenly distributed

IRC log for #parrotsketch, 2011-07-15

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

All times shown according to UTC.

Time Nick Message
00:39 lucian left #parrotsketch
00:40 darbelo left #parrotsketch
03:37 bluescreen left #parrotsketch
08:53 contingencyplan left #parrotsketch
09:22 particle1 joined #parrotsketch
09:26 particle left #parrotsketch
12:20 bluescreen joined #parrotsketch
13:40 Coke left #parrotsketch
13:40 Coke joined #parrotsketch
14:00 darbelo joined #parrotsketch
14:07 darbelo left #parrotsketch
14:09 lucian joined #parrotsketch
14:09 darbelo joined #parrotsketch
14:19 Coke left #parrotsketch
14:19 Coke joined #parrotsketch
14:29 zloyrusskiy joined #parrotsketch
14:32 zloyrusskiy left #parrotsketch
14:40 darbelo_ joined #parrotsketch
14:40 darbelo left #parrotsketch
14:41 darbelo joined #parrotsketch
14:41 darbelo_ left #parrotsketch
14:46 darbelo left #parrotsketch
14:46 darbelo joined #parrotsketch
14:47 PacoLinux joined #parrotsketch
14:50 PacoLinux left #parrotsketch
15:05 lucian left #parrotsketch
15:15 contingencyplan joined #parrotsketch
15:30 darbelo_ joined #parrotsketch
15:35 darbelo left #parrotsketch
15:46 darbelo_ left #parrotsketch
15:51 bluescreen left #parrotsketch
15:58 bluescreen joined #parrotsketch
16:13 whiteknight joined #parrotsketch
16:13 benabik joined #parrotsketch
16:16 darbelo joined #parrotsketch
16:25 whiteknight you there?
16:25 benabik nobody here but us chickens.
16:25 Felipe :)
16:26 whiteknight benabik: awesome. I don't know if you saw my email earlier. You got graded. PASS
16:26 whiteknight so, money in the bank, and now we can expect more work out of you!
16:26 benabik Saw it just as I started talking on IRC.  :-)
16:27 benabik I'd probably keep working even without a PASS, although delays would occur with the whole "needing money to eat" bit.
16:27 whiteknight I quickly looked through your commits list in prep for the evaluation. It's looking pretty good
16:27 benabik I'm pretty sure the core bits of PAST is working well.  Less sure about the less-tested bits pmichaud added.
16:28 whiteknight I haven't really looked at the code in a while and haven't tried to build it recently either. I will try when I get home. What should I expect?
16:29 benabik At the moment, the nqp_pct branch should function 100% like master.  It has some framework for direct PBC compilation, but I'm just starting to hook it all up.
16:29 benabik the nqp_pct branch in my fork has it wired up to a couple of tests and it's showing some issues.
16:29 whiteknight your fork is ahead of the branch in the parrot repo?
16:30 benabik I need to diagnose the test I've wired up and see why it's attempting to compile strings instead of PCT nodes...
16:30 benabik Yes.  Because of the HEAD commit: "Test PBC stage - horribly broken"
16:30 whiteknight oh yes, stands out like a red herring
16:31 benabik While keeping branches 100% working isn't required, I like it at least somewhat working.
16:31 benabik Although "horribly broken" really just refers to the tests.
16:31 benabik test.
16:32 Coke wrong window?
16:32 benabik Coke: We're over here so it's logged but not taking up everyone else's conversation.  (I think.)
16:36 whiteknight yeah, that was my motivation
16:36 whiteknight be logged, but be elsewhere
16:37 whiteknight benabik: okay, so the new POST is working exactly the same as master for producing PIR, and you're still wiring up the pbc-generation capabilities for it?
16:37 benabik Yes.  PAST->POST->PIR should be 100%
16:38 whiteknight awesome, that's the number we like to see
16:38 benabik And I've wired together PAST->POST->PBC, but it's erroring out in odd places.
16:38 benabik https://github.com/Benabik/parrot/commit/afc6b4381a87549630d05c5a790dcfd3b81851ce
16:38 benabik ^^ That commit should be the needed infrastructure to output PBC, but as the "horribly broken" commit that follows states, it's not working.
16:40 whiteknight okay.
16:40 whiteknight do you have a handle on the failure? That is, do you know what you need to do to fix it?
16:42 benabik I know where it is, but am not sure why it's happening.  I think I need to wire up a simple HLL like Squaak so I can poke it more directly.  Tests are great for automation but LTA for exploration.
16:42 whiteknight Can you jam in some debugging print statements, and spit out values around where the bug is happening?
16:44 benabik Yes.  And, actually, the test leaves the PIR behind so I can explore it directly instead of recompiling everything.
16:44 * benabik is poking it with a stick right now.
16:44 whiteknight okay. Last question from me: Is there anything you need help with, any external support you need? Anything need to change in Parrot or elsewhere outside the scope of your work to support what you are doing?
16:47 benabik There's nothing that's a total blocker right now, although there are some notes in the code I'm working with that I don't know are up to date.
16:47 whiteknight okay.
16:47 benabik It says "Currently there is no way in Parrot to generate Packfile and attach it to Interp via existing API".  IIRC, you were working/are going to work on that.
16:47 whiteknight It doesn't need to be attached to the interp now, I don't think
16:48 whiteknight I'll have to look back at that. plobsing may have some insight as well
16:48 benabik Right now it writes the packfile out to /tmp/temp.pbc and uses load_bytecode.
16:48 benabik Which is LTA, but I don't know of a better way.
16:48 whiteknight oh, so you need some kind of API to take a bytecode stream in something like a STRING literal, and pump that into a packfile?
16:49 whiteknight er, Packfile PMC?
16:50 benabik I have a Packfile PMC.
16:50 benabik I need a way to run the bytecode in it.
16:51 benabik Right now it writes it out to a temp file, uses load_bytecode and find_sub_not_null to get the main sub.
16:52 benabik (This technique is stolen from bacek's PIRate work so has no knowledge of anything done recently.)
16:53 whiteknight Packfile, or PackfileView?
16:53 whiteknight We can probably add a method to Packfile to get a PackfileView. That is what IMCC returns, and you can query subs from it
16:54 benabik And those subs can be run directly?  That would simplify matters.
16:54 whiteknight yes
16:55 whiteknight There is a .main_sub() method that returns the main sub, an .all_subs() method to get an array of all subs, and a few other related methods
16:55 whiteknight and the interface there is going to improve a little bit more after the 3.6.0 release too
16:55 benabik Yes, that would de-ugly a lot of the pbc HLLCompiler stage.  It currently uses a static temp file and returns a closure that handles loading and searching for the main sub.
16:56 benabik If I could just do (the moral equiv of) return PackfileView.new(packfile).main_sub(), that would be excellent.
16:57 whiteknight probably be sub = packfile.view.main_sub()
16:57 * benabik hand-waves
16:57 benabik Technically, it would all be PIR b/c I don't want to spend time re-writing another class instead of getting generation working correctly.
16:58 benabik However it's spelled, it sounds more awesome than now.
17:00 benabik I might even be able to remove some main sub tracking code out of POST::Compiler.  Hm.
17:04 whiteknight I'll hack that method up in the whiteknight/pbc_pbc branch. I'm going to get that branch cleaned up and probably merge shortly after 3.6.0 is out
17:04 whiteknight if you can wait that long
17:04 benabik Since PBC generation isn't working correctly yet, I'd say there's no rush.  :-)
17:05 whiteknight yay! I like not being rushed
17:06 whiteknight Okay, if bacek doesn't show up, let's plan on another meeting late next week. We can work out the details as we get closer
17:06 whiteknight and keep up with the blogging too, it's always very interesting
17:08 benabik Sounds like a plan.
17:08 benabik I feel like I've talked to bacek about once a week, but it might be closer to every other, so late next week is a good idea.
17:08 * benabik 's concept of time doesn't always match reality.
17:14 whiteknight okay. I know he's been busy, so I don't want to you to be without proper mentoring. We can always chat between now and then too, of course
17:15 benabik Everyone on #parrot has been helpful.  :-)
17:20 lucian joined #parrotsketch
17:23 benabik And my wife is agitating for me to get going, so unless there's anything else...?
17:33 whiteknight nope. Have fun
17:44 benabik left #parrotsketch
18:00 Coke left #parrotsketch
18:00 Coke joined #parrotsketch
18:36 darbelo left #parrotsketch
18:37 darbelo joined #parrotsketch
18:58 whiteknight left #parrotsketch
21:15 bluescreen left #parrotsketch
21:37 darbelo left #parrotsketch
21:39 lucian left #parrotsketch
22:04 contingencyplan left #parrotsketch

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