Camelia, the Perl 6 bug

IRC log for #parrot, 2008-11-05

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 rdice joined #parrot
00:09 AndyA joined #parrot
00:29 Theory joined #parrot
00:41 dalek r32353 | Whiteknight++ | calling_conventions:
00:41 dalek : [calling_conventions] renamed function Parrot_pcc_invoke_helper to Parrot_pcc_invoke_from_sig_object on suggestion from Allison++
00:41 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32353
01:00 magnachef joined #parrot
01:09 dalek r32354 | Whiteknight++ | calling_conventions:
01:09 dalek : [calling_conventions] killed function Parrot_pcc_invoke_sub_from_sig_object in favor of the new (and identical) Parrot_pcc_invoke_from_sig_object.
01:09 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32354
01:20 dalek r32355 | coke++ | trunk:
01:20 dalek : [t] Fix skip count so test passes.
01:20 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32355
01:28 petdance joined #parrot
01:47 dalek r32356 | coke++ | trunk:
01:47 dalek : Remove .pragma n_operators, closing out RT #57438.
01:47 dalek : This leaves no .pragma remaining, so remove .pragma support.
01:47 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32356
01:50 Coke ... sure, now that robrt closed out my svn ticket, NOW i start getting commit issues again.
01:56 Coke Whiteknight: I stole your .pragma ticket.
01:57 * Whiteknight presses charges
01:57 Whiteknight that's fine, I probably didn't have time for it yet
01:59 chromatic Whiteknight: http://research.microsoft.com/~sim​onpj/papers/parallel-gc/index.htm
02:00 Whiteknight I think I may have read this one already, but I'll take a double look
02:01 chromatic I saw it in a discussion of GHC 6.10.
02:17 kid51 joined #parrot
02:32 davidfetter joined #parrot
02:49 Ademan joined #parrot
03:19 magnachef__ joined #parrot
03:33 szabgab @messages
03:34 szabgab @messages[0]
03:34 szabgab @messages[0].say
03:34 szabgab @messages.pop
03:34 Tene try /msg purl messages
03:35 szabgab thanks, I thought it is perl6 code..
03:37 szabgab Coke: thanks, File-ShareDir-PAR-0.02 also failed for me, I should investigate
03:37 szabgab have you forced it?
03:43 sjansen joined #parrot
03:48 Psyche^ joined #parrot
04:05 cotto win!
04:25 japhb joined #parrot
04:28 magnachef joined #parrot
04:32 Coke (forced) nope.
04:32 nopaste joined #parrot
04:44 TonyC joined #parrot
05:19 dalek r32357 | coke++ | trunk:
05:19 dalek : Remove some [DEPRECATED] (and unused) mmd functions.
05:19 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32357
05:19 chromatic Sweet.
05:26 Coke ?
05:28 chromatic Removing code is good.
05:29 Coke mmm
05:30 Coke Those were the easy ones.
05:35 chromatic And now they're gone.
05:36 chromatic Big win.
05:36 purl big win is when you pretend that http isn't stateless
06:14 sjansen joined #parrot
06:19 * Coke tries to remove find_global and has a ton of tests fail.
06:20 chromatic HEY I was going to do that.
06:20 chromatic Patch stealer!
06:20 Coke I'm in the middle of an EPIC FAIL.
06:27 chromatic Really?  Mine's working.
06:28 Coke chromatic++
06:29 Coke I thought it was going well, but I tried temporarily removing the opcodes, doing a build, updating everythign I found. I then reverted the opcode change, and did a make test. "boom".
06:29 Coke (so just updating runtime/ was not working out for me.)
06:29 Coke if you have something working, awesome.
06:39 Zaba joined #parrot
06:41 Coke ->
07:24 japhb joined #parrot
07:26 * sjn gets a "Null PMC access in get_string()" error when running latest perl6 "Hello World"
07:26 moritz sjn: define "latest". svn? or latest release?
07:27 sjn svn
07:27 sjn At revision 32357.
07:28 moritz sjn: does it work with ../../parrot perl6.pbc -e 'say "hellow world"'
07:29 sjn same error
07:30 sjn pastebin?
07:30 purl rumour has it pastebin is see nopaste. or see shadowpaste
07:30 Zaba_ joined #parrot
07:30 sjn nopaste?
07:30 clunker3 http://pasta.test-smoke.org/ or http://paste.husk.org/ or http://nopaste.snit.ch:8001/ or http://rafb.net/paste or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/
07:30 purl nopaste is, like, at http://nopaste.snit.ch/ (ask TonyC for new channels) or http://rafb.net/paste or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ or App::Nopaste or tools/dev/nopaste.pl or at http://www.extpaste.com/
07:30 moritz weird... did you try a 'make realclean' first?
07:32 nopaste "sjn" at 84.215.55.4 pasted "Hello World fails" (7 lines) at http://nopaste.snit.ch/14482
07:32 sjn yes
07:33 sjn had a few warnings during build though
07:33 uniejo joined #parrot
07:35 sjn none of them look serious though
07:36 * sjn tries again
07:36 moritz well, I have no clue. Could you please open a ticket? mailto:rakudobug@perl.org (including information about your system)
07:37 sjn mm
07:37 sjn if the error is still there after a rebuild, I'll look into it
07:54 iblechbot joined #parrot
08:01 sjn seems it's ok now :-)
08:06 moritz so it didn't work after the first 'make realclean' + rebuild, but worked fine after the second?
08:19 chromatic Wow, an exception handler crash in multi-threaded code.
08:20 chromatic Easy to explain though.
08:20 UltraDM joined #parrot
08:20 chromatic If your thread throws an exception and you don't have a handler, Parrot won't exit.
08:20 chromatic find_exception_handler will return NULL.
08:21 chromatic But Parrot_ex_throw_from_c doesn't expect that and tries to dereference the pointer.
08:29 particle1 joined #parrot
08:29 Zaba joined #parrot
08:31 chromatic ... and fixed.
08:32 dalek r32358 | chromatic++ | trunk:
08:32 dalek : [exceptions] Fixed a segfault when a thread threw an exception without an
08:32 dalek : active handler.  The handler finding code now detaches the thread.  The main
08:32 dalek : interpreter exits in this situation, but previously the handler finding code
08:32 dalek : returned NULL, which the handler invoking code happily dereferenced.  BOOM.
08:32 dalek : Per RT #45917, this check should probably move into Parrot_exit, but one thing
08:32 dalek : at a time.
08:32 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32358
08:37 dalek r32359 | chromatic++ | trunk:
08:37 dalek : [t] Replaced all uses of deprecated find_global opcode with get_hll_global and
08:37 dalek : get_global opcodes.
08:37 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32359
09:16 cosimo joined #parrot
10:02 magnachef__ joined #parrot
10:13 mj41 joined #parrot
10:15 masak joined #parrot
11:04 tomyan joined #parrot
11:05 bacek g'night everyone
11:06 masak bacek: good night.
11:06 purl sleep well too
11:07 bacek masak: I've readsubmit my revised junction patch directly to #60168... My mail didn't hit RT in more than 16 hours...
11:07 bacek masak: so, you can try it :)
11:07 masak bacek: goodie.
11:07 masak I will when time permits.
11:07 bacek masak: fair enough
11:10 kj joined #parrot
12:02 gmansi joined #parrot
12:16 magnachef joined #parrot
13:11 ruoso joined #parrot
13:53 jhorwitz joined #parrot
14:00 gryphon joined #parrot
14:24 PacoLinux joined #parrot
14:30 masak joined #parrot
14:49 magnachef joined #parrot
15:04 * Coke yawns.
15:04 * Patterner stuffs a durian cookie on Coke's open mouth
15:23 * Coke vomits.
15:23 Coke . o O (Sorry. :|)
15:23 Coke bug going around the haus.
15:23 Coke anyone remember what '.global' was? was it like '.local'?
15:24 Coke (can't seem to use it anymore, but it's still taking up space in imcc.[yl])
15:25 kj .global was never implemented
15:25 kj the keyword was there, but you'd get some message I believe, saying it's not implemented
15:26 kj I think it was *supposed* to be like .local, but then... ehm. well globally scoped :-)
15:28 Coke ok. then I think it can be safely removed.
15:29 Coke (unless someone is relying on the error message you get when you try to use it..)
15:29 particle1 blame the line and search the log
15:29 kj yes I think it was removed already from the parser
15:29 PerlJam remove it and see who screams
15:30 kj it never has worked, AFAIK
15:30 particle yes, i agree with kj, but it's better to check first than remove without warning
15:32 Coke if it hasn't worked, then removing it won't matter.
15:33 particle *sigh*. we need more tests.
15:33 kj I suspect that ack \.global won't give you anything, except perhaps in imcc itself
15:33 Coke it's only used in an .s file, which isn't PIR/PASM.
15:33 kj what *is* an .s file?
15:33 Coke particle: as long as they are real tests, sure! =-)
15:33 jonathan Assembly, ain't it?
15:34 particle yes, .s is assembly
15:34 kj that's a N/A then
15:37 kj well, the *wrong* assembly :-)
15:38 particle ok, how do i start X?
15:38 particle kubuntu 7.10
15:39 moritz startx
15:39 moritz or do you want /etc/init.d/kdm start?
15:39 davidfetter joined #parrot
15:40 particle actually, now i have a console process that i can't interrupt with ^C ^D or ^Z
15:41 particle so i can't even try to start x
15:41 particle is there some three-finger salute i should try?
15:42 moritz go to another terminal? Ctrl+Alt+F2
15:52 Coke future events?
15:53 Zaba particle, try ^\
15:53 * Coke wonders why his 'make test' is suddenly so verbose on feather.
16:11 Coke rant: I just ran a very long test cycle, but my changes to imcc.y and .l didn't cause a rebuild, even with --maintainer.
16:20 kj so bison and flex weren't invoked then..
16:21 Coke nope. timestamp trouble.
16:25 Coke particle: any serious objection to removing the last remnant of .global?
16:25 Coke (which isn't used, all tests pass, couldn't possibly have worked.)
16:25 particle remove it!
16:26 Coke k. letting 'codetest' finish, will commit then.
16:32 masak Coke++
16:32 dalek r32360 | coke++ | trunk:
16:32 dalek : remove last remnant of '.global' from IMCC.
16:32 dalek : - the token is recognized, but has no function; it's not used, and is going away as part of the 'global' cleanup mentioned in DEPRECATED.pod.
16:32 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32360
16:47 Theory joined #parrot
16:55 ruoso joined #parrot
16:59 gryphon joined #parrot
17:18 hercynium joined #parrot
17:22 johbar joined #parrot
17:28 magnachef joined #parrot
17:32 magnachef__ joined #parrot
17:46 rdice joined #parrot
18:23 sjansen joined #parrot
18:24 dalek r32361 | coke++ | trunk:
18:24 dalek : [DEPRECATED] these ops have been deprecated for some time; mark them so that "./parrot -w" reports them.
18:24 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32361
18:38 sjn hello
18:38 Coke sjn: hio
18:38 * sjn thought of looking at some of the perl6 spectests
18:39 sjn just to get into it
18:39 sjn perhaps look for tests that don't need to be skipped anymore? :)
18:39 sjn any suggestions on where to start? :)
18:39 moritz sjn: no, that's automated ;)
18:40 sjn <- completely newbie
18:40 moritz sjn: t/TASKS in the pugs repository contains a list of things that need to be done in the test suite
18:40 sjn moritz: ok, what else would be good for a neophyte like myself to dig into? :)
18:41 moritz tests, tests, tests ;)
18:41 sjn I'll look there
18:41 sjn oh, Pugs isn't part of the parrot tree anymore
18:43 moritz it never was.
18:43 moritz (there was some pugs related stuff in the parrot repo, but that wasn't pugs itself, afaict)
18:43 moritz svn co http://svn.pugscode.org/pugs/
18:44 sjn ook
18:45 * sjn is checking out pugs
18:47 jonathan btw, if you just do make spectest, you can get a checkout just of the spectests too, under t/spec. I have done that, then I commit from that copy. :-)
18:48 sjn jonathan: now you tell me :)
18:48 moritz jonathan: but then you don't have t/TASKS, the README, HOWTO, the smartlinks checker etc.
18:49 sjn would it be an idea to check out those too, when checking out the spectest files?
18:50 particle no, unless they're moved to t/spec/
18:50 jonathan moritz: Oh, that's a good point. :-)
18:50 particle but, you could just co pugs/t/ if all you want is the tests
18:51 jonathan Will be having second Rakudo day this week, tomorrow.
18:51 * jonathan has some to catch up on after his vacation
18:51 jonathan Plus it's more fun than most of the other stuff I do...
18:55 sjn yay \o/
18:55 sjn jonathan: so, how long until the next time you're in Oslo? :)
18:56 jonathan sjn: Not sure - I'm planning to be at the next Nordic Perl Workshop.
18:56 sjn sweet :)
18:57 jonathan I like Oslo. Until I go to buy a beer. :-)
18:57 sjn wanna come to the hackathon too? :)
18:57 jonathan Ooh, that could be fun.
18:58 jonathan The last Oslo hackathon was good, so I'd happily attend another one.
18:58 sjn sweet
18:59 moritz next year I'll come to Oslo as well (if it works out), to visit some of my girlfriend's family (and vacation, of course ;)
19:00 jonathan Ah, 2 day hackathon after 2 day workshop. And on a weekend too.
19:00 jonathan Looks good.
19:00 purl O_O
19:00 Tene argh.  Work just scheduled me for a flight from SLC to ATL on the 16th
19:00 Tene Leaving at 1:30 PM.
19:01 Tene I sent them mail.  They're supposedly coming up with a solution.
19:01 sjn http://www.perlfoundation.org/perl6/​index.cgi?oslo_perl_6_hackaton_2009
19:02 jonathan OK, food time...back later.
19:06 chromatic joined #parrot
19:09 krunen hi, all. Should I do anything if I find a spec test that passes for rakudo, but is not in t/spectest.data?
19:10 moritz krunen: depends on the file...
19:10 moritz krunen: which one is it?
19:10 moritz S29-math/trig.t isn't in t/spectest.data because the test file is wrong
19:11 moritz connect.t isn't in it because it doesn't run any test by default
19:13 * moritz should learn how to not scare off people ;)
19:17 krunen moritz: ok, trying to find it again... I lost my history :(
19:17 moritz krunen: http://irclog.perlgeek.de/parrot/today helps a lot ;)
19:17 particle i think he means shell history
19:18 moritz oh.
19:18 chromatic http://twitter.com/kroah then
19:25 krunen here it was, sorry: S02-literals/char-by-name.t
19:25 dalek r32362 | moritz++ | trunk:
19:25 dalek : [rakudo] improved documentation of tools/update_passing_test_data.pl, masak++
19:25 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32362
19:27 moritz dang, the local svn hangs again
19:27 Coke chromatic: so; as long we do incremental updates where all tests pass in between, there's no reason not to do the type ids work in trunk, izzer?
19:27 Coke moritz: been seeing those for the past few days.
19:28 Coke chromatic: I'm thinking we could put in the first patch from the branch that removed '.Integer' and friends.
19:31 chromatic +1 from me.
19:33 davidfetter joined #parrot
19:35 bacek joined #parrot
19:38 dalek r32363 | coke++ | trunk:
19:38 dalek : [docs] update filename so the perldoc hint actually works.
19:38 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32363
19:39 jonathan For the Parrot summit - do I just book a room at the hotel myself? That's for me to organize, right? Also, anyone wanting to share?
19:39 Coke chromatic: I tried but it requires some loving care I can't afford atm.
19:39 Coke I'll see if I can do it later.
19:40 chromatic I managed to fix some of the find_global stuff last night.
19:40 chromatic Found and fixed a bug in threads and exceptions at the same time.
19:44 particle jonathan: go ahead and book a room, i've reserved 6 double-doubles and three single-kings for now
19:45 jonathan particle: OK, should I book a double-double and assume someone will want to share?
19:46 jhorwitz particle: any super secret password we should give to get the rates?  :)
19:46 particle i'm just sending an email to jeanine about that now, jhorwitz
19:46 jhorwitz coolio
19:47 particle jonathan: sure, go ahead with that plan
19:47 jonathan OK
19:48 jonathan particle: I'm arriving on the Thursday rather than Friday. But I think I may, since I'm flying into SFO which is nearer the city than the conference hotel/venue, stay in the city the night before and then on the Friday come to the conference hotel.
19:49 jonathan jhorwitz: I see you also arrive into SFO. How were you planning on doing the airport to the hotel?
19:49 jhorwitz either rental, cab, or quantum teleportation
19:50 jonathan Fancy meeting at SFO and heading there together, and sharing the cost?
19:50 jhorwitz i think particle has dibs on the last one though.  ;-)
19:50 jhorwitz when are you getting in?
19:50 particle jonathan: wise move (hotel)
19:50 jhorwitz oh i see
19:50 jonathan jhorwitz: Well, I arrive the previous day, but plan to stay the night in the city.
19:50 jhorwitz yeah, let's do that.
19:51 jonathan From what I can see, the airport is in the correct direction anyway.
19:51 jonathan OK
19:51 jhorwitz done and done!
19:51 jonathan So you're in at 1:30pm?
19:51 jhorwitz no....checking....
19:51 davidfetter who's going to beijing perl workshop?
19:51 jonathan davidfetter: Are you?
19:51 davidfetter <-- heading to beijing in a couple of hours
19:51 davidfetter yep :)
19:51 particle jonathan, jhorwitz, there's also caltran. google transit is your friend
19:52 jhorwitz have to check that out
19:52 jhorwitz jonathan: i get in 6:58 PM
19:52 davidfetter if i didn't love traveling so much, i'd think it was my turn in the barrel this year
19:52 jonathan I spotted the caltran, but it doesn't go all the way.
19:52 Coke chromatic: saw that. I followed up with a removal of the old .global stub.
19:52 jonathan davidfetter: Beijing is nice - have a good time! :-)
19:52 davidfetter so i've heard
19:53 jonathan jhorwitz: Ah, OK. I was looking at the departures page rather than arrivals. ;-)
19:53 * davidfetter wondering whether they do beijing duck any better there than elsewhere
19:53 davidfetter not that i've had beijing duck much...
19:53 jhorwitz jonathan: does that still work for you?
19:53 particle jonathan: i have a minivan, and arrive at sjc early afternoon
19:53 particle also, we'll need a second car, so maybe i'll get one for you from sfo, jhorwitz
19:53 particle i get an excellent discount at avis
19:54 jhorwitz particle: that works.  esp. if anyone else is coming in early evening
19:54 jhorwitz to SFO
19:54 jonathan Ooh, do I have multiple offers here... :-)
19:55 jonathan I think pmichaud and I were going to try and do some Rakudo stuff on Friday afternoon after arriving...so earlier may work a bit better.
19:55 * jhorwitz is lonely
19:56 jhorwitz i'll check the arrivals page for potential companions...  :)
19:56 jonathan particle: How is SJC to get to?
19:56 TimToady phone in 5
19:57 davidfetter well, you have to be in SJ to get there, so not so hot
19:58 particle jonathan: ~$40 cab ride
19:58 particle ...from the hotel
19:58 dalek r32364 | coke++ | trunk:
19:58 dalek : [cage] fix typo in diagnostic
19:58 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32364
19:59 particle jonathan: when you book your room, you can use the 'parrot' group name. if they don't know what you're talking about, don't worry, they will soon enough.
20:00 Tene Aw, work chose to cancel my class instead of paying for my flight out of CA.
20:00 particle that's... silly.
20:00 jonathan particle: No, I meant from center of SFO to SJC
20:00 jonathan erm
20:00 jonathan Center of San Francisco to SJC...
20:00 jonathan grr
20:01 * jonathan thinks there's gotta be public transport
20:01 particle jonathan: you'll have to look at google transit or maps
20:01 jhorwitz um, gcc ouch: perl6.ops:106: error: unable to find a register to spill in class 'SIREG'
20:01 TimToady phone!!!!
20:01 purl phone is always interrupting
20:01 davidfetter jonathan, caltrain can get you most of the way
20:03 Coke seen allison?
20:03 purl allison was last seen on #parrot 1 days, 52 minutes and 20 seconds ago, saying: heads to airport  [Nov  4 19:11:15 2008]
20:04 Coke ... how about now?
20:05 jonathan davidfetter: thanks
20:05 Tene particle: not cancel, actually, just have someone else teach it.  I said 'cancel' because I was reading the trip cancelation email from expedia then.
20:06 davidfetter jonathan, check out http://511.org/
20:06 davidfetter re: beijing, anybody have an idea whether there's an easy way to get a local SIM card?
20:08 particle anyone reserving a room... you can email jeanine conforti directly if you wish at jconforti@jdvhotels.com. mention 'parrot', and she'll help you along.
20:11 mberends joined #parrot
20:54 jhorwitz jonathan: ping
20:58 jonathan jhorwitz: pong
20:59 jhorwitz the memcpys you added to perl6.ops recently are causing register issues with gcc on x86.  silly gcc memcpy optimization.
20:59 jhorwitz perl6.ops:106: error: unable to find a register to spill in class 'SIREG'
20:59 particle your fault for using such a flaky compiler, i guess
20:59 jonathan wtf...
20:59 * jhorwitz stomps on particle
20:59 chromatic Use memmove instead.
20:59 jhorwitz yes
20:59 jonathan Is there a pragma to disable it?
21:00 jhorwitz chromatic's solution is mine as well
21:00 jonathan fn
21:00 jhorwitz coolio
21:00 jonathan Feel free to just change 'em and commit, or I'll do it soon (tomorrow latest)
21:00 * jhorwitz wishes for more registers on x86
21:00 jhorwitz i'll go ahead and commit.
21:00 Coke chromatic: for RT#
21:01 * chromatic wishes for 32-bit pointers AND the use of his 64-bit machine's extra registers.
21:01 chromatic Coke?
21:01 purl hmmm... Coke is mailto:will@coleda.com
21:01 Coke 48014, it would be helpful (IMO) to have a patch that ripped out the union val and replaced it with whatever was going to replace it; then folks could apply that and fix build failures.
21:01 rob joined #parrot
21:02 Coke neh?
21:02 chromatic Mostly we just undefine PMC_int_val, PMC_pmc_val, PMC_struct_val, etc.
21:03 masak joined #parrot
21:03 masak hooray, :: works in class names again!
21:03 Coke what about int_val2?
21:03 * masak hugs jonathan
21:03 * moritz hugs November
21:03 chromatic Yeah, that too.
21:04 chromatic I just posted confederacy.patch to that ticket.
21:04 particle we definitely need cached ints for efficient array push/pop/shift/unshift
21:05 Coke if we're moving to attributes, we lose that, neh?
21:05 Andy joined #parrot
21:05 particle there's still room for cached values iirc
21:06 * Coke skips that ticket.
21:07 Coke chromatic: temporary_pmc_free doesn't return.
21:07 chromatic Yeah, that should be void.  Thanks!
21:09 particle to be clear, you should name that 'furlough' instead of 'escape'
21:09 jonathan What does furlough mean?
21:09 chromatic I think of GC as a prison, not a resort.
21:09 jonathan :-)
21:10 chromatic Hm, is SVN slow because I'm also downloading an interview, or are we cursed?
21:10 dalek r32365 | chromatic++ | trunk:
21:10 dalek : [src] Fixed return signature of temporary_pmc_free() (it's void), reported by
21:10 dalek : Will Coleda.
21:10 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32365
21:12 Coke we're cursed.
21:12 Coke It's been hanging on commit for some time.
21:13 jhorwitz hm, i just committed and it went fine
21:13 dalek r32366 | jhorwitz++ | trunk:
21:13 dalek : [rakudo] use memmove instead of memcpy to avoid gcc register spilling failures on x86
21:13 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32366
21:13 chromatic It was just slow, but it didn't hang.
21:13 chromatic Interesting.
21:16 Coke ->
21:16 particle .
21:24 bacek $ ../../parrot perl6.pbc -e 'my $j=(Bool::True&Bool::False); say ?$j == Bool::False; say ?(Bool::True&Bool::False) == Bool::False; say true($j); say true($j) == Bool::False;'
21:24 bacek 1
21:24 bacek 1
21:24 bacek 0
21:24 bacek 0
21:24 * bacek cries
21:25 chromatic You're in the wrong universe for the last two tests.
21:27 pmichaud say true($j) == Bool::False     # all(Bool::True, Bool::False)
21:27 pmichaud oh, perhaps not.
21:27 pmichaud because true($j) imposes boolean context.
21:28 bacek pmichaud: its bug in parsing (looks like)
21:28 bacek $ ../../parrot perl6.pbc --target=pir -e 'my $j=(Bool::True&Bool::False); say true($j).WHAT'
21:28 pmichaud I suspect it's a bug in the true() implementation.
21:29 bacek $P20 = $P19."WHAT"()
21:29 bacek $P21 = "true"($P20)
21:29 bacek $P22 = "say"($P21)
21:29 pmichaud yes, we currently have some difficulties with method calls on results of named unaries
21:29 bacek find_lex $P19, "$j" was few lines befoore
21:29 pmichaud that's a known bug.
21:29 bacek ah, ok...
21:30 bacek "true" implementation looks good for me...
21:30 pmichaud try   (try($j)).WHAT instead
21:30 pmichaud er,
21:30 pmichaud (true($j)).WHAT
21:30 pmichaud or even
21:30 pmichaud (true $j).WHAT
21:31 chromatic (true $^a).DAT
21:31 chromatic There, the "FORREALZ?" macro.
21:31 bacek Bool...
21:32 pmichaud so yes, it's a (known) parsing issue.
21:34 moritz it seems that parsing Perl 6 is non-trivial.
21:34 masak *gasp*
21:35 pmichaud how many lines of code is STD.pm ?  ;-)
21:35 moritz 4k
21:35 jonathan How many lines of code does it take to implement something that *runs* STD.pm? ;-)
21:35 moritz a few more ;)
21:35 particle use v6;
21:36 particle you didn't specify what language to use :P
21:38 jonathan :P
21:40 bacek $ ../../parrot perl6.pbc -e 'use Test; plan 1; $a="a"; $b="b"; $c="c"; ok(($a & "b" & "c") eq ("a" | $b| $c), "Passed")'
21:40 bacek No handler to delete.
21:40 bacek current instr.: 'parrot;PAST;Compiler;as_post' pc 6052 (src/PAST/Compiler.pir:1651)
21:40 bacek called from Sub 'parrot;PAST;Compiler;post_children' pc 1779 (src/PAST/Compiler.pir:367)
21:40 bacek yak...
21:41 bacek afk # kids, school, work...
21:41 pmichaud "No handler to delete" means that there's one-too-many pop_eh's somewhere.
21:41 bacek pmichaud: I didn't touch PCT :)
21:41 moritz bacek: when you write tests like this, take care that ok() doesn't autothread over its first argument
21:41 pmichaud I don't think that rakudo is autothreading at all yet.
21:41 moritz that's not an issue yet because autothreading is NYI
21:41 pmichaud but yes, in Perl 6 that would tend to autothread.
21:41 bacek moritz: it's from S03-junctions/misc.t
21:42 moritz but I don't want to see that in the test suite
21:42 moritz :(
22:00 dalek r32367 | kjs++ | trunk:
22:00 dalek : [pirc] fix symbol declarations and parameters. Parameters segfaulted, but this is fixed now.Refactor/redo some code.
22:00 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32367
22:02 kj joined #parrot
22:04 Whiteknight joined #parrot
22:07 * kj thought he'd broken pirc badly, but luckily it's still fine...
22:16 Whiteknight (not breaking things badly)++
22:17 particle *cough* GC *cough*
22:17 particle ;)
22:32 dalek r32368 | kjs++ | trunk:
22:32 dalek : [pirc] add support for braced arguments in macro expansion.
22:32 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32368
22:42 tewk_ Whiteknight: you coming to the summit?
22:42 Whiteknight Not sure yet, still working out the details
22:42 Whiteknight i would very much like to
22:43 tewk_ I'm starting to work with GCs in PLTScheme, I'd love to talk
22:43 tewk_ Is your GC work based off suns G1 at allt?
22:51 Whiteknight very distant relations, if any
22:56 Whiteknight i mostly made the algorithm up by myself, based on a few references I read
22:56 Whiteknight a little too ambitious, as it turned out
22:57 tewk_ So does the WKGC use conservative tracing of the stack.
22:57 tewk_ ?
22:58 tewk_ PLTScheme does some clever pre_processing of .c files to allow precise tracing of the stack.
22:59 tewk_ The G1 paper looks impressive.  complex but impressive.
22:59 jonathan Wow...that's...scary.
23:00 jonathan tewk_: Does that pre-processing claim to work generically on C, or have they impsoed some restrictions etc?
23:01 particle i'm sure "clever" means "quite limited in scope" and "vm-specific"
23:02 chromatic I'm sure it's also difficult to reason about dynops and dynpmcs too.
23:03 tewk_ jonathan: the only thing it requires is to unnest functioncalls, and that is just a formality.  other tools like CIL can do that automatically.
23:03 tewk_ b = x( a() )  => t = a(); b = b(t)
23:06 tewk_ dynops and dynpmcs would work just fine as long as they are preprocessed.
23:09 * jonathan ponders reading the paper out of curiosity
23:10 TiMBuS joined #parrot
23:11 clunker3_ joined #parrot
23:11 tewk_ G1 is different from what
23:11 tewk_ PLTScheme does
23:13 tewk_ Unfortunately I don't have a good single paper reference
23:13 jonathan I'm sure PLTScheme have a paper about their approach too.
23:13 jonathan ah
23:13 tewk_ I've got a prelim paper plus a dissertation I could point you to.
23:14 jonathan "Our guestrooms come equipped with a Yo-Yo, Etch A Sketch and Rubik's Cube" - so I read this and my first thought is, "and what about wifi?"
23:15 jonathan tewk_: Sure - I can always look at it if I get time.
23:15 chromatic Can you do concurrent stack scanning?
23:17 tewk_ sure as long as you stop the world.
23:17 tewk_ http://portal.acm.org/citation.cfm?id=​512429.512449&amp;coll=ACM&amp;dl=ACM&​amp;CFID=9660587&amp;CFTOKEN=69693195
23:18 tewk_ I can send you the pdf if you don't have acm
23:18 tewk_ http://www.cs.utah.edu/~aw​ick/awick-dissertation.pdf
23:18 particle jonathan: yes, the yo-yo has wifi. i'll have to check on the rubik's cube.
23:18 chromatic I meant incremental.
23:20 jonathan particle: Thanks...I've heard the wifi on the yo-yo tends to go up and down a lot...
23:25 tewk_ incremental stack scanning?
23:26 jonathan chromatic: You want to scan the stack of one thread, from another thread?
23:26 jonathan chromatic: Without having to suspend the thread whose stack you're scanning?
23:26 chromatic Yeah, I meant heap too.
23:26 chromatic Perhaps I should not multitask and discuss concurrent, incremental GC.
23:26 chromatic I get lost.
23:26 tewk_ It basically creates a tunnel through the stack containing only pointe values..
23:27 tewk_ pointer values.
23:27 tewk_ Right now its stop the world.
23:29 bacek_ joined #parrot
23:30 * jonathan is happy to see that California is a tad warmer than where he is right now
23:50 dalek r32369 | kjs++ | trunk:
23:50 dalek : [pirc] More Tricks with Bison and Flex.
23:50 dalek : * override Flex' memory allocation function, which now use Parrot's mem_sys_allocate and friends.
23:50 dalek : * add an option to the .y file which generates the header file; no more bison -d pir.y; just bison pir.y
23:50 dalek : * some other neat trick with the grammar to Do The Right Thing in case of unless a relop b goto L; in case of "unless", don't invert "gt" and "ge" ops, as they then will be inverted AGAIN, resulting in, you guess it: "gt" and "ge", they do not exist in Parrot.
23:50 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=32369
23:54 Andy joined #parrot

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

Parrot | source cross referenced