Camelia, the Perl 6 bug

IRC log for #parrot, 2009-07-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:07 payload joined #parrot
00:09 darbelo cotto: ping
00:10 cotto darbelo, pong
00:11 darbelo I'm starting to pick up momentum with the PCT decTest parser, but there's some way to go before it can run te tests.
00:11 cotto I saw that.  good jorb.
00:12 darbelo Right now I'm trying to  make PCT ".include 'blah'" on the PIR it generates.
00:13 darbelo Is there an easy way to do that?
00:13 cotto trying to make includes work?
00:14 darbelo Not really, I want to be able to cal is(PMC, PMC) from test_more.pir
00:15 cotto Oh.  You can just use some inline code directly.
00:16 darbelo I didn't know that. Can you point me to an example?
00:17 cotto sure.  Do you have rakudo downloaded?
00:18 cotto nm
00:18 cotto PAST::Op.new( :inline('.include "interpinfo.pasm"') );
00:18 cotto stolen from rakudo's actions
00:18 darbelo Well. That's simpler than I expected.
00:19 darbelo Most of PCT is simpler thatn I expected, really.
00:38 kid51 joined #parrot
00:45 nnunley Been digging, and cant' quite seem to find how nqp currently handles escaped characters in quoted strings.
00:56 dalek TT #841 closed by jkeenan++: t/examples/namespace.t is failing
00:59 jimmy joined #parrot
01:04 fdorothy Is there some way to make Parrot interpret PIR code that was generated by a language (like Pynie)?  It is complaining about unknown types for me. :(
01:09 skids joined #parrot
01:13 jimmy The Pynie's way
01:19 cotto nnunley, it'll change after the 1.4 release on Tuesday.  bacek++ stole much of rakudo's quoting code for nqp.
01:29 patspam joined #parrot
01:46 allison joined #parrot
01:58 Whiteknight joined #parrot
02:00 Topic for #parrotis now http://www.parrot.org/ | 289 RTs left | Next release: 2009-07-21
02:12 nnunley cotto:  I suppose I could do the same thing.  I'm only failing 4 tests with the bootstrapped version of nqp
02:12 cotto Nice.
02:13 nnunley 3 from escape expansion failing, and one from infix:, not cleaning up an empty element at the end of the arglist.
02:15 nnunley I've just been trying to avoid drifting too much from mainline nqp until I can say it's in the same shape as the mainline code.
02:16 cotto Where are you working?
02:16 nnunley I'd like to add interpolation in PIR quotes, and multiple variable definitions in our/my statements.
02:18 cotto I mean where's your code?
02:19 nnunley I understood. I was just making sure everything was pushed up to github before saying. :)
02:19 nnunley git@github.com:nnunley/nqp.git
02:22 cotto Does that still need compilers/nqp?
02:23 cotto nm.  I suppose you could check in the generated PIR.
02:23 nnunley I haven't added that yet.
02:23 cotto For some reason I was thinking in terms of pbc.
02:24 nnunley I suppose I should add the generated pir
02:24 nnunley That way the bootstrap should be mostly self encapsulated.
02:28 nnunley Just checked, and it looks like the infix:<,> problem needs to be fixed before the bootstrap can be used to compile itself.
02:30 cotto How big of a diff is there between your code and svn trunk?
02:31 Whiteknight hello
02:32 nnunley cotto: An extra test file.  And lots of little fixes to make it work with the current grammar.
02:33 nnunley I could put together a basic diffstat pretty quickly.
02:33 cotto Cool.  That's what I was hoping for.
02:34 cotto It'll probably be too late to include it in 1.4, but it sound like it'll be ready pretty soon.
02:34 cotto Hi Whiteknight
02:34 Whiteknight good evening cotto
02:34 kid51 Whiteknight:  Isn't it past your bedtime ;-)
02:35 Whiteknight kid51: yeah, I'm getting ready to wind down now
02:35 kid51 Or are you allowed to stay up late on the weekends?
02:35 Whiteknight Just wanted to sign on to the interwebs and say hi to my peeps
02:35 Whiteknight the wife is already asleep, so I'm on borrowed time
02:35 janus joined #parrot
02:35 Whiteknight kid51: you have a suggestion for a better font for me to use?
02:36 nnunley cotto:  1 file changed, 190 insertions(+), 35 deletions(-)
02:36 kid51 My biggest gripe is with the white-on-black.  Simply flipping that for the body copy would be a big improvement, IMHO
02:36 nnunley cotto: It's really only replacing Action.pir
02:37 cotto nnunley++
02:39 kid51 Whiteknight:  ISTR that chromatic's blog (not his OReilly blog; not his use.perl.org page) was nice.
02:39 kid51 i.e., http://modernperlbooks.com/mt/index.html
02:40 Whiteknight I don't think I'm going to change the colors though, sorry it's a personal thing
02:40 kid51 Note that though he's using a sans-serif font there with a smaller body size than yours, the fact that it's not a reverse makes it more readable.
02:41 kid51 Well, then, I guess I'll only read what you cross-post to planet.parrotcode.org
02:42 Whiteknight I do white-on-black for everything, the blog, my text editors, etc, so it's more readable for me
02:42 Whiteknight I don't like staring at a bright white screen for too long
02:44 kid51 But is your blog for *you* or for *your readers*?
02:46 Whiteknight ha, I'm not going to answer that
02:46 Whiteknight Until about a month ago I don't think it had any readers, so for several years it was just for me
02:49 kid51 Here's one that's a bit more readable:  http://www.sidhe.org/~dan/​blog/archives/2009_05.html
02:50 kid51 Even though it's a knockout sans, the background is medium-dark grey rather than black.  That improves readability, IMO.
02:50 cotto kid51, you can always view the page with no style in Firefox.
02:50 cotto I occasionally have to resort to that for really stupid sites (Whiteknight's blog not being among them).
02:50 Whiteknight the background to mine isn't black either, just a dark grey
02:50 Whiteknight and the text isn't white, it's a light grey
02:51 cotto I like it.  It's easier on the eyes.
02:51 cotto but yeah, it's personal choice.
02:52 kid51 cotto  I've got enough browses on this box already; I don't want to have to add another.
02:53 kid51 Was using Safari for stuff like this.  But Safari 4 is just too bloated and slow.  Figured I try Camino.
02:53 kid51 Use SeaMonkey for most of my Parrot stuff 'cause I get both a browser and a news reader (more)
02:53 kid51 ... and I prefer following threads by news rather than mail.
02:53 kid51 Use Firefox on $job
02:54 kid51 I don't think Camino has View No Style
02:54 cotto I hardly ever use it, but it's nice to have.
02:56 kid51 Appears SeaMonkey has View No Style.
02:56 kid51 but now my eyes are tired and so...
02:56 * kid51 must sleep
02:56 purl $kid51->sleep(8 * 3600);
02:57 Whiteknight yeah, it's time for sleep for me too
02:57 Whiteknight good night gentlemen
02:58 cotto nnunley, if your changes don't break anything I'd be glad to look at and apply what you've got.
03:13 dukeleto joined #parrot
03:19 dukeleto_ joined #parrot
03:23 dukeleto joined #parrot
03:41 tetragon joined #parrot
03:47 tetragon_ joined #parrot
03:55 allison joined #parrot
03:56 dalek parrot: r40137 | petdance++ | trunk/src/pmc/object.pmc:
03:56 dalek parrot: removed unused var
03:56 dalek parrot: review: https://trac.parrot.org/parrot/changeset/40137/
04:16 TiMBuS joined #parrot
04:24 Zak joined #parrot
04:26 dalek parrot: r40138 | petdance++ | trunk/src/pmc/class.pmc:
04:26 dalek parrot: consting
04:26 dalek parrot: review: https://trac.parrot.org/parrot/changeset/40138/
04:33 jjore joined #parrot
04:34 Andy joined #parrot
04:56 dalek parrot: r40139 | petdance++ | trunk/src/pmc/filehandle.pmc:
04:56 dalek parrot: consting
04:56 dalek parrot: review: https://trac.parrot.org/parrot/changeset/40139/
05:10 dalek parrot: r40140 | petdance++ | trunk/src/io (3 files):
05:10 dalek parrot: consting
05:10 dalek parrot: review: https://trac.parrot.org/parrot/changeset/40140/
05:54 eternaleye joined #parrot
05:59 dalek parrot: r40141 | petdance++ | trunk/src/gc/alloc_memory.c:
05:59 dalek parrot: consting
05:59 dalek parrot: review: https://trac.parrot.org/parrot/changeset/40141/
07:58 cotto How do we solve the problem of having platform-specific pbc files in a release?
07:58 cotto It doesn't seem to be covered in the release manager's guide.
08:01 cotto It looks like if I make a release with the current process, the native pbc tests will fail on any platform other than mine because of out-of-date pbc files.
08:10 mikehh cotto: IIRC there was some discussion on this - It was not resolved - which is why those tests are TODO'd
08:11 mikehh We need to have this set up on different platforms and merged somehow
08:14 iblechbot joined #parrot
08:16 mikehh I am not sure if we just need to consider i386 vs amd64 vs ppc or we need to consider Darwin vs Linux (various flavors), OpenBSD, Windows etc
08:16 mikehh I know there was a problem with Solaris
08:18 cotto I'd hate to put a release out there without solving this.
08:25 mikehh We would need platform specific binaries from the various platforms
08:26 cotto Yeah.
08:27 mikehh perhaps a tool to be shipped to generate them if they are not valid
08:27 cotto Setting up a system for getting those in place in a timely manner might not be doable before the release, but we could get a good start on it.
09:11 mikehh All Tests PASS  (pre/post config, smolder, fulltest) at r40141 - Ubuntu 9.04 amd64
09:30 darbelo joined #parrot
09:36 mokurai left #parrot
09:37 ruoso joined #parrot
09:42 mikehh rakudo (faf91f9) on parrot r40141 (spec up to 27603) fails t/spec/S06-signature/optional.rakudo - test 11
10:15 darbelo joined #parrot
10:51 MoC joined #parrot
10:58 bacek joined #parrot
11:03 tlbdk joined #parrot
11:03 tlbdk left #parrot
11:04 tlbdk joined #parrot
11:13 bacek o hai
11:19 Whiteknight joined #parrot
11:34 dalek parrot: r40142 | bacek++ | trunk/src/pmc/stringiterator.pmc:
11:34 dalek parrot: [cage][pmc] StringIterator.shift_pmc respect HLL for new PMCs. fperrad++
11:34 dalek parrot: review: https://trac.parrot.org/parrot/changeset/40142/
11:53 Whiteknight smolder?
11:53 purl smolder is http://sourceforge.net/projects/smolder or web-based smoke test aggregator used by developers and testers to upload (automated or manually) and view smoke/regression tests using the Test Anything Protocol (TAP). or http://smolder.plusthree.com/app​/public_projects/smoke_reports/8
12:01 MoC joined #parrot
12:48 kid51 joined #parrot
13:11 payload joined #parrot
13:14 whoppix joined #parrot
13:37 flh joined #parrot
13:40 dalek TT #847 created by jkeenan++: Interpreter - 'exec' and 'spawn' should split own args
13:50 dalek TT #848 created by jkeenan++: 'spawnw' return value:  make it OS-independent
13:51 janus joined #parrot
14:00 dalek TT #849 created by jkeenan++: OS.pmc - update file times
14:13 dalek parrot: r40143 | fperrad++ | trunk/compilers/pge/PGE/Match.pir:
14:13 dalek parrot: [PGE] improve find_key
14:13 dalek parrot: when no keys are specified, skip no Capture element, ie. optable specific element
14:13 dalek parrot: for example, in :
14:13 dalek parrot:        <expr> => PMC 'Lua;Grammar' => "1.\n" @ 4 {
14:13 dalek parrot:            <type> => "term:"
14:13 dalek parrot:            <top> => Hash {
14:13 dalek parrot:                "assoc" => "left",
14:13 dalek parrot:                "expect" => 513,
14:13 dalek parrot:                "match" => "PGE::Match",
14:13 dalek parrot:                "name" => "term:",
14:13 dalek parrot:                "parsed" => PMC 'Sub' { ... },
14:13 dalek parrot:                "precclose" => "=",
14:13 dalek parrot:                "precedence" => \parse[0][0][0]precclose?,
14:13 dalek parrot:                "syncat" => 16
14:13 dalek parrot:            }
14:13 dalek parrot:            <number> => PMC 'Lua;Grammar' => "1." @ 4
14:13 dalek parrot:        }
14:13 dalek parrot: review: https://trac.parrot.org/parrot/changeset/40143/
14:17 dalek lua: 86137e0 | fperrad++ |  (5 files):
14:17 dalek lua: use the opcode 'iter' instead of a instantiation of 'Iterator'
14:17 dalek lua: review: http://github.com/fperrad/lua/commit/86​137e0c9edda0d5113ef125e331edd1405e3c3e
14:17 dalek lua: 12b5c4c | fperrad++ | src/PASTGrammar.tg:
14:17 dalek lua: The behaviour of iterator has changed.
14:17 dalek lua: So, we need to specify the key what we want, in find_key() method.
14:17 dalek lua: review: http://github.com/fperrad/lua/commit/12​b5c4c65409b0955123b82bf4df85273be66616
14:36 AndyA joined #parrot
14:43 dalek TT #850 created by jkeenan++: Handle loadlib and libraries with '.' in the name
14:44 pmichaud ....I don't understand   "The behavior of iterator has changed"
14:45 kid51 pmichaud:  fperrad is not on channel, so you may have to email him
14:55 Topic for #parrotis now http://www.parrot.org/ | 285 RTs left | Next release: 2009-07-21
14:56 uniejo joined #parrot
15:23 jhorwitz joined #parrot
15:27 Zak joined #parrot
15:44 cotto good morning
15:44 purl Here I am, brain the size of a planet, and all they say is 'Good Morning'
15:45 cotto That's a lie.
15:45 jhorwitz purl's brain is full of malted hops and bong resin
15:46 jhorwitz wow, no response.  :)
15:46 pmichaud purl's brain?
15:46 purl purl's brain is, like, at http://infobot.org/ (very old code) or at http://flooterbuck.sourceforge.net/ (old code) or ask hachi for current code
16:07 theory joined #parrot
16:08 allison joined #parrot
16:15 nnunley pmichael: Got a second?
16:15 nnunley Grr.  Fingers.
16:17 nnunley pmichaud: Trying to figure why my code base isn't unescaping text. How does the baseline nqp handle escape characters?  I don't see any code that explicitly does it.
16:18 pmichaud nnunley: which escape characters?
16:18 nnunley \n, unicode, etc.
16:18 pmichaud I don't know if nqp handles unicode yet.  (It will after the release.)
16:19 pmichaud But the \n and other escapes are handled by the string_literal rule, defined in PCT::Grammar
16:19 nnunley Hrm.
16:20 pmichaud the string literal rule puts the unescaped version of the string into the .ast of the match object, iirc
16:20 nnunley So that should be happening implicitly by the compiled nqp grammar?
16:21 pmichaud in src/Grammar/Actions.pir:929
16:21 pmichaud ##            make PAST::Val.new( :node($/), :value(~($<string_literal>)) );
16:21 pmichaud should instead have
16:21 pmichaud ...   :value(~($<string_literal>.ast))
16:22 pmichaud i.e., the $<string_literal> node does the unescaping, but holds the unescaped value in the .ast
16:22 nnunley Same thing with the inline_pir_statement string literal?
16:22 Limbic_Region joined #parrot
16:23 pmichaud in that case I don't think we want any escapes
16:23 pmichaud normally the inline_pir_statement should be kept as-is
16:23 nnunley Makes sense.
16:24 pmichaud anyway, inline_pir_statement is going away too (in favor of Q:PIR { ... } )
16:25 * nnunley nods.
16:32 dalek TT #851 created by pmichaud++: [DEPRECATED]  .find_key method on PGE;Match objects
16:35 dalek parrot: r40144 | pmichaud++ | trunk/DEPRECATED.pod:
16:35 dalek parrot: [DEPRECATED]  Record deprecation of PGE::Match.find_key .
16:35 dalek parrot: review: https://trac.parrot.org/parrot/changeset/40144/
16:36 cotto How long is tge going to stay around?
16:36 cotto just ooc
16:38 pmichaud until someone says we don't need/want it anymore, I guess
16:41 |MoC| joined #parrot
16:41 mj41_ joined #parrot
16:42 Andy joined #parrot
16:42 d4l3k_ joined #parrot
16:44 cxreg joined #parrot
16:46 mokurai joined #parrot
16:47 dalek joined #parrot
16:47 rg joined #parrot
16:47 cognominal joined #parrot
16:48 Maddingue joined #parrot
16:50 slavorgn joined #parrot
16:52 Coke joined #parrot
16:53 slavorg joined #parrot
16:54 japhb joined #parrot
16:56 Psyche^ joined #parrot
16:58 tetragon joined #parrot
16:59 flh joined #parrot
17:14 treed A pager that supports colors?
17:14 treed (For use with ack.)
17:16 uniejo joined #parrot
17:17 Andy most pagers do
17:20 pmichaud Andy: any ideas about http://rt.perl.org/rt3/Tic​ket/Display.html?id=67674 ?
17:20 Andy crud
17:20 Andy No, I don't
17:20 Andy are you deleeting the spam?
17:21 treed less doesn't seem to
17:21 treed I get the raw color codes.
17:21 pmichaud Andy: I delete it when I notice it (and have time), but I haven't been doing it regularly.
17:22 Andy treed: Check the command line switches
17:22 Andy pmichaud: Maybe we can figure something next week
17:22 pmichaud Andy: okey doke
17:23 Andy i'm still doing c tutorial slides
17:23 Andy maybe I'll look tonite
17:23 Andy left #parrot
17:23 Andy joined #parrot
17:23 Andy I hate closing the wrong window
17:28 treed Andy: Yeah, you need -r for some reason. Thanks.
17:29 treed Is there anything preferred to view .pod besides perldoc?
17:29 Andy pod2html foo.pod | lynx -stdin
17:29 treed Does that render code fragments?
17:29 * treed tries it.
17:30 treed Helps if I have lynx installed.
17:31 Andy man, you're too fussy
17:32 Andy just imagine what lynx would do, man....
17:32 dalek wmlscript: eae7d6d | fperrad++ | src/pmc/wmlsbytecode.pmc:
17:32 dalek wmlscript: use PMC_IS_NULL
17:32 dalek wmlscript: review: http://github.com/fperrad/wmlscript/commit​/eae7d6d58af3e391c232ef06e34ed03cb349b05c
17:36 Andy fperrad: Good idea.
17:36 purl Andy: Good Idea: Ordering a chili dog to go. Bad Idea: Ordering a chili dog that makes you go.
17:38 dalek parrot: r40145 | petdance++ | trunk/config/gen/opengl.pm:
17:38 dalek parrot: use PMC_IS_NULL instead of matching to PMCNULL
17:38 dalek parrot: review: https://trac.parrot.org/parrot/changeset/40145/
17:39 chromatic joined #parrot
17:41 treed I note that exception.type is always an integer, rather than a string. Is it expected that a Parrot-using language will map all exceptions to a numeric type, or are we supposed to just check the name in the handler and rethrow if it's not what we're interested in?
17:45 dalek lua: 768e3aa | fperrad++ | t/lfs.t:
17:45 dalek lua: fix test on Linux
17:45 dalek lua: review: http://github.com/fperrad/lua/commit/76​8e3aacd606c0e7e890013b0b42bfeb24141b06
17:56 pmichaud treed: I think it's up to each language to decide.
17:56 treed I wonder why strings aren't allowed as types.
17:56 pmichaud a language can certainly attach whatever exception information it wants to the exception
17:57 pmichaud it's not that strings "aren't allowed", it's just that they're not there by default
17:57 treed But you can't use that for handles_types.
17:57 pmichaud ahhhh, that.
17:57 purl i think ahhhh, that is what i was thinking
17:57 treed Well, the type attribute is specifically a list of ints.
17:57 pmichaud testing for strings in handles_types is likely to be relatively expensive
17:58 treed Even if you make it a hash or something?
17:58 pmichaud yes, even then.
18:00 treed Testing for strings in the handler itself is also likely to be just as expensive though.
18:00 treed So I guess the better solution is just a type -> integer mapping.
18:06 |MoC| joined #parrot
18:32 eternaleye joined #parrot
18:37 dalek lua: eeeaa8f | fperrad++ | src/pmc/luabytecode.pmc:
18:37 dalek lua: use PMC_IS_NULL
18:37 dalek lua: review: http://github.com/fperrad/lua/commit/ee​eaa8f6a9d49b4d51e7a6c32aabc779a24518e0
18:37 dalek lua: b3368e9 | fperrad++ | src/lib/luaaux.pir:
18:37 dalek lua: use the opcode 'iter' instead of a instantiation of 'Iterator'
18:37 dalek lua: review: http://github.com/fperrad/lua/commit/b3​368e9795a867a915f90640fb43ac7ab646a161
19:24 payload joined #parrot
19:37 dalek decnum-dynpmcs: r113 | darbelo++ | trunk/aux/decTest/src/ (4 files):
19:37 dalek decnum-dynpmcs: More decTest work.
19:37 dalek decnum-dynpmcs:   Minor grammar adjustments.
19:37 dalek decnum-dynpmcs:   Shuffled the actions a bit.
19:37 dalek decnum-dynpmcs:   Added an auxilliary file, and some includes.
19:37 dalek decnum-dynpmcs:   It now generates correct code for tests.
19:37 dalek decnum-dynpmcs:   Contexts still need some work.
19:37 dalek decnum-dynpmcs: review: http://code.google.com/p/decnu​m-dynpmcs/source/detail?r=113
20:22 Limbic_Region joined #parrot
20:26 tetragon joined #parrot
20:51 treed .sub 'infix:<=>' :multi('CardinalArray','CardinalArray')
20:51 treed Is that not an allowed name for a sub?
20:58 treed Oh, nevermind. The reported source line was off.
21:00 cotto Yeah.  imcc is fun like that.
21:01 cotto Sometimes it's a little off and sometimes it's not even close.
21:03 treed It was close enough that I believed it.
21:03 treed 3 lines up
21:40 JC1 joined #parrot
21:47 dalek parrot: r40146 | allison++ | trunk/docs/pdds/pdd30_install.pod:
21:47 dalek parrot: [pdd] Add notes about packaging and distribution to Install PDD. Answer
21:47 dalek parrot: to TT #594.
21:47 dalek parrot: review: https://trac.parrot.org/parrot/changeset/40146/
21:50 dalek TT #594 closed by allison++: library distribution
21:55 szbalint joined #parrot
22:12 theory joined #parrot
22:37 rg1 joined #parrot
22:44 JC1 joined #parrot
22:49 allison_ joined #parrot
23:00 theory joined #parrot
23:04 theory_ joined #parrot
23:17 kid51 joined #parrot
23:25 theory joined #parrot
23:32 mikehh All Tests PASS  (pre/post config, smolder, fulltest) at r40146 - Ubuntu 9.04 amd64
23:34 nopaste "bacek" at 203.219.192.136 pasted "HashIterator patch." (109 lines) at http://nopaste.snit.ch/17317
23:34 bacek mikehh: care to test with my patch from nopaste?
23:47 theory joined #parrot
23:50 theory_ joined #parrot
23:51 theory joined #parrot

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

Parrot | source cross referenced