Camelia, the Perl 6 bug

IRC log for #parrot, 2010-06-19

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 ash_ joined #parrot
00:01 whiteknight purl link is <reply>I think Link is a pretty cool guy. eh kills Ganon and doesnt afraid of anything
00:01 purl OK, whiteknight.
00:04 cotto_work link?
00:04 purl I think Link is a pretty cool guy. eh kills Ganon and doesnt afraid of anything
00:12 bacek aloha, humans
00:12 cotto_work HELO BACEK
00:12 bacek ELHO cotto_work
00:13 bacek seen pmichaud
00:13 purl pmichaud was last seen on #parrot 2 hours, 48 minutes and 15 seconds ago, saying: afk for a bit -- brb
00:13 bacek msg pmichaud What is "the best way" of implementing pir's ".include" in nqp?
00:13 purl Message for pmichaud stored.
00:13 whiteknight good morning bacek
00:14 bacek good localtime(), whiteknight
00:14 bacek Any luck with gc_massacre pdd update?
00:15 whiteknight bacek: I was working on it and got sidetracked
00:15 bacek whiteknight, slacker! :)
00:15 Themeruta joined #parrot
00:17 tetragon joined #parrot
00:17 whiteknight bacek: I will work on it now
00:17 bacek whiteknight, ok :)
00:18 whiteknight bacek: I'm probably going to need input from you. You know more about the current architecture than I do
00:18 bacek whiteknight, it's almost same as on wiki
00:19 chromatic I'm still confused why sweep-free won't work.
00:20 snarkyboojum joined #parrot
00:21 chromatic At some point we do have to do a full collection, but we should be able to get by with smaller collections.
00:24 bacek chromatic, we need GenGC for it.
00:25 chromatic Why?
00:27 chromatic I can (eventually) write some pseudocode if that helps.
00:28 bacek List-manipulation adds a lot of overhead.
00:28 bacek afaiu
00:28 chromatic Suppose we use a bitmap instead.
00:29 bacek and after marking objects we have to sweep dead and paint live
00:29 bacek which is iteration over all allocated objects.
00:30 chromatic We don't though, that's my point.
00:30 chromatic Sweep-free can work like copying *even if we don't copy*.
00:32 dalek parrot: r47692 | NotFound++ | trunk/t/pmc/arrayiterator.t:
00:32 dalek parrot: more shift out of bounds tests
00:32 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47692/
00:33 bacek "copying" implies iteration over whole set.
00:33 chromatic It doesn't have to.
00:33 chromatic All we need is a mechanism to identify live objects in such a way that we don't have to iterate over all objects *themselves* to find dead ones.
00:34 chromatic Imagine we have 100 objects allocated.
00:34 chromatic We have a bitmap with 100 slots.
00:34 chromatic We mark all live objects by lighting up their slots in the bitmap.
00:34 chromatic We have to iterate the *bitmap* to find dead objects, but we don't have to iterate all of the memory space.
00:36 chromatic In one sense, that's iterating the whole set, but it's a lot friendlier to cache lines.
00:39 bacek Agreed. But.
00:39 purl agreed. but is there something easier?
00:39 bacek Linked list implementation is much simpler to turn into incremental version.
00:39 bacek and generational version.
00:39 bacek And with generational version we will win much more speed.
00:40 bacek Especially because live/dead rate is something like 1/100.
00:40 bacek (For young generation)
00:40 chromatic Probably true.
00:40 bacek it is true...
00:41 chromatic How do we get from where we are into incremental/generational?
00:42 bacek For generational - "VTABLE override" as per http://research.microsoft.com/en-us/um/p​eople/simonpj/papers/non-stop/index.htm
00:43 bacek But we still need more sane triggering of GC than number of allocated objects...
00:43 chromatic How would we trigger it?
00:44 bacek Something like jvm hotspot's policy of allocated and used memory?
00:44 bacek We now can cap used memory to any arbitrary size
00:45 chromatic We get rid of arenas?
00:45 chromatic A pool contains lists of objects of the same size?
00:46 bacek yes
00:47 chromatic Allocating a new object means a pointer bump in the free heap, unless there's already an object of the right size on the free list for a pool?
00:48 bacek s/of the right size/
00:48 bacek s/of the right size//
00:49 chromatic Allocating a new object means a pointer bump in the free heap, unless there's already an object on the free list of the appropriate pool?
00:49 bacek correct
00:49 chromatic I'm down.
00:49 bacek ?
00:50 bacek It's same pool as PMC_Allocator.
00:50 bacek But we track all allocated objects inside GC.
00:50 chromatic I like the idea.
00:50 chromatic That makes allocations much cheaper.
00:51 bacek It is how it's implemented
00:51 bacek already
00:52 chromatic That means we can run the GC when we run out of space in the allocated free heap.
00:52 bacek it how current GC works. Almost.
00:54 chromatic What do we need to change now?
00:55 bacek In gc_massacre?
00:55 chromatic Yes.
00:56 JimmyZ joined #parrot
00:56 bacek gc_ms2.c, line 641
00:56 bacek line 754
00:58 bacek http://java.sun.com/j2se/1.5.0/d​ocs/guide/vm/gc-ergonomics.html
00:59 tcurtis joined #parrot
01:01 dalek plparrot: 3c8bbed | dukeleto++ | html/ (4 files):
01:01 dalek plparrot: Make a better stub website, still needs docs
01:01 dalek plparrot: review: http://github.com/leto/plparrot/commit/3​c8bbedb8589df865e6e3ae9ace430d108261ee3
01:02 bacek afk - bbl
01:05 dalek parrot: r47693 | NotFound++ | trunk/src/pmc/arrayiterator.pmc:
01:05 dalek parrot: some cleanup in ArrayIterator, no functional changes
01:05 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47693/
01:11 TiMBuS joined #parrot
01:24 dalek plparrot: cfe1bd3 | dukeleto++ | html/community.html:
01:24 dalek plparrot: Add a link to the github repo on the website
01:24 dalek plparrot: review: http://github.com/leto/plparrot/commit/c​fe1bd3856fc316f33a2cdf44521ddb34589af0a
01:27 dalek pir: e0d37e1 | bacek++ |  (2 files):
01:27 dalek pir: Handle .local declarations
01:27 dalek pir: review: http://github.com/bacek/pir/commit/e0d​37e142503f89b6a98eafe11718baa1846b66d
01:27 dalek pir: 09aa2c7 | bacek++ |  (2 files):
01:27 dalek pir: Handle redeclaration of variables
01:27 dalek pir: review: http://github.com/bacek/pir/commit/09a​a2c7d79e4445a774cee0385b0447187b34e1b
01:27 dalek pir: e58e7c6 | bacek++ |  (4 files):
01:27 dalek pir: Handle .const declarations
01:27 dalek pir: review: http://github.com/bacek/pir/commit/e58​e7c6f3a4b12020ce9475fcb61e9a12c845f46
01:27 dalek pir: f6637c4 | bacek++ | src/PIR/ (2 files):
01:27 dalek pir: Handle more constants. Fix creating numbered registers
01:27 dalek pir: review: http://github.com/bacek/pir/commit/f66​37c4fb5dda96451ff689e7f4b255111d48531
01:48 eternaleye joined #parrot
01:54 whiteknight bacek: ping
01:54 dalek parrot: r47694 | whiteknight++ | branches/gc_massacre/docs/pdds/pdd09_gc.pod:
01:54 dalek parrot: [gc] Begin updating PDD09 for some of the recent changes we've made to that subsystem. Try and turn this document from less of a tutorial into more of a design document. Try to be more core-agnostic, don't assume that the only core we have is a tricolor MS. In fact, don't presume that we even have that.
01:54 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47694/
01:54 dalek parrot: r47695 | tcurtis++ | branches/gsoc_past_optimization (5 files):
01:54 dalek parrot: Tests for :global, :p, and :pos args to PAST::Node.match. Rewrite its implementation in NQP to be trivial.
01:54 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47695/
02:04 whiteknight purl msg bacek I think we can change allocate_pmc_header to take a size argument for the PMC attributes structure. We can save an indirect call to allocate_pmc_attributes, and maybe allocate the two together from the fixed-size pool for cache friendlyness.
02:04 purl Message for bacek stored.
02:05 whiteknight and now off to sleep. That's where I'm a viking
02:06 chromatic I like that idea.
02:07 NotFound_b I think morphing chokes with it.
02:08 NotFound_b With the last part.
02:08 dukeleto This is good motivation for GPG-signing and sha1sums: http://seclists.org/fulldisclosure/2010/Jun/277
02:10 chromatic Hm, morphing does.
02:11 dalek parrot: r47696 | whiteknight++ | branches/gc_massacre/docs/pdds/pdd09_gc.pod:
02:11 dalek parrot: [gc] more rework on PDD09. Specifically, try to include some docs about the new GC_Subsystem structure. Some function pointers I don't quite understand yet, so I left docs for those blank
02:11 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47696/
02:11 dalek parrot: r47697 | NotFound++ | trunk/src/pmc/resizablepmcarray.pmc:
02:11 dalek parrot: refactor RPA shift and unshift operations to extract common parts, no functional changes
02:11 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47697/
02:11 dalek parrot: r47698 | tcurtis++ | branches/gsoc_past_optimization/docs/pct/pattern (5 files):
02:11 dalek parrot: Please codetest. Also fix a copy-paste fail in past_pattern_constant.pod.
02:11 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47698/
02:11 chromatic Unless 1) we go from larger to smaller or equal (unlikely) or 2) in that case, we allocate new storage of the right size and set a flag to say "Free the allocated memory"
02:13 NotFound_b A bit complex, but doable.
02:14 chromatic Morph is rare enough that we still win.  auto_attrs memory management is 3-5% of runtime.
02:14 chromatic Usually closer to 3%.
02:15 NotFound_b Ah, yes, the flag must be set for manual_attrs
02:25 plobsing joined #parrot
02:25 atrodo joined #parrot
03:07 janus joined #parrot
03:17 cotto dukeleto, that's what made me think about it.
03:38 atrodo joined #parrot
03:42 atrodo joined #parrot
03:44 atrodo joined #parrot
03:46 atrodo joined #parrot
04:08 atrodo joined #parrot
04:09 atrodo_ joined #parrot
04:24 atrodo joined #parrot
04:30 atrodo joined #parrot
04:54 kthakore atrodo: fix your irc man
04:54 kthakore ./win 6
04:56 dalek parrot: r47699 | tcurtis++ | branches/gsoc_past_optimization (6 files):
04:56 dalek parrot: Add PAST::Pattern::Any.
04:56 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47699/
04:58 kthakore tcurtis: are you at YAPC ?
05:06 cotto kthakore, fix your win man ;)
05:12 tcurtis kthakore: No.
05:45 hercynium joined #parrot
05:49 eternaleye joined #parrot
06:00 TonyC joined #parrot
06:23 cotto bacek, ping
06:40 cotto msg bacek It looks like src/POST/Value.pm is missing from PIRATE
06:40 purl Message for bacek stored.
06:54 bacek cotto, thanks!
06:58 cotto np
06:58 cotto builds now
06:58 cotto bacek++
07:00 dalek pir: 73394f8 | bacek++ | src/POST/Value.pm:
07:00 dalek pir: Added POST::Value. cotto++ for reminder.
07:00 dalek pir: review: http://github.com/bacek/pir/commit/733​94f8047074b357d6ea3ea9f0443eb75e6a842
07:04 fperrad joined #parrot
07:36 janus joined #parrot
08:15 dalek pir: fd422aa | bacek++ | src/POST/Compiler.pm:
08:15 dalek pir: Refactor POST::Compiler to support POST::Value.to_pbc
08:15 dalek pir: review: http://github.com/bacek/pir/commit/fd4​22aa43b70c538dbcd4faec78d4678b53c2871
08:47 jsut joined #parrot
08:47 cotto bacek, should I be able to run t/01-parse/01-subs.t with parrot-nqp?  It's a bit explodey atm.
08:47 bacek cotto, let me check
08:48 bacek 1..7
08:48 bacek All test successful
08:48 * purl duct tapes sawn off shotgun to foot
08:48 cotto no local changes?
08:49 cotto maybe I need a newer nqp
08:49 bacek cotto, not it this files
08:49 bacek nopaste with errors?
08:49 cotto sure
08:52 nopaste "cotto" at 192.168.1.3 pasted "PIRATE is SAD" (39 lines) at http://nopaste.snit.ch/21384
08:53 bacek cotto, erm...
08:54 bacek cotto, which version of parrot?
08:54 cotto wfm with a more recent parrot
08:55 bacek error message is totally misleading...
08:55 cotto nice.  all tests run by setup.pir test pass now
08:55 dalek pir: e48b10f | bacek++ | src/P (2 files):
08:55 dalek pir: Small cleanups
08:55 dalek pir: review: http://github.com/bacek/pir/commit/e48​b10f2a2907ea89d3d78b99373e96f41df2a0b
08:56 bacek cotto, it's kind of expected :)
08:56 cotto Yeah.  It should be something more like "Hey stupid, your installed Parrot is way too old."
08:57 cotto or perhaps the Rude English translation thereof
08:57 bacek make_hello_pbc.pir is broken in trunk.
08:58 bacek ~/src/parrot (master)$ ./parrot examples/pir/make_hello_pbc.pir
08:58 bacek Could not find sub hello
08:58 bacek same error in PIRATE...
09:00 cotto on another topic, do you have any thoughts on GPG signed release tarballs?
09:01 bacek we should sign them.
09:01 bacek Or at least provide sha1 sum of tgz files.
09:02 cotto a better-than-md5 checksum is a bare minimum
09:02 dalek parrot: r47700 | bacek++ | trunk/examples/pir/make_hello_pbc.pir:
09:02 dalek parrot: Change fixup type in make_hello_pbc example.
09:02 purl dalek: that doesn't look right
09:02 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47700/
09:02 cotto purl doesn't look right
09:02 purl cotto: sorry...
09:02 bacek I prefer debian way - sign "Packages" file which contains hashsums of files.
09:03 bacek Especially if we are going to ship external packages (PLA, etc)
09:06 cotto That sounds like a good idea, though I should have been asleep an hour or two ago.
09:06 dalek pir: 8ee6076 | bacek++ | t/ (2 files):
09:06 dalek pir: Move test post helper functions into t/post.nqp
09:06 dalek pir: review: http://github.com/bacek/pir/commit/8ee​60763809901a54832497cd7b88a9c41b233ca
09:08 bacek cotto, go to bed than!
09:08 cotto That also sounds like a good idea.
09:09 cotto I'll get a bisect started on make_hello_world and let that run while I sleeeeeeep
09:13 cotto svn--
09:13 cotto sleep++
09:13 cotto 'night
09:50 NotFound What's the reason for that change in fixup number? If we stop using a fixup type we can just stop using it, no need to renumber others.
09:51 dalek parrot: r47701 | NotFound++ | trunk/t/pmc/stringhandle.t:
09:51 dalek parrot: more StringHandle tests
09:51 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47701/
09:53 NotFound Well, I suppose is too late to undo that change.
09:53 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#34491), fulltest) at r47700 - Ubuntu 10.04 amd64 (g++)
09:54 bacek NotFound, are you talking about make_hello_pbc?
09:55 NotFound bacek: yes, but referring to the pbc change that caused it.
09:56 bacek NotFound, I'm not sure when and why it was changed...
09:56 NotFound bacek: PBC_COMPAT 6.20
09:57 bacek I prefer to remove unused code.
09:58 bacek So I agree with removal of fixup_label.
09:58 bacek But I'm totally disagree with implicit enum values.
09:58 bacek If enums are explicitly numbered it's much easy to keep backward compatibility.
10:00 NotFound bacek: remove unused code, yes. Change PBC compat to gain nothing, fully disagree.
10:00 NotFound '1' is not magical in any sense.
10:01 bacek "explicit enum numbering"
10:01 NotFound If we have just one type, having it labeled '2' doesn't harm anyone.
10:01 bacek If enum_fixup_sub had explicit value before removal of fixup_label PBC_COMPAT will be intact.
10:02 bacek It's too late to change it back.
10:02 bacek But we can set it to 1 now
10:02 bacek I would like to see augment to coding standard which will ban implicit enum values.
10:02 NotFound bacek: the way to write the enum is an implementation detail. Surely it can send a signal to some people, but others just change it without a second look.
10:03 bacek I'm slightly disagree.
10:04 bacek If we had enum { fixup_none = 0; fixup_label = 1; fixup_sub = 2 } than fixup_label can be just removed
10:04 NotFound bacek: I can scan the repository for examples, but is a boring task.
10:04 bacek (And statement in coding standard "You don't renumber enums. Nevar")
10:05 bacek It should be codetest task.
10:05 NotFound bacek: I don't disagree with that proposal, just think is not enough.
10:06 bacek Of course it's not...
10:06 NotFound In fact, I'm going to do it.
10:07 bacek NotFound++ # make parrot better step-by-step
10:09 mikehh bacek: pir/pirate tests ok
10:09 bacek mikehh, there is just not enough tests :)
10:10 * mikehh looks to add some tests
10:11 mikehh actually there are still tests to add all over the place :-}
10:11 bacek mikehh, I think many tests from t/compilers/imcc/syn/ can be easily copied across
10:12 NotFound mikehh: look at my recent changes. Most of it are adding tests.
10:14 NotFound We still can easily break lots of things without failing a single test. That's bad.
10:20 bacek NotFound, indeed... And TapTinder's coverage is really helpful.
10:20 NotFound Yeah
10:20 bacek Speaking of which...
10:20 purl Speaking of which... is there a date set yet?
10:20 dalek pir: 0885bcc | bacek++ |  (3 files):
10:20 dalek pir: Add stub for POST::Call node
10:20 dalek pir: review: http://github.com/bacek/pir/commit/088​5bccd4a8d695e558199acf164345cc582e1da
10:20 dalek pir: caa4a9d | bacek++ | t/ (2 files):
10:20 dalek pir: Add first tests for PCC calls POSTing
10:20 dalek pir: review: http://github.com/bacek/pir/commit/caa​4a9d3d1c610f532ff7eaeafcbe982054e1931
10:20 dalek pir: 7fa5c0f | bacek++ | src/PIR/Actions.pm:
10:20 dalek pir: Handle simple pcc call
10:20 dalek pir: review: http://github.com/bacek/pir/commit/7fa​5c0f2774b8ef03503c45138ee2cfaa50b4a38
10:20 dalek pir: d2800d2 | bacek++ |  (2 files):
10:20 dalek pir: Handle simple params in POST::Call
10:20 dalek pir: review: http://github.com/bacek/pir/commit/d28​00d2d119f1e1e9feb659e9034d0eee99bfc2d
10:21 bacek mj41_, where is my dependant projects in TapTinder? :)
10:23 mikehh NotFound++
10:31 mikehh bacek: is there an equivalent of make clean/make realclean with PIRATE or is it just not needed?
10:31 bacek mikehh, parrot setup.pir clean
10:32 mikehh 'k - just didn't see it in the source
10:33 bacek mikehh, it's part of distutils by fperrad++
10:37 dalek pir: 9963b06 | bacek++ | TODO:
10:37 dalek pir: Add more TODO items.
10:37 dalek pir: review: http://github.com/bacek/pir/commit/996​3b06fa6ef71c85177028029b950a6c3039903
10:40 dalek parrot: r47702 | NotFound++ | trunk/include/parrot/packfile.h:
10:40 dalek parrot: use explicit numbers for enum_fixup values, put together enums for important pbc magic numbers and add some comments with the rationale
10:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47702/
10:40 dalek parrot: r47703 | NotFound++ | trunk/t/pmc/stringhandle.t:
10:40 dalek parrot: codingstd: trailing space
10:40 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47703/
10:56 dalek parrot: r47704 | NotFound++ | trunk/include/parrot/namespace.h:
10:56 dalek parrot: update headerizing
10:56 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47704/
10:57 TiMBuS joined #parrot
10:59 mikehh_ joined #parrot
11:00 NotFound VTABLE_substr seems to be used only once in the repository, and is generated code for the Object PMC. What's the point of having it?
11:01 whiteknight joined #parrot
11:01 darbelo The String PMC doesn't use it?
11:02 NotFound darbelo: The String PMC implements it.
11:02 NotFound But no one *uses* it.
11:03 darbelo Ah, I misunderstood, then. I have no idea why we would want that VTABLE, really.
11:03 NotFound And not surprisingly, it has zero coverage.
11:04 * darbelo gasps in unsurprise.
11:09 NotFound Ticketed.
11:10 NotFound purl: coverage?
11:10 purl somebody said coverage was http://cv.perl6.cz
11:10 NotFound purl: coverage is also http://tapir2.ro.vutbr.cz/cover/cover-results/
11:10 purl okay, NotFound.
11:11 NotFound purl: coverage?
11:11 purl somebody said coverage was http://cv.perl6.cz or http://tapir2.ro.vutbr.cz/cover/cover-results/
11:12 mikehh opbots, names
11:17 clinton joined #parrot
11:17 bacek msg tcurtis take a look at http://search.cpan.org/dist/Perl6-Pod/
11:17 purl Message for tcurtis stored.
11:19 dalek TT #1682 created by NotFound++: VTABLE_substr is never used
11:19 dalek TT #1682: http://trac.parrot.org/parrot/ticket/1682
11:26 whiteknight I didn't even know that there was a VTABLE_substr
11:26 whiteknight you learn something new and disappointing every day
11:29 dalek parrot: r47705 | darbelo++ | branches/gsoc_nfg (4 files):
11:29 dalek parrot: Improve iterator handling a bit more, add a support function and provisionally de-const a pointer.
11:29 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47705/
11:34 dalek pir: fdacfa9 | bacek++ |  (2 files):
11:34 dalek pir: Add validation of used registers in PCC call
11:34 dalek pir: review: http://github.com/bacek/pir/commit/fda​cfa9aa12a0ac47900f62b731b4a8256418314
11:34 dalek pir: f1e9b72 | bacek++ |  (2 files):
11:34 dalek pir: Handle returns from PCC calls in POST
11:34 dalek pir: review: http://github.com/bacek/pir/commit/f1e​9b726033f97d060af3cea62c70b1045782714
11:34 dalek pir: d089723 | bacek++ | src/POST/Value.pm:
11:34 dalek pir: Add POST::Value.flags to be used in PCC call.
11:34 dalek pir: review: http://github.com/bacek/pir/commit/d08​9723e732780cd7f1705b0f5e78ee7f99e129a
11:34 dalek pir: 8a67fa8 | bacek++ |  (2 files):
11:34 dalek pir: Handle multiple returns from PCC call
11:35 dalek pir: review: http://github.com/bacek/pir/commit/8a6​7fa84fc080ea2848f1ca4bf58cc34447d41e2
11:37 NotFound There is a VTABLE slice? I don't see it in vtables.h but there is one in the Hash PMC.
11:39 whiteknight yeah, that's a disappointment too
11:40 NotFound Parrot_ex_throw_from_c_args(interp, NULL, 1, "this is broken - see slice.pmc");  ---- See WHAT?
11:45 dalek parrot: r47706 | darbelo++ | branches/gsoc_nfg/src/string (2 files):
11:45 dalek parrot: Add some function docs and ASSERT_ARGS()
11:45 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47706/
11:46 darbelo That is from the damm stone age.
12:02 dalek parrot: r47707 | darbelo++ | failed to fetch changeset:
12:02 dalek parrot: Sync with trunk
12:02 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47707/
12:10 whiteknight deprecating and removing VTABLE_slice would be nice too
12:10 NotFound whiteknight: Deprecating something that doesn't exist? :o
12:10 whiteknight oh, did we get rid of it already?
12:10 whiteknight I can't remember
12:11 NotFound It existed only in the source of hash.pmc, but the pmc processing ignore it.
12:11 NotFound "existed", I've deleted it right now.
12:16 NotFound Better way to improve coverage: delete unused code.
12:17 mikehh whiteknight: BTW liked your blog post on locks etc.
12:18 mmcleric joined #parrot
12:19 dalek parrot: r47708 | NotFound++ | trunk/src/pmc/hash.pmc:
12:19 dalek parrot: there is no such thing as a VTABLE slice
12:19 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47708/
12:19 dalek parrot: r47709 | NotFound++ | trunk (2 files):
12:19 dalek parrot: kill unused and unuseful function key_new_pmc
12:19 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47709/
12:27 dalek pir: a69c981 | bacek++ |  (2 files):
12:27 dalek pir: Get rid of PAST nodes. Broke couple of tests
12:27 dalek pir: review: http://github.com/bacek/pir/commit/a69​c9812b9921c4f1b3c26f8d8d98023fcad6b55
12:38 dalek pir: c0ad9a5 | bacek++ | src/PIR/Actions.pm:
12:38 dalek pir: Fix type-of register in POST::Value initialization
12:38 dalek pir: review: http://github.com/bacek/pir/commit/c0a​d9a5af184ca7fbc178e5f60d2e634865af279
12:40 kthakore atrodo: hi! so you are goin the gaming in perl talk at YAPC ?
12:42 dalek TT #1683 created by NotFound++: Key clone and set_pmc are broken
12:42 dalek TT #1683: http://trac.parrot.org/parrot/ticket/1683
12:51 dalek parrot: r47710 | NotFound++ | trunk (3 files):
12:51 dalek parrot: kill unuseful function key_set_pmc and replaces its usage in key.pmc with an exception with an updated message, TT #1683
12:51 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47710/
13:02 ambs joined #parrot
13:03 dalek pir: 9763ef4 | bacek++ | t/post/call.txt:
13:03 dalek pir: Add test for PCC call by register.
13:03 dalek pir: review: http://github.com/bacek/pir/commit/976​3ef4e2bc1fbc392d8408b47db9e740a8e9bea
13:03 dalek pir: 1bd7346 | bacek++ | src/POST/Call.pm:
13:03 dalek pir: Add POST.Call.invocant
13:03 dalek pir: review: http://github.com/bacek/pir/commit/1bd​734611ed849c0891fb590015c9fe3312f856a
13:03 dalek pir: b6c0cc0 | bacek++ | src/PIR/ (2 files):
13:03 dalek pir: Handle all cases of 'short' pcc calls in POST
13:03 dalek pir: review: http://github.com/bacek/pir/commit/b6c​0cc0911005f2390a71f7237f16f2149966014
13:05 whiteknight mikehh: thanks!
13:09 dalek pir: 45d7658 | bacek++ | t/post/call.txt:
13:09 dalek pir: Add more tests.
13:09 dalek pir: review: http://github.com/bacek/pir/commit/45d​76587add9cc232eb97566630f4f2f23ec2ac8
13:27 atrodo_ joined #parrot
13:33 atrodo kthakore> Yea, I'm currently set to attend the gaming talk.
13:34 atrodo And sorry about all the joins/reconnects, I was playing with App::Bondage last night.  Neat program, even if the documentation is a bit obtuse
13:34 kthakore atrodo: no prorblem
13:34 kthakore atrodo: the documentation for SDL_perl?
13:34 atrodo No, for App::Bondage
13:35 kthakore atrodo: Will you be taking videos or know anyone who does?
13:35 kthakore atrodo: I work ok SDL perl and this is the first YAPC talk about our work.
13:36 kthakore atrodo: we don't know the guy but we want a video
13:36 atrodo I'm not sure about videos.  I know I won't be, but I heard talk on #yapc about some talks being videoed
13:47 dalek TT #1684 created by bacek++: examples/pir/*.t aren't executed during make fulltest.
13:47 dalek TT #1684: http://trac.parrot.org/parrot/ticket/1684
13:51 khairul_ joined #parrot
13:52 lucian joined #parrot
14:33 mmcleric left #parrot
14:36 mmcleric joined #parrot
14:45 snarkyboojum joined #parrot
14:45 dalek parrot: r47711 | NotFound++ | trunk/t/pmc/stringhandle.t:
14:45 dalek parrot: test StringHanlde get_fd method
14:45 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47711/
14:45 mmcleric joined #parrot
15:01 dalek parrot: r47712 | whiteknight++ | branches/gc_massacre/docs/pdds/pdd09_gc.pod:
15:01 dalek parrot: [gc] small tweaks to PDD09
15:02 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47712/
15:12 theory joined #parrot
15:18 dalek parrot: r47713 | khairul++ | branches/gsoc_instrument (4 files):
15:18 dalek parrot: fleshed out instrumentop.pmc.
15:18 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47713/
15:31 cosimo hi all,
15:31 cosimo I'm trying to use parrot's JSON library from Perl6 with no success so far
15:31 cosimo can someone help me? http://pastebin.org/343753
15:31 moritz then use the pure Perl 6 JSON library :-)
15:32 cosimo moritz: :)
15:32 cosimo but where's the fun, then?
15:32 cosimo :)
15:32 moritz using the parrot variant isn't going to be easy
15:32 moritz rakudo uses data types that parrot isn't aware of
15:33 moritz for example ObjectRef PMCs
15:33 cosimo my goal is to understand how to call Parrot library functions
15:33 cosimo but it seems there's always something in my way that I don't understand
15:34 moritz I know that feeling very well
15:34 cosimo first the find_method('signature') and now this damn Null PMC in invoke()
15:36 cosimo for Digest/MD5.pbc I could get the "function PMC" with no problems except the find_method('signature') error
15:36 cosimo for JSON.pbc, that for my eyes is exactly the same thing, I can't even seem to get a valid PMC in the first palce
15:38 tetragon joined #parrot
15:56 snarkyboojum joined #parrot
16:05 moritz is there an autoflush property or so in parrot's IO?
16:06 moritz I grepped for -i auto.*flush, without success
16:07 dalek parrot: r47714 | NotFound++ | trunk (2 files):
16:07 dalek parrot: implement ByteBuffer set_integer_native vtable to do explicit resize and add some tests for it
16:07 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47714/
16:24 dalek parrot: r47715 | khairul++ | failed to fetch changeset:
16:24 dalek parrot: sync with trunk
16:24 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47715/
16:25 kthakore oh hi moritz
16:26 kthakore moritz: did you try clear?
16:26 kthakore $P0.'flush'()
16:26 kthakore moritz: http://docs.parrot.org/parrot/devel/​html/docs/book/pir/ch08_io.pod.html
16:26 moritz kthakore: thanks
16:26 kthakore moritz: yay! I helped some one
16:26 * kthakore goes for his rewards cake
16:27 kthakore moritz: perl6 SDL is taking time btw. I remember you asked me about it
16:27 moritz kthakore: you might be confusing me with somebody else (or I might be confusing me with soembody else :-)
16:27 kthakore moritz: ha
16:28 kthakore moritz: remember I told you I wnated to use grammers in perl6
16:28 kthakore moritz: for games
16:28 kthakore moritz: and how SDL is a library to provide multimedia for games
16:28 moritz was that more than a month ago?
16:28 kthakore moritz: and you asked me when is it coming to perl6 and I said July-ish
16:28 kthakore moritz: yeah
16:28 moritz ah
16:29 moritz no wonder I forgot about it :-)
16:29 kthakore moritz: well it will be longer since parrot ppl broke my code
16:29 kthakore moritz: no worries
16:29 moritz now I remember... you're a gsoc mentor, right?
16:29 moritz or at least potential mentor
16:29 kthakore moritz: http://github.com/kthakore/parrotSDL <--- worked as of feb 25th
16:29 kthakore moritz: yeah potential
16:30 kthakore we were yonder over at #perl6 freenode
16:30 moritz happens :-)
16:31 kthakore moritz: well until someone gives me C access to perl6 or parrot it will be slow going
16:31 kthakore moritz: as I am learning NCI/PIR as I go
16:32 * moritz wonders how callbacks into parrot land and NCI work together, if at all
16:33 kthakore moritz: like building on sand is my metaphor
16:33 kthakore moritz: and I stick by it :P
16:33 moritz :-)
16:33 kthakore moritz: I had another rough night last night on it
16:33 moritz but it does work in some cases?
16:34 kthakore moritz: well it is all broken now so I am starting from scratch
16:34 kthakore moritz: and there seems to be a bug in namespace
16:34 kthakore so ... I have no clue what I am doing
16:34 kthakore moritz: but I rarely do anyway
16:34 moritz :-)
16:35 kthakore perl5 and XS was like this a lot at the starting
16:35 kthakore I just love learning new shit that breaks my brain
16:35 kthakore moritz: :)
16:35 moritz well, those interfaces only get better when people use it, and push the developers to make it better (or make it better themselves)
16:36 kthakore moritz: true. I hope I can generate a lot of noise in forms of tickets and emails to get it working
16:36 kthakore moritz: if I can understand why it don't work I will try and help parrot fix them
16:36 kthakore any way gtg for food
16:36 moritz great
16:36 moritz ciao
16:36 kthakore moritz: good luck with flush
16:37 moritz thanks
16:37 kthakore moritz: the docs are for 2.4 btw
16:37 * moritz flushes
16:37 kthakore moritz: so maybe run the html doc gen in svn head
16:37 kthakore I don't know how though sorry
16:37 NotFound moritz: What kind of autoflush are you looking for? Doing a flush after each write?
16:37 moritz NotFound: yes
16:38 NotFound I don't think we have that.
16:39 NotFound Well, there is one way to do that: setting the handle to unbuffered, but that doesn't flush the OS handle.
16:39 moritz NotFound: I'll try to do it on rakudo level
16:41 NotFound moritz: handle.'buffer_type'('unbuffered')
16:41 tcurtis joined #parrot
16:49 dalek rakudo: f236549 | moritz++ | src/core/IO.pm:
16:49 dalek rakudo: IO.autoflush
16:49 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/f​236549628d6455e7e679559daf103df423036fe
17:21 khairul joined #parrot
17:41 lucian_ joined #parrot
18:18 dalek parrot: r47716 | NotFound++ | trunk/t/pmc/hash.t:
18:18 dalek parrot: some more tests for Hash PMC
18:18 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47716/
18:18 dalek parrot: r47717 | NotFound++ | trunk/t/pmc/handle.t:
18:18 dalek parrot: test Handle init_pmc
18:18 dalek parrot: review: http://trac.parrot.org/parrot/changeset/47717/
18:36 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#34495), fulltest) at r47715 - Ubuntu 10.04 amd64 (g++)
18:37 mao joined #parrot
18:37 mao Hello
18:37 mao what's the best scheme implementation for parrot?
18:37 mao and is it worse/better than, plt-scheme, for example?
18:38 Tene There isn't a decent or useful scheme implementation for Parrot.
18:38 moritz I don't really know, but I'd be surprised if any was as feature-complete as plt-scheme
18:38 mao hmm that's sad :[
18:38 mao and what about partcl?
18:39 mao is it good?
18:39 Tene I'm not sure of the maintained-status of partcl right now.  I hear that it has a lot of TCL implemented, though.
18:40 moritz let's higlight Coke, he's the main developer
18:41 eternaleye joined #parrot
18:44 LoganLK joined #parrot
18:45 mao man parrot looks nice
18:45 mao :O
18:45 mao is parrot better than jvm?
18:46 moritz jvm is better for running java
18:46 moritz parrot is better for running Perl 6
18:46 * moritz likes Perl 6 better than java
18:46 NotFound Java is better for coffee.
18:47 NotFound So have a cup of coffee and use Parrot.
18:47 mao i like jvm for closure
18:48 mao but some things like tail recurssion cant be don on jvm (idk why, im not a VM expert)
18:48 mao can this thing be done on Parrot?
18:49 darbelo Tene: Didn't you write a scheme some time ago?
18:49 moritz parrot natively supports tailcalls
18:49 moritz begin CPS based and all
18:49 Tene darbelo: That's right.  I think I dropped it in the middle of implementing macros, though.
18:50 mao cool
18:50 moritz but tail recursion is also something that a compiler can detect and optimize away at compile time; the underlying VM doesn't need to know about it at all
18:50 purl okay, moritz.
18:50 Tene I don't know what state it's in, and it has no libraries of its own, and still uses the old HLL interop stuff, so won't be able to load any other language's libraries.
18:50 Tene http://github.com/tene/steme/
18:50 Tene it would be a great starting point for anyone wanting to work on a useful scheme, though.
18:51 darbelo Ah. I thought it was further along than that. Maybe I have it confused with something else...
18:51 moritz lua maybe?
18:52 moritz iirc lua is basically feature complete
18:52 Tene no, you were probably thinking of steme.  I used to talk about it a lot in here.
18:55 tcurtis moritz: I think the reason clojure doesn't have have tailcalls(except for loop/recur and trampoline macros) is that the JVM doesn't support jumping to a function's address.
18:58 tcurtis Also, lua appears to pass all of its tests(both "parrot setup.pir test" and "parrot setup.pir spectest"). Not sure how comprehensive those test suites are, although there's 3000 tests altogether.
19:00 tcurtis On an unrelated note, would anyone care to help me with some problems I'm having build a dynpmc with distutils?
19:01 moritz tcurtis: on an unrelated note, I noticed that your optimization blog post was very cool, and still it made me feel uneasy... (more)
19:02 moritz tcurtis: the reason is that it uses a custom evaluation scheme for the constant folder, ie a different code path than normal execution
19:02 moritz which becomes a maintenance nightmare when done for more than one operation
19:03 moritz I know it's only a first optimization, but I'd love to see one that uses the same code path for constant folding and normal operation, just one of them done at compile time
19:06 moritz (end of rant)
19:08 darbelo tcurtis: What's your dynpmc problem?
19:11 darbelo Also, for building dynpmcs with distutils you can look at decnum-dynpmcs and dbm-dynpmcs. They are two examples of the two different approaches you can take to building a dynpmcs library wrapper.
19:12 nopaste "tcurtis" at 192.168.1.3 pasted "This is my error message (source is at http://gitorious.org/parrot-gtk/parrot-gtk )" (15 lines) at http://nopaste.snit.ch/21395
19:13 tcurtis moritz: True. That would be desirable. I'm not sure how I could do that. Is there a PCT::Compiler method to run all the stages after some stage on something?
19:14 tcurtis s/PCT/HLL/
19:16 darbelo tcurtis: The group should be an array, not a scalar.
19:17 darbelo Even if it has just one element.
19:18 davidfetter joined #parrot
19:18 tcurtis darbelo: same error.
19:19 darbelo Then, you should avoid making it a group. I'm not sure pmc2c can handle groups of just one PMC.
19:19 darbelo I did that for dbm-dynpmcs.
19:22 tcurtis For that, should the line in question be something like "%parrot_gtk<dynpmc><gtkhelper> := 'src/pmc/gtkhelper.pmc';"? Same error. That's what I had initially, I think(might have been <> instead of '', both produce the same error still).
19:24 darbelo Aha!
19:25 darbelo You forgot to declare your dynpmc as 'dyn' :)
19:25 darbelo pmclass GTKHelper dynpmc {
19:26 darbelo Otherwise, pmc2c will generate the wrong C for a dynamic extension.
19:26 darbelo That's why it's looking for the pmc_*.h files in include/
19:29 darbelo Your setup file is correct.
19:29 tcurtis Thanks.
19:34 darbelo No problem. I've done all of this beofore.
19:34 mao what's the best parrot tutorial for complete begginers?
19:35 darbelo mao: Probably the PIR book. Nowadays.
19:36 mao the pir book
19:36 purl i think the pir book is http://www.amazon.com/dp/0977920127
19:36 plobsing joined #parrot
19:36 mao :O
19:36 darbelo docs/book/pir/* in your neares parrot checkout.
19:37 moritz tcurtis: no idea, you'd have to ask pmichaud
19:37 darbelo mao: It's a volunteer effort, so it might not be completely up to date in all areas, but it should be good enough to get you started.
19:37 mao but its like
19:37 mao already on amazon
19:38 tcurtis mao: From what perspective? Are you planning to write HLL compilers, code targeting a Parrot compiler, libraries for Parrot, work on the actual VM core itself, etc.?
19:38 mao writing a language for parrot would be nice
19:38 mao but i assume basic knowledge of parrot structure wont harm
19:45 mao so, should I do PIR book?
19:46 nopaste "darbelo" at 192.168.1.3 pasted "This gets the build far enough to choke on GTK.nqp syntax errors." (26 lines) at http://nopaste.snit.ch/21397
19:46 darbelo tcurtis: See http://nopaste.snit.ch/21397
19:47 tcurtis mao: I don't think there are any tutorials for modern PCT+NQP-rx. Looking at partcl-nqp, rakudo, or NQP-rx(the compiler for which is written with PCT and NQP-rx) is probably the only way to start learning NQP-rx and PCT. Also the S05 section of the Perl 6 Synopses(since NQP is a subset-ish of Perl 6 and has similar regexes). I haven't looked at the PIR book in a while, so I don't know whether to recommend it.
19:48 tcurtis darbelo: I'm getting there. Thanks for the help. darbelo++
19:49 darbelo And the error in GTK.nqp is a missing ';' on line 5. After that it fails in the compilation of build/GTK/Widget.pbc
19:49 mao tcurtis: oh man
19:49 darbelo The opcode 'setattribute_p_s_p_p' (setattribute<4>) was not found. Check the type and number of the arguments in file 'build/GTK/Widget.pir' line 105
19:49 mao a lot of new words :)
19:50 tcurtis PCT?
19:50 purl PCT is the Parrot Compiler Toolkit
19:50 moritz darbelo: settattribute has only 3 args
19:50 moritz object, attribute name and new value
19:51 moritz return value void
19:51 mao http://www.parrotblog.org/200​8/03/targeting-parrot-vm.html
19:51 mao what about that tutorial?
19:51 mao (with PIR book ofc)
19:52 moritz mao: it's good, but out of date I fear
19:52 tcurtis darbelo: I've got the syntax errors fixed and it building. Now to get it actually working. :)
19:52 mao ok thanks
19:52 mao i should start reading now
19:52 hercynium joined #parrot
19:52 nopaste "darbelo" at 192.168.1.3 pasted "Aw. I almost had it..." (54 lines) at http://nopaste.snit.ch/21399
19:53 darbelo tcurtis: The nopaste get's the build to finish for me.
19:53 darbelo s/'//
19:55 NotFound What are you doing, a gtk wrapper for parrot?
19:56 mao Which should I get for emacs: parrot.el, pasm.el or pir-mode.el?
19:56 darbelo NotFound: That was my first guess too.
19:56 mao oh nvm
19:56 mao sorry
19:56 mao havent noticed readme
19:56 mao :(
20:01 ambs joined #parrot
20:04 tcurtis Hmm... now when I do "$__helper.gtk_init()" in GTK::init, I get "Method 'gtk_init' not found for non-object". --trace shows that the thing the method is being called on is indeed a GTKHelper PMC.
20:04 tcurtis NotFound: hopefully.
20:04 purl hopefully is lightweight.
20:05 Psyche^ joined #parrot
20:05 NotFound tcurtis: that will be great, even with just minimal functionality.
20:10 dalek rakudo: dd6bda0 | jonathan++ | src/ (3 files):
20:10 dalek rakudo: Some updates to parametric role parameter handling, bringing us in line with
20:10 dalek rakudo: current postcircumfix:<[ ]> handling, parsing a couple more cases of parametric
20:10 dalek rakudo: types to bring us more in line with STD and fixing at least one RT ticket along
20:10 dalek rakudo: the way.
20:10 purl i guess the way is to read the docs, or the FAQ..
20:10 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/d​d6bda05d6a0b0582575e3b65a38467479bff304
20:11 ambs purl: forget the way.
20:11 purl ambs: I forgot way
20:27 Myhrlin_ joined #parrot
20:30 tcurtis the way?
20:30 purl i guess the way is closures, prototypes and subrefs
20:31 tcurtis way?
20:31 ambs some other way :)
20:32 nopaste "tcurtis" at 192.168.1.3 pasted "darbelo: can you help me with this?" (9 lines) at http://nopaste.snit.ch/21400
20:33 dalek rakudo: 406d85f | jonathan++ |  (2 files):
20:33 dalek rakudo: Apply patch from cognominal++ to implement Capture.perl.
20:33 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/4​06d85f4cdcd61b78f1e6023da1f41f5658f479d
20:48 darbelo tcurtis: I think you need to add the '_group' suffix to your loadlib call.
20:49 darbelo Other than that, I can't see why it shouldn't work...
20:51 darbelo Doing that changes the error to this:
20:52 nopaste "darbelo" at 192.168.1.3 pasted "This is after adding _group to the loadlib" (6 lines) at http://nopaste.snit.ch/21401
20:54 darbelo tcurtis: Nevermind. I had stale shared objects in my dynext/
20:55 darbelo I have no Idea why it fails. I blame that on my weak grasp of NQP-rx
20:55 tcurtis I changed it to not use a group when I was trying to figure out the build problems earlier. --trace showed that the object the method was being called on was indeed a GTKHelper PMC.
20:55 darbelo Yeah. I was misled by a stale _group.so file I had from my earlier debug attempt.
20:57 darbelo The use of 'non object' makes me want to blame this all on PMC proxying and general weirdnesss whe it comes to method lookups.
20:59 lucian_ joined #parrot
21:00 darbelo Anyway. I have to go now. I hope you find a solution.
21:01 tcurtis Thanks for your earlier help.
21:24 bacek Good morning, humans
21:25 ambs good night, bacek
21:25 tcurtis Good afternoon, bacek.
21:26 mmcleric joined #parrot
21:31 ambs next timezone_
21:31 ambs ?
21:37 ambs ;) night
21:43 kid51 joined #parrot
21:47 PacoLinux joined #parrot
21:48 bacek seen pmichaud
21:48 purl pmichaud was last seen on #parrot 1 days, 23 minutes and 50 seconds ago, saying: afk for a bit -- brb  [Jun 18 21:24:47 2010]
21:49 bacek msg pmichaud http://gist.github.com/445309 - foo:bar<baz>() call support in nqp. Any objections for applying it?
21:49 purl Message for pmichaud stored.
22:14 sorear seen dukeleto
22:14 purl dukeleto was last seen on #parrot 20 hours, 6 minutes and 5 seconds ago, saying: This is good motivation for GPG-signing and sha1sums: http://seclists.org/fulldisclosure/2010/Jun/277
22:23 lucian joined #parrot
22:30 ash_ joined #parrot
23:07 dalek TT #1685 created by bacek++: Fix for #389 broke examples/pir/make_hello_pbc.pir
23:07 dalek TT #1685: http://trac.parrot.org/parrot/ticket/1685
23:07 bacek msg cotto I bisect make_hello_pbc.pir failure...  http://trac.parrot.org/parrot/ticket/1685
23:07 purl Message for cotto stored.
23:26 dalek pir: f3e2d12 | bacek++ |  (3 files):
23:26 dalek pir: Add POST::Call.calltype to use with .tailcall and .return
23:26 dalek pir: review: http://github.com/bacek/pir/commit/f3e​2d12bb9b78c8f32e3ff73c775a323a7f1a828
23:26 dalek pir: 0afecba | bacek++ |  (2 files):
23:26 dalek pir: Implement .tailcall POSTing
23:26 dalek pir: review: http://github.com/bacek/pir/commit/0af​ecbace5c7013836846e211b84294bf1e42cc6
23:30 cotto bacek, thanks
23:31 bacek cotto, its little bit a problem. I have no idea how it works and unlikely can fix it by myself.
23:32 NotFound bacek: I have the same problem with winxed-pirado
23:32 dalek pir: fb6b5a4 | bacek++ |  (3 files):
23:32 dalek pir: Implement .return and .yield POSTing
23:32 dalek pir: review: http://github.com/bacek/pir/commit/fb6​b5a4fca98ebe470036c81d0bb92971c15591b
23:32 bacek NotFound, any luck with fixing it?
23:32 NotFound bacek: I have no idea.
23:32 bacek NotFound, :(
23:33 bubaflub joined #parrot
23:33 NotFound Looks like now to put a sub in a namespace some dark magic is needed.
23:34 bacek :nsentry
23:34 purl :nsentry is the pir modifier to put a method in the namespace
23:35 NotFound As purl said.
23:35 NotFound The black magic is whatever imcc does.
23:36 bacek But I have :nsentry flag in make_hello_pbc...
23:37 NotFound Looks like imcc does some more than setting the ns_entry_name
23:37 bacek Yeah... It works from generated_hello.pbc.
23:37 dalek pir: a3b6aa2 | bacek++ | TODO:
23:37 dalek pir: Add more TODO
23:38 dalek pir: review: http://github.com/bacek/pir/commit/a3b​6aa26baa8120e547352adf5564bb27393c02e
23:39 NotFound bacek: main, or automatic main for first sub, works. Any other sub doesn't
23:39 bacek NotFound, sigh...
23:54 jan joined #parrot
23:55 dalek rakudo: edb8be9 | jonathan++ |  (2 files):
23:55 dalek rakudo: Apply first cut of handles method generator. Patch courtesy of maard++.
23:55 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/e​db8be9f1b843c33526d0769fcc149273c633067
23:55 dalek rakudo: 478bde3 | jonathan++ | src/ (4 files):
23:55 dalek rakudo: Get handles wired up and working. Patch mostly by maard++ with a few tweaks from
23:55 dalek rakudo: me.
23:55 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/4​78bde3e1469946d6a4171b2a378f6bf128b51d9
23:55 dalek rakudo: 884561f | jonathan++ | src/glue/handles.pm:
23:55 dalek rakudo: Fix a thinko and whitespace.
23:55 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/8​84561fc6f186f97300a577903ae6cdd8ff44ea2
23:55 dalek rakudo: aa427c4 | jonathan++ | t/spectest.data:
23:55 dalek rakudo: Turn on S12-attributes/delegation.t.
23:55 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/a​a427c478de069347d2d280995efd08e12b32ff5

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

Parrot | source cross referenced