Camelia, the Perl 6 bug

IRC log for #parrot, 2010-07-10

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:23 cotto ~
00:23 sorear Null PMC access in 'get_str'
00:25 cotto You lie.
00:25 * purl would NEVER do such a thing to you, cotto!
00:26 cotto That wouldn't even parse. ;)
00:40 LoganLK joined #parrot
01:03 rurban_ joined #parrot
01:07 jsut joined #parrot
01:18 contingencyplan joined #parrot
01:45 cotto literal you lie.
01:45 purl cotto: you lie =is= <ACTION> would NEVER do such a thing to you, $who!
02:04 LoganLK joined #parrot
02:36 janus joined #parrot
02:37 snarkyboojum joined #parrot
03:00 JaphMalik joined #parrot
03:01 ash_ joined #parrot
04:24 JaphMalik joined #parrot
04:24 LoganLK joined #parrot
04:25 ash_ joined #parrot
04:56 fperrad joined #parrot
05:34 cotto seen khairul
05:34 purl khairul was last seen on #parrot 3 days, 24 minutes and 52 seconds ago, saying: see privmsg  [Jul  7 05:09:29 2010]
05:38 tcurtis cotto++ # for linking that Piumarta and Warth paper.
05:48 PerlJam joined #parrot
05:59 * cotto wonders why people pick gitorious when github is around.
06:02 sorear because said people have been burned by github in the past
06:02 sorear github used to have uptime figures of around 15%
06:02 sorear and I do mean *up*time, not downtime
06:05 cotto once burned twice shy, I guess
06:06 cotto It's certainly not for the UI.
06:06 dalek parrot: r48063 | khairul++ | branches/gsoc_instrument (4 files):
06:06 dalek parrot: Added generator for vtables.
06:06 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48063/
06:06 cotto Oh good.  I was hoping he'd add that.
06:23 dalek parrot: r48064 | khairul++ | branches/gsoc_instrument (2 files):
06:23 dalek parrot: Make generated code pass codetest.
06:23 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48064/
06:36 cognominal joined #parrot
08:18 TiMBuS joined #parrot
09:04 rurban_ joined #parrot
10:38 eiro joined #parrot
11:00 bacek ~~
11:00 bacek seen fperrad
11:00 purl fperrad was last seen on purl 5 hours, 58 minutes and 36 seconds ago, saying: <private message>
11:01 bacek msg fperrad How I can override "builder" in distutils? E.g. I want to build some PBCs with pirate instead of parrot.
11:01 purl Message for fperrad stored.
11:24 dalek pir: ec15896 | bacek++ | src/PIR/Grammar.pm:
11:24 dalek pir: Cache top-level .include. Comment out <process_heredocs> rule. It's O(n2) in
11:24 dalek pir: current shape and slowing down parsing A LOT.
11:24 dalek pir: review: http://github.com/bacek/pir/commit/ec1​58969fe93920dc8e8a683790e4c4648cec811
11:24 dalek pir: 2aeb7c3 | bacek++ |  (2 files):
11:24 dalek pir: Fix POSTing of non-boolean sub modifiers.
11:24 dalek pir: review: http://github.com/bacek/pir/commit/2ae​b7c3fb1de9f6b2ea5ba3bf7f7cf2e98870b8a
11:24 dalek pir: 9940486 | bacek++ | src/POST/Compiler.pm:
11:24 dalek pir: Skip non-subs in POST::Compiler.enumerate_subs - .include can produce empty
11:24 dalek pir: POST::Nodes
11:24 dalek pir: review: http://github.com/bacek/pir/commit/994​04865da668f622950a3a6767e55ed6e949ad9
11:24 dalek pir: 9179ce1 | bacek++ | src/PIR/Actions.pm:
11:24 dalek pir: Improve or remove various checks in Actions. They should be in POST::Compiler
11:24 dalek pir: review: http://github.com/bacek/pir/commit/917​9ce1a6c17d0bcc9e030d4e31f3dbdfc2c0fb9
11:24 dalek pir: ac4a6c3 | bacek++ | t/post/subs.txt:
11:24 dalek pir: Update test.
11:24 dalek pir: review: http://github.com/bacek/pir/commit/ac4​a6c3898674ad2a60c28d3daef39003dd798dd
11:24 dalek pir: f77d81d | bacek++ | t/post/sub-modifiers.txt:
11:24 dalek pir: Fix test
11:24 dalek pir: review: http://github.com/bacek/pir/commit/f77​d81d9bb41ca21a91e58e2016af18b72a37342
11:24 dalek pir: eb2dfd4 | bacek++ | src/PIR/Actions.pm:
11:24 dalek pir: Decouple POSTing of $P0() from $P0.$S0()
11:24 dalek pir: review: http://github.com/bacek/pir/commit/eb2​dfd4af9cdff2851e44f785ace1c78af54e953
11:24 dalek pir: 033ec2b | bacek++ | src/PIR/Actions.pm:
11:24 dalek pir: Put validate_labels back.
11:24 dalek pir: review: http://github.com/bacek/pir/commit/033​ec2bddbc9215f1312e21bb75a9efa615a696a
11:24 dalek pir: c0be8a3 | bacek++ |  (3 files):
11:24 dalek pir: Handle $P0[$P1] Keys properly.
11:24 dalek pir: review: http://github.com/bacek/pir/commit/c0b​e8a3fbdea74c0b47498084cb64be6a75a38c1
11:24 dalek pir: f174020 | bacek++ | src/PIR/Actions.pm:
11:24 dalek pir: Relax test for PIR register in call:sym<pmc> - it can be invoked little bit
11:24 dalek pir: early than needed.
11:24 dalek pir: review: http://github.com/bacek/pir/commit/f17​4020b2fc3824379f00462641065f2716ed2d2
11:24 dalek pir: 6f7e239 | bacek++ | t/test_post.pir:
11:24 dalek pir: Add ability for todoing POST tests
11:24 dalek pir: review: http://github.com/bacek/pir/commit/6f7​e239ec5cc793da3531f095cbd4e50ac1a013c
11:35 s1n left #parrot
11:36 bacek msg tcurtis I merged your pirate branch into master. Just because it's needed for self-hosted pirate :)
11:36 purl Message for tcurtis stored.
11:39 khairul joined #parrot
11:41 dalek pir: 33bc387 | bacek++ |  (10 files):
11:41 dalek pir: Merge branch 'post-optimizations'
11:41 dalek pir: review: http://github.com/bacek/pir/commit/33b​c387bb8af1b0c291771e831cf511eb0f73564
11:41 bacek tcurtis++ for actual work
11:46 eiro_ joined #parrot
11:51 khairul joined #parrot
11:58 dalek pir: b75e472 | bacek++ |  (5 files):
11:58 dalek pir: Support .get_results syntax sugar for exceptions handling
11:58 dalek pir: review: http://github.com/bacek/pir/commit/b75​e4729f1bedf641b64d1d510abc20b332be9ae
12:04 kid51 joined #parrot
13:17 lucian_ joined #parrot
13:18 dalek pir: 13a758f | bacek++ |  (2 files):
13:18 dalek pir: Add sketch of swapping gt/ge with lt/le 'optimization'
13:18 dalek pir: review: http://github.com/bacek/pir/commit/13a​758f495acf3488cd1bb30a6a6772dfab5014b
13:18 bacek msg tcurtis Can you take a look at commit 13a758f in Pirate?
13:18 purl Message for tcurtis stored.
13:25 nopaste "fperrad" at 192.168.1.3 pasted "bacek [Pirate] a patch for setup.pir" (68 lines) at http://nopaste.snit.ch/21922
13:26 bacek fperrad, hooray! Thanks!
13:26 fperrad bacek, pirate is just like an another HLL
13:31 bacek fperrad, it is.
13:31 bacek How I can make pirate_build optional?
13:34 bacek nm, found it
13:35 dalek pir: 9b6825f | bacek++ | pirate.pir:
13:35 dalek pir: Add (future) self-hosted version of pirate.
13:35 dalek pir: review: http://github.com/bacek/pir/commit/9b6​825f20cd1548a52299e694344d87177b07fc4
13:35 dalek pir: ad3ed77 | bacek++ | setup.pir:
13:35 dalek pir: Add target for self_hosted pirate. fperrad++
13:35 dalek pir: review: http://github.com/bacek/pir/commit/ad3​ed77ec5f348a0450641b158ece012eeefb65d
13:40 tcurtis joined #parrot
13:40 dalek pir: 98ce250 | bacek++ | setup.pir:
13:40 dalek pir: Fix building with pirate
13:40 dalek pir: review: http://github.com/bacek/pir/commit/98c​e250e0d8bfbcee44b00dd0228befa25bdf690
13:41 TiMBuS joined #parrot
13:46 tcurtis bacek: regarding 13a758f, shouldn't it be POST::Op.new(:pirop($new_op), $/[0].orig, $/[2].orig, $/[1].orig)?
13:46 bacek tcurtis, erm... I don't think so. [2] is label
13:47 tcurtis oh. right.
13:47 * tcurtis was thinking of isgt/isge.
13:48 bacek I changed POST::Pattern to P::P::Value in next commit. Let me push it
13:52 dalek pir: f985b3a | bacek++ | src/PIR/Compiler.pm:
13:52 dalek pir: Use POST::Pattern::Value to swap_gtge optimization
13:52 dalek pir: review: http://github.com/bacek/pir/commit/f98​5b3a21a773ce72f4ae7862085d99e4cea05a0
13:54 dalek winxed: r540 | NotFound++ | trunk/token. (2 files):
13:54 dalek winxed: tiny refactor of stage 0 tokenizer
13:54 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=540
14:03 dalek pir: 8f28302 | darbelo++ | setup.pir:
14:03 dalek pir: Add a few metadata entries for the plumage JSON file.
14:04 dalek pir: review: http://github.com/bacek/pir/commit/8f2​8302a233754fe16c710a8abb007f591d6751c
14:04 dalek pir: cdfe40d | darbelo++ | src/PIR/Compiler.pm:
14:04 dalek pir: Merge branch 'master' of github.com:bacek/pir
14:04 dalek pir: review: http://github.com/bacek/pir/commit/cdf​e40d43ce6fe73b47328c0c860c087f2203a4e
14:09 dalek pir: ab24417 | bacek++ | setup.pir:
14:09 dalek pir: Made pirate_clean independent step. Use OrderedHash for pirate_build to preserve
14:09 dalek pir: build order.
14:09 purl build order is fixed from a clean archive, so there's no need for build-time calculation.
14:09 dalek pir: review: http://github.com/bacek/pir/commit/ab2​44171cbb4e1431cb1523d97541dd757e0ccf1
14:25 Mokurai joined #parrot
14:26 tcurtis bacek: do you know how to turn a PAST::Op(:pasttype<call>) node with the sub in the name to a PAST::Op(pirop<tailcall>)?
14:26 dalek pir: ee5dcf2 | bacek++ | src/PIR/Compiler.pm:
14:26 dalek pir: Fix swap_gtge - match on whole opname. Before we can wrongly rewrite "isgt",
14:26 dalek pir: etc.
14:26 dalek pir: review: http://github.com/bacek/pir/commit/ee5​dcf26ae199f98be760eb207183109c41fe0e7
14:26 bacek tcurtis, it's POST::Call. Just change .calltype to tailcall
14:28 tcurtis bacek: not in PIRATE's POST; in PAST.
14:28 bacek tcurtis, erm... no idea.
14:29 darbelo bacek: I just added pirate to plumage.
14:29 bacek I'm not sure that there is such thing as "tailcall" in PAST.
14:29 bacek darbelo, thanks!
14:30 tcurtis bacek: there is. But it's a value for .pirop instead of .pasttype.
14:30 tcurtis And, unlike call, it doesn't take the sub from the name attribute.
14:31 darbelo I didn't add any dependencies information, since I'm not sure what the deps are now, and how to specify them in setup.pir
14:31 bacek tcurtis, POST/Compiler.pir line 214
14:32 bacek darbelo, tree-optimizations is only dependency.
14:32 dalek pir: ac53b1f | darbelo++ | setup.pir:
14:32 dalek pir: Remove accidentaly doubled 'git://' from project metadata.
14:32 dalek pir: review: http://github.com/bacek/pir/commit/ac5​3b1fa741077a4daf18b06ff10f8f06a475aeb
14:36 dalek parrot-plumage: 6c19cdf | darbelo++ | metadata/pirate.json:
14:36 dalek parrot-plumage: Add metadata for PIRATE.
14:36 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/6c19cdf1c5711e463eff30b8adaa77103442e774
14:39 bacek anyway, it's bed time
14:39 bacek see you
14:40 tcurtis bacek: I'll hopefully be able to work on PIRATE more in the next few days. Finally got tail-call elimination kinda-working in PAST.
14:40 tcurtis Good night.
14:45 tcurtis Yay! Tail-call elimination for function calls that don't store the function in the .name attribute of the PAST::Op node, also requiring that you use an explicit return!
14:47 patspam joined #parrot
15:10 darbelo tcurtis: Did you hand-hack the JSON for tree-optimization?
15:11 tcurtis darbelo: Yes. Is there an automatic way to create it?
15:11 darbelo Yep. If you put that same data on your setup.pir it'll do it for you.
15:12 darbelo see http://github.com/bacek/pir/commit/8f2​8302a233754fe16c710a8abb007f591d6751c
15:13 darbelo Running "parrot setup.pir plumage" will output the JSON file to ports/plumage/{projectname}.json IIRC
15:28 tcurtis darbelo: fperrad++ sent me a cleaned up version of my setup.nqp. I added the description field I had in the plumage metadata and pushed it. Want me to generate the JSON and nopaste it for you?
15:32 darbelo tcurtis: Sure.
15:36 nopaste "tcurtis" at 192.168.1.3 pasted "darbelo: here it is" (64 lines) at http://nopaste.snit.ch/21924
15:42 dalek parrot-plumage: ed56f1b | darbelo++ | metadata/tree-optimization.json:
15:42 dalek parrot-plumage: Update the tree-optimization metadata file.
15:42 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/ed56f1b08004291f3ce13aec3b14a00243ae424f
15:54 dalek parrot: r48065 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
15:54 dalek parrot: [distutils] add a link to a good example of setup.nqp (in tree-optimization)
15:54 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48065/
16:16 tcurtis thanks, darbelo.
16:16 tcurtis and thank you, as well, fperrad, for cleaning up my setup.nqp.
16:20 theory joined #parrot
17:00 dalek parrot: r48066 | khairul++ | branches/gsoc_instrument (4 files):
17:00 dalek parrot: Added generator for gc stubs.
17:00 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48066/
17:01 patspam1 joined #parrot
17:02 rurban_ joined #parrot
17:05 darbelo left #parrot
17:33 dalek parrot: r48067 | khairul++ | branches/gsoc_instrument (2 files):
17:33 dalek parrot: Fix typo/bug in src/pmc/pointer.pmc.
17:33 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48067/
17:41 davidfetter joined #parrot
17:46 mberends joined #parrot
17:57 LoganLK joined #parrot
18:34 hercynium joined #parrot
19:47 eternaleye joined #parrot
21:03 lucian joined #parrot
21:10 mtk joined #parrot
21:11 dalek rakudo: 7579f7a | masak++ | src/core/Buf.pm:
21:11 dalek rakudo: [Buf] infix:<eqv> for Bufs now uses eqv internally
21:11 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/7​579f7a069eaf2c2a34b425c058fea26ab3cbff0
21:16 whiteknight joined #parrot
21:41 whiteknight joined #parrot
21:54 tcurtis pmichaud: ping
22:19 mtk joined #parrot
22:19 Coke ISTR pmichaud is on vacation or travelling atm.
22:22 tcurtis Ah, right.
22:24 whiteknight good afternoon, #parrot
22:24 tcurtis god afternoon, whiteknight.
22:24 tcurtis s/god/good/
22:24 whiteknight Hello tcurtis
22:25 whiteknight I have had internet access all week, but strangely haven't been able to log on to irc.parrot.org until now
22:31 whiteknight purl msg kid51 As far as I am aware that blog post should have been on planet.parrot. I republished it to see if that fixes anything
22:31 purl Message for kid51 stored.
22:38 muixirt joined #parrot
22:38 muixirt hi whiteknight
22:39 muixirt your latest blog article isn't labeled with "PARROT" :-)
22:42 whiteknight Ah, that would be the problem. I see it now. I was missing a comma
22:42 whiteknight hello muixirt, by the way
22:42 whiteknight how are you today?
22:43 muixirt well, thanks for asking
22:56 Mokurai joined #parrot
23:00 mikehh whiteknight: just read your blog, sounds good to me
23:00 whiteknight mikehh: thanks!
23:01 mikehh whiteknight: I agree that taking too minimalist an aproach will be counter-productive
23:01 whiteknight mikehh: if we wanted to go for absolute minimalism, I've seen designs for hardware platforms that only have like 2-3 ops
23:02 tcurtis whiteknight: there are several Turing-complete single opcode sets.
23:02 tcurtis of course, that doesn't handle I/O.
23:02 mikehh whiteknight: in theory you just need one op sub and bracch equal or something like that
23:02 whiteknight tcurtis: yes, I've seen those. at that point it really depends on what your definition of an "op" is
23:03 whiteknight a single "op" which has mode flags to perform different behaviors is really multiple ops
23:03 muixirt i'm for minimalism, let Chuck Moore design and implement lorito
23:04 NotFound We can use brainfuck as a model X-)
23:04 mikehh all you need is a bumch of nand gates (or nor)
23:06 mikehh One of the first computers I worked on was the CDC 6600 series - The CPU did not handle I/O at all - separate PP's did that
23:09 mtk joined #parrot
23:11 sorear IIRC, the Apple AirPort router uses a one-instruction processor (not even with flags)
23:11 sorear move memory to memory w/ memory mapped hardware & ALU
23:12 * sorear wants to build an OISC meets LGP-30 computer someday
23:12 sorear s/OISC/URISC/
23:15 sorear whiteknight: there is one very important current CPU where integers and pointers are (sort of) different sizes
23:15 sorear amd64
23:15 whiteknight sorear: do tell
23:16 sorear pointers are 64 bit, 64 bit integers are well supported, but maximum efficiency integers are still 32 bit
23:16 whiteknight depends what register set you're using
23:16 sorear because you can fit more of them into a cache line
23:16 whiteknight true
23:16 whiteknight but parrot, for instance, doesn't build unless we define INTVAL to be the same as the size of a pointer
23:16 whiteknight or, it builds but doesn't pass tests
23:17 sorear IMHO that's a (low severity) bug
23:18 mtk joined #parrot
23:18 sorear I'm guessing Parrot will die horribly on hppa(?), where sizeof(void(*)()) > sizeof(void *)
23:19 mtk joined #parrot
23:21 arnsholt Buh? The joys of portable code
23:23 sorear Be glad so many of the other /fun/ architectures of the past are dead
23:28 whiteknight sorear: I think it used to work on HPPA, but I don't know how long ago or whether it would still work
23:29 whiteknight I highly, highly doubt it
23:42 cotto It's something to keep in mind when writing Lorito.
23:44 cotto particle seems to think that it's important on 64-bit windows too.
23:55 Psyche^ joined #parrot

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

Parrot | source cross referenced