www.parrot.org/ | 291 RTs left | Next release: 2009-07-21
Set by moderator on 14 July 2009.
00:07 payload joined
darbelo cotto: ping 00:09
cotto darbelo, pong 00:10
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.
darbelo Right now I'm trying to make PCT ".include 'blah'" on the PIR it generates. 00:12
Is there an easy way to do that? 00:13
cotto trying to make includes work?
darbelo Not really, I want to be able to cal is(PMC, PMC) from test_more.pir 00:14
cotto Oh. You can just use some inline code directly. 00:15
darbelo I didn't know that. Can you point me to an example? 00:16
cotto sure. Do you have rakudo downloaded? 00:17
nm 00:18
PAST::Op.new( :inline('.include "interpinfo.pasm"') );
stolen from rakudo's actions
darbelo Well. That's simpler than I expected.
Most of PCT is simpler thatn I expected, really. 00:19
00:38 kid51 joined
nnunley Been digging, and cant' quite seem to find how nqp currently handles escaped characters in quoted strings. 00:45
dalek TT #841 closed by jkeenan++: t/examples/namespace.t is failing 00:56
00:59 jimmy joined
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:04
01:09 skids joined
jimmy The Pynie's way 01:13
cotto nnunley, it'll change after the 1.4 release on Tuesday. bacek++ stole much of rakudo's quoting code for nqp. 01:19
01:29 patspam joined 01:46 allison joined 01:58 Whiteknight joined
moderator www.parrot.org/ | 289 RTs left | Next release: 2009-07-21 02:00
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.
nnunley 3 from escape expansion failing, and one from infix:, not cleaning up an empty element at the end of the arglist. 02:13
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:15
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.
cotto I mean where's your code? 02:18
nnunley I understood. I was just making sure everything was pushed up to github before saying. :) 02:19
git@github.com:nnunley/nqp.git
cotto Does that still need compilers/nqp? 02:22
nm. I suppose you could check in the generated PIR. 02:23
nnunley I haven't added that yet.
cotto For some reason I was thinking in terms of pbc.
nnunley I suppose I should add the generated pir 02:24
That way the bootstrap should be mostly self encapsulated.
Just checked, and it looks like the infix:<,> problem needs to be fixed before the bootstrap can be used to compile itself. 02:28
cotto How big of a diff is there between your code and svn trunk? 02:30
Whiteknight hello 02:31
nnunley cotto: An extra test file. And lots of little fixes to make it work with the current grammar. 02:32
I could put together a basic diffstat pretty quickly. 02:33
cotto Cool. That's what I was hoping for.
It'll probably be too late to include it in 1.4, but it sound like it'll be ready pretty soon. 02:34
Hi Whiteknight
Whiteknight good evening cotto
kid51 Whiteknight: Isn't it past your bedtime ;-)
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?
Whiteknight Just wanted to sign on to the interwebs and say hi to my peeps
the wife is already asleep, so I'm on borrowed time
02:35 janus joined
Whiteknight kid51: you have a suggestion for a better font for me to use? 02:35
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
nnunley cotto: It's really only replacing Action.pir
cotto nnunley++ 02:37
kid51 Whiteknight: ISTR that chromatic's blog (not his OReilly blog; not his use.perl.org page) was nice. 02:39
i.e., modernperlbooks.com/mt/index.html
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.
Well, then, I guess I'll only read what you cross-post to planet.parrotcode.org 02:41
Whiteknight I do white-on-black for everything, the blog, my text editors, etc, so it's more readable for me 02:42
I don't like staring at a bright white screen for too long
kid51 But is your blog for *you* or for *your readers*? 02:44
Whiteknight ha, I'm not going to answer that 02:46
Until about a month ago I don't think it had any readers, so for several years it was just for me
kid51 Here's one that's a bit more readable: www.sidhe.org/~dan/blog/archives/2009_05.html 02:49
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.
I occasionally have to resort to that for really stupid sites (Whiteknight's blog not being among them).
Whiteknight the background to mine isn't black either, just a dark grey
and the text isn't white, it's a light grey
cotto I like it. It's easier on the eyes. 02:51
but yeah, it's personal choice.
kid51 cotto I've got enough browses on this box already; I don't want to have to add another. 02:52
Was using Safari for stuff like this. But Safari 4 is just too bloated and slow. Figured I try Camino. 02:53
Use SeaMonkey for most of my Parrot stuff 'cause I get both a browser and a news reader (more)
... and I prefer following threads by news rather than mail.
Use Firefox on $job
I don't think Camino has View No Style 02:54
cotto I hardly ever use it, but it's nice to have.
kid51 Appears SeaMonkey has View No Style. 02:56
but now my eyes are tired and so...
kid51 must sleep
purl $kid51->sleep(8 * 3600);
Whiteknight yeah, it's time for sleep for me too 02:57
good night gentlemen
cotto nnunley, if your changes don't break anything I'd be glad to look at and apply what you've got. 02:58
03:13 dukeleto joined 03:19 dukeleto_ joined 03:23 dukeleto joined 03:41 tetragon joined 03:47 tetragon_ joined 03:55 allison joined
dalek rrot: r40137 | petdance++ | trunk/src/pmc/object.pmc:
removed unused var
03:56
04:16 TiMBuS joined 04:24 Zak joined
dalek rrot: r40138 | petdance++ | trunk/src/pmc/class.pmc:
consting
04:26
04:33 jjore joined 04:34 Andy joined
dalek rrot: r40139 | petdance++ | trunk/src/pmc/filehandle.pmc:
consting
04:56
rrot: r40140 | petdance++ | trunk/src/io (3 files):
consting
05:10
05:54 eternaleye joined
dalek rrot: r40141 | petdance++ | trunk/src/gc/alloc_memory.c:
consting
05:59
cotto How do we solve the problem of having platform-specific pbc files in a release? 07:58
It doesn't seem to be covered in the release manager's guide.
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:01
mikehh cotto: IIRC there was some discussion on this - It was not resolved - which is why those tests are TODO'd 08:10
We need to have this set up on different platforms and merged somehow 08:11
08:14 iblechbot joined
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
I know there was a problem with Solaris
cotto I'd hate to put a release out there without solving this. 08:18
mikehh We would need platform specific binaries from the various platforms 08:25
cotto Yeah. 08:26
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.
mikehh All Tests PASS (pre/post config, smolder, fulltest) at r40141 - Ubuntu 9.04 amd64 09:11
09:30 darbelo joined 09:36 mokurai left 09:37 ruoso joined
mikehh rakudo (faf91f9) on parrot r40141 (spec up to 27603) fails t/spec/S06-signature/optional.rakudo - test 11 09:42
10:15 darbelo joined 10:51 MoC joined 10:58 bacek joined 11:03 tlbdk joined, tlbdk left 11:04 tlbdk joined
bacek o hai 11:13
11:19 Whiteknight joined
dalek rrot: r40142 | bacek++ | trunk/src/pmc/stringiterator.pmc:
[cage][pmc] StringIterator.shift_pmc respect HLL for new PMCs. fperrad++
11:34
Whiteknight smolder? 11:53
purl smolder is 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 smolder.plusthree.com/app/public_pr..._reports/8
12:01 MoC joined 12:48 kid51 joined 13:11 payload joined 13:14 whoppix joined 13:37 flh joined
dalek TT #847 created by jkeenan++: Interpreter - 'exec' and 'spawn' should split own args 13:40
TT #848 created by jkeenan++: 'spawnw' return value: make it OS-independent 13:50
13:51 janus joined
dalek TT #849 created by jkeenan++: OS.pmc - update file times 14:00
rrot: r40143 | fperrad++ | trunk/compilers/pge/PGE/Match.pir:
[PGE] improve find_key

for example, in :
   <expr> => PMC 'Lua;Grammar' => "1.\\n" @ 4 {
   <type> => "term:"
   <top> => Hash {
   "assoc" => "left",
   "expect" => 513,
   "match" => "PGE::Match",
   "name" => "term:",
   "parsed" => PMC 'Sub' { ... },
   "precclose" => "=",
   "precedence" => \\parse[0][0][0]precclose?,
   "syncat" => 16
   }
   <number> => PMC 'Lua;Grammar' => "1." @ 4
   }
14:13
a: 86137e0 | fperrad++ | (5 files):
use the opcode 'iter' instead of a instantiation of 'Iterator'
14:17
a: 12b5c4c | fperrad++ | src/PASTGrammar.tg:
The behaviour of iterator has changed.
14:36 AndyA joined
dalek TT #850 created by jkeenan++: Handle loadlib and libraries with '.' in the name 14:43
pmichaud ....I don't understand "The behavior of iterator has changed" 14:44
kid51 pmichaud: fperrad is not on channel, so you may have to email him 14:45
moderator www.parrot.org/ | 285 RTs left | Next release: 2009-07-21 14:55
14:56 uniejo joined 15:23 jhorwitz joined 15:27 Zak joined
cotto good morning 15:44
purl Here I am, brain the size of a planet, and all they say is 'Good Morning'
cotto That's a lie. 15:45
jhorwitz purl's brain is full of malted hops and bong resin
wow, no response. :) 15:46
pmichaud purl's brain?
purl purl's brain is, like, at infobot.org/ (very old code) or at flooterbuck.sourceforge.net/ (old code) or ask hachi for current code
16:07 theory joined 16:08 allison joined
nnunley pmichael: Got a second? 16:15
Grr. Fingers.
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:17
pmichaud nnunley: which escape characters? 16:18
nnunley \\n, unicode, etc.
pmichaud I don't know if nqp handles unicode yet. (It will after the release.)
But the \\n and other escapes are handled by the string_literal rule, defined in PCT::Grammar 16:19
nnunley Hrm.
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?
pmichaud in src/Grammar/Actions.pir:929 16:21
## make PAST::Val.new( :node($/), :value(~($<string_literal>)) );
should instead have
... :value(~($<string_literal>.ast))
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
pmichaud in that case I don't think we want any escapes 16:23
normally the inline_pir_statement should be kept as-is
nnunley Makes sense.
pmichaud anyway, inline_pir_statement is going away too (in favor of Q:PIR { ... } ) 16:24
nnunley nods. 16:25
dalek TT #851 created by pmichaud++: [DEPRECATED] .find_key method on PGE;Match objects 16:32
rrot: r40144 | pmichaud++ | trunk/DEPRECATED.pod:
[DEPRECATED] Record deprecation of PGE::Match.find_key .
16:35
cotto How long is tge going to stay around? 16:36
just ooc
pmichaud until someone says we don't need/want it anymore, I guess 16:38
16:41 |MoC| joined, mj41_ joined 16:42 Andy joined, d4l3k_ joined 16:44 cxreg joined 16:46 mokurai joined 16:47 dalek joined, rg joined, cognominal joined 16:48 Maddingue joined 16:50 slavorgn joined 16:52 Coke joined 16:53 slavorg joined 16:54 japhb joined 16:56 Psyche^ joined 16:58 tetragon joined 16:59 flh joined
treed A pager that supports colors? 17:14
(For use with ack.)
17:16 uniejo joined
Andy most pagers do 17:17
pmichaud Andy: any ideas about rt.perl.org/rt3/Ticket/Display.html?id=67674 ? 17:20
Andy crud
No, I don't
are you deleeting the spam?
treed less doesn't seem to 17:21
I get the raw color codes.
pmichaud Andy: I delete it when I notice it (and have time), but I haven't been doing it regularly.
Andy treed: Check the command line switches 17:22
pmichaud: Maybe we can figure something next week
pmichaud Andy: okey doke
Andy i'm still doing c tutorial slides 17:23
maybe I'll look tonite
17:23 Andy left, Andy joined
Andy I hate closing the wrong window 17:23
treed Andy: Yeah, you need -r for some reason. Thanks. 17:28
Is there anything preferred to view .pod besides perldoc? 17:29
Andy pod2html foo.pod | lynx -stdin
treed Does that render code fragments?
treed tries it.
Helps if I have lynx installed. 17:30
Andy man, you're too fussy 17:31
just imagine what lynx would do, man.... 17:32
dalek lscript: eae7d6d | fperrad++ | src/pmc/wmlsbytecode.pmc:
use PMC_IS_NULL
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.
dalek rrot: r40145 | petdance++ | trunk/config/gen/opengl.pm:
use PMC_IS_NULL instead of matching to PMCNULL
17:38
17:39 chromatic joined
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:41
dalek a: 768e3aa | fperrad++ | t/lfs.t:
fix test on Linux
17:45
pmichaud treed: I think it's up to each language to decide. 17:56
treed I wonder why strings aren't allowed as types.
pmichaud a language can certainly attach whatever exception information it wants to the exception
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.
pmichaud ahhhh, that.
purl i think ahhhh, that is what i was thinking
treed Well, the type attribute is specifically a list of ints.
pmichaud testing for strings in handles_types is likely to be relatively expensive
treed Even if you make it a hash or something? 17:58
pmichaud yes, even then.
treed Testing for strings in the handler itself is also likely to be just as expensive though. 18:00
So I guess the better solution is just a type -> integer mapping.
18:06 |MoC| joined 18:32 eternaleye joined
dalek a: eeeaa8f | fperrad++ | src/pmc/luabytecode.pmc:
use PMC_IS_NULL
18:37
a: b3368e9 | fperrad++ | src/lib/luaaux.pir:
use the opcode 'iter' instead of a instantiation of 'Iterator'
19:24 payload joined
dalek cnum-dynpmcs: r113 | darbelo++ | trunk/aux/decTest/src/ (4 files):
More decTest work.

   Shuffled the actions a bit.
   Added an auxilliary file, and some includes.
   It now generates correct code for tests.
   Contexts still need some work.
19:37
20:22 Limbic_Region joined 20:26 tetragon joined
treed .sub 'infix:<=>' :multi('CardinalArray','CardinalArray') 20:51
Is that not an allowed name for a sub?
Oh, nevermind. The reported source line was off. 20:58
cotto Yeah. imcc is fun like that. 21:00
Sometimes it's a little off and sometimes it's not even close. 21:01
treed It was close enough that I believed it. 21:03
3 lines up
21:40 JC1 joined
dalek rrot: r40146 | allison++ | trunk/docs/pdds/pdd30_install.pod:
[pdd] Add notes about packaging and distribution to Install PDD. Answer
21:47
TT #594 closed by allison++: library distribution 21:50
21:55 szbalint joined 22:12 theory joined 22:37 rg1 joined 22:44 JC1 joined 22:49 allison_ joined 23:00 theory joined 23:04 theory_ joined 23:17 kid51 joined 23:25 theory joined
mikehh All Tests PASS (pre/post config, smolder, fulltest) at r40146 - Ubuntu 9.04 amd64 23:32
nopaste "bacek" at 203.219.192.136 pasted "HashIterator patch." (109 lines) at nopaste.snit.ch/17317 23:34
bacek mikehh: care to test with my patch from nopaste?
23:47 theory joined 23:50 theory_ joined 23:51 theory joined