Camelia, the Perl 6 bug

IRC log for #parrot, 2008-05-06

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 dalek r27328 | jkeenan++ | trunk:
00:00 dalek : Applying patch submitted in
00:00 dalek : http://rt.perl.org/rt3/Tic​ket/Display.html?id=53600 eliminating
00:00 dalek : config/auto/python.pm and associated test file.
00:00 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27328
00:12 Eevee joined #parrot
00:35 cotto_work purl, svn st is <reply>svn: warning: '#parrot' is not a working copy
00:35 purl OK, cotto_work.
00:35 cotto_work svn st
00:35 cotto_work svn st
00:35 cotto_work svn st
00:36 cotto_work purl, forget svn st
00:36 purl cotto_work: I forgot svn st
00:36 cotto_work purl, svn st is <reply>svn: warning: '#parrot' is not a working copy
00:36 purl OK, cotto_work.
00:36 cotto_work svn st
00:36 cotto_work purl, svn st
00:36 purl svn: warning: '#parrot' is not a working copy
00:37 Infinoid svn st
00:37 Infinoid svn st?
00:37 purl svn: warning: '#parrot' is not a working copy
00:37 Infinoid hmm
00:37 cotto_work nobody's going to accidentally add a question mark
00:37 Infinoid All tests successful.
00:37 purl That's great, Infinoid! Now the only bugs that remain are the ones you haven't tested for yet!
00:38 Infinoid All tests successful
00:38 purl Infinoid: that's because you wrote only one test, slacker!
00:38 Infinoid obviously its capable of replying without a punctuation trigger
00:38 Infinoid ...but I don't know how.
00:39 cotto_work purl, (svn st) is <reply>svn: warning: '#parrot' is not a working copy
00:39 purl OK, cotto_work.
00:39 cotto_work svn st
00:39 cotto_work svn st.
00:42 particle[ventus] literal All tests successful
00:42 purl particle[ventus]: All tests successful =is= <reply>Time to write more tests!|<reply>Time for a well deserved vacation, $who!|<reply>$who: that's because you wrote only one test, slacker!|<reply>That's great, $who! Now the only bugs that remain are the ones you haven't tested for yet!|<reply>pass(); ok(1); is(1,1);|<reply>Are you feeling lucky?|<reply>Guess your work here is done, $who. Your notice of intestination will arrive shortly.
00:42 particle[ventus] literal svn st
00:42 purl particle[ventus]: svn st =is= <reply>svn: warning: '#parrot' is not a working copy
00:42 particle[ventus] harumph
00:43 cotto_work cargo cult time
00:43 cotto_work purl, svn st =is= <reply>svn: warning: '#parrot' is not a working copy|<reply>svn: warning: '#parrot' is not a working copy
00:43 purl OK, cotto_work.
00:43 cotto_work svn st
00:43 cotto_work I fail
00:44 particle[ventus] Svn st
00:45 particle[ventus] works when you msg purl
00:48 Infinoid svn st
00:48 Infinoid there's something purl isn't telling us. :)
00:54 Tene svn st?
00:54 purl svn: warning: #parrot is not a working copy
01:18 cotto_home purl, forget svn st
01:18 purl cotto_home: I forgot svn st
01:18 cotto_home purl, svn st is <reply>warning: #parrot is not a working copy
01:18 purl OK, cotto_home.
01:18 cotto_home svn st
01:19 cotto_home stupid bot
01:19 purl ugly bag of mostly water.
01:21 tetragon Bah, the version of svn I have would give 'svn: '#parrot' is not a working copy' or 'svn: '.' is not a working copy'
01:23 tetragon (OS X 10.5 comes with 1.3.1)
01:23 cotto_home I was seeing if the single quotes did anything
01:24 cotto_home purl seemed to be omitting them
01:24 purl cotto_home: sorry...
01:24 cotto_home you'd better be
01:25 * tetragon notices that the release she has will be celebrating its second birthday at the end of the month
01:37 Infinoid hahaha
01:37 Infinoid purl knows how to talk back :)
01:37 purl Infinoid: sorry...
01:39 tetragon Don't be sorry for that, purl
01:39 purl tetragon: what?
01:46 davidfetter joined #parrot
01:47 StaticShock joined #parrot
02:06 Bill joined #parrot
02:09 Billh joined #parrot
02:35 janus joined #parrot
03:11 spinclad pmichaud: sorry, was called away.  re  my $x; $x++; :  i don't see that matching any signature; it's not an Int or Num...
03:11 * Coke wonders why he told his boss he'd work on something from home tonight.
03:12 spinclad it only _might_ be one
03:12 Tene Masochist much?
03:12 * spinclad backlogs...
03:50 spinclad note though that for rationals, you don't have to do anything special to have 0/0 act generic:
03:53 spinclad C< my Rat $q = 0/0; $q++ >:  $q = $q + 1 == $q + 1/1:  0/0 + 1/1 == (0*1 + 1*0) / 0*0 == 0/0;  likewise + a/b, -, *, / .
03:55 spinclad s/0*0/0*1/
03:57 Billh I am seeing some parrot failures in math and arithmetic due to tests returning some type of number such as '0.000000' instead of '-0.000000', in other words due to the tests making a difference between 0 and -0.  If this intended?
03:57 spinclad (likewise, 1/0 behaves naturally as inf.)
03:58 Infinoid Billh: yes.  but not all platforms have the right floating point semantics for this... this is an area where we need to standardize further
03:59 spinclad Billh: parrot relies here on underlying IEEE arithmetic, which platforms differ on, and may be getting wrong (MS in particular, i think)
04:00 spinclad possibly the tests should accept either?
04:01 Billh would it make a difference in other parrot functions if the tests accepted either?
04:02 spinclad the tests and other functions should be harmonized, if they are not already
04:04 * spinclad wonders if 0.0 == -0.0 is/would be a sore point (tested already?)
04:06 Billh I have a couple of compilation warning patches (cage cleaning) ...is there a place to submit them?
04:06 spinclad rt?
04:06 purl rt is just RT (http://bestpractical.com/rt) or (:rt3) or (: rt bugs) or Obra's trouble ticketing system or the first IBM RISC workstation (http://www.contrib.andrew.c​mu.edu/~shadow/ibmrt.html) or the bombsquad or the Right Thing or very very capable and open-source or an application framework that bundles a ticketing system or obra's baby or SOOOO slow :-S or email mailto:perlbug-owner@perl.org for access
04:07 spinclad there
04:07 Billh thanks
04:12 Coke See docs/submissions.pod for more details on patch submittal.
04:12 Coke parrot patches?
04:13 Coke parrot patches is docs/submissions.pod
04:19 dalek r27329 | chromatic++ | trunk:
04:19 dalek : [JIT] Fixed three often-repeated compiler warnings (RT #53350, reported by
04:19 dalek : Coke).
04:19 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27329
04:30 peepsalot joined #parrot
04:33 tetragon joined #parrot
04:43 dalek r27330 | chromatic++ | trunk:
04:43 dalek : [JIT] Made headerizer work with arch-specific JIT files (RT #53168, reported by
04:43 dalek : Bob Rogers).
04:43 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27330
04:47 Psyche^ joined #parrot
04:54 Billh about -0 and 0: in http://en.wikipedia.org/wiki/IEEE_754 it says
04:54 Billh Every possible bit combination is either a NaN or a number with a unique value in the affinely extended real number system with its associated order, except for the two bit combinations negative zero and positive zero, which sometimes require special attention (see below). The binary representation has the special property that, excluding NaNs, any two numbers can be compared like sign and...
04:54 Billh ...magnitude integers (although with modern computer processors this is no longer directly applicable): if the sign bit is different, the negative number precedes the positive number (except that negative zero and positive zero should be considered equal), otherwise, relative order is the same as lexicographical order but inverted for two negative numbers; endianness issues apply.
04:55 Billh ...so is parrot going to differentiate between 0.0 and -0.0?
05:06 Coke That's a question for the list, I think. I'm not sure a determination has been made. (Though there are probably several RT tickets open about it.)
05:10 dalek r27331 | coke++ | trunk:
05:10 dalek : [Tcl] all tickets worth saving have been moved over to google.
05:10 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27331
05:11 Coke whoops, committed 3 files instead of one.
05:12 dalek r27332 | chromatic++ | trunk:
05:12 dalek : [src] Fixed some header mismatches.
05:12 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27332
05:15 dalek r27333 | chromatic++ | trunk:
05:15 dalek : [PIO] Made PIO_putps check that the PMC to which to write is sane.  Fixes the
05:15 dalek : crash in RT #52396, reported by Seneca Cunningham.
05:15 dalek : Enabled CONST_STRING for src/io/io.c.
05:15 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27333
05:37 dalek r27334 | chromatic++ | trunk:
05:37 dalek : [runtime] Disabled generation of deprecated vtable name constants (RT #48877).
05:37 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27334
05:49 dalek r27335 | coke++ | trunk:
05:49 dalek : [tcl]
05:49 dalek : Test for http://code.google.com/p/p​artcl/issues/detail?id=54
05:49 dalek : (catch exceptions in [inline])
05:49 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27335
05:57 uniejo joined #parrot
06:01 Psyche^ joined #parrot
06:45 iblechbot joined #parrot
07:19 dalek r27336 | fperrad++ | trunk:
07:19 dalek : [Lua]
07:19 dalek : - luad.pir : fix tests on win32
07:19 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27336
07:29 Zaba joined #parrot
08:07 Ademan joined #parrot
08:36 Jonathan Morning, all
08:36 moritz good morning ;)
08:47 dalek allison@perl.org | Concurrency Tasks:
08:47 dalek link: http://www.perlfoundation.org/pa​rrot/index.cgi?concurrency_tasks
08:47 shorten dalek's url is at http://xrl.us/bjqpy
09:27 IllvilJa joined #parrot
09:36 Jonathan Urk.
09:36 * Jonathan gets a segfault in the GC
09:37 Jonathan my Int $x = undef; say $x.WHAT
09:37 Jonathan Int
09:37 Jonathan my $x = undef; say $x.WHAT;
09:37 Jonathan Failure
09:37 Jonathan my Int $x = 42; say $x.WHAT; $x = undef; say $x.WHAT;
09:37 Jonathan Int
09:37 Jonathan Int
09:37 Jonathan moritz: Look correct to you?
09:39 dalek r27337 | jonathan++ | trunk:
09:39 dalek : [rakudo] Make it so we can assign undef to typed variables. In the case where it's a typed variable we're assigning it to, stick the proto-object in there instead.
09:39 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27337
09:41 moritz Jonathan: yes
09:42 Jonathan OK, that's one ticket down.
09:42 Jonathan Read up a bit on the Failure stuff, understand it a tad better now.
09:43 moritz it's amazing how much thought is in the synopsis. I couldn't fully appreciate that on first reading because I understood only 20%
09:43 moritz now I'm at 40% I guess ;)
09:44 Jonathan Some things when I first looked at them, I thought "how on EARTH will they implement that? glad I don't have to do it!"
09:44 moritz lol
09:44 Jonathan Apart from I've implemented some of those things now.
10:56 dalek r27338 | jonathan++ | trunk:
10:56 dalek : [rakudo] Make grammars more class-like. We now create protoobjects for them. Added a Grammar class, implementing the ACCEPTS method which calls TOP. Had to tweak the protoclass' ACCEPTS to also try the one in the class to make this work; should review if this is really the Right Way for this to work.
10:56 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27338
11:01 dalek r27339 | jonathan++ | trunk:
11:01 dalek : [rakudo] Smart-matching against a grammar should set $/.
11:01 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27339
11:23 wknight8111 joined #parrot
11:37 rdice joined #parrot
12:19 Zaba joined #parrot
12:19 dalek r27340 | jonathan++ | trunk:
12:19 dalek : [rakudo] Make grammar inheritance work.
12:19 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27340
12:21 * Jonathan takes lunch
12:59 * Jonathan returns
13:02 gryphon joined #parrot
13:16 dalek r27341 | jonathan++ | trunk:
13:16 dalek : [rakudo] Should be able to smartmatch against grammar protoobject as well as an instantiation of it.
13:16 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27341
13:19 mire joined #parrot
13:31 rdice joined #parrot
13:31 dalek r27342 | jonathan++ | trunk:
13:31 dalek : [rakudo] Implement .perl method on junctions. Mostly based upon a patch courtesy of Zach Morgan <zpmorgan@gmail.com>.
13:32 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27342
13:36 dalek r27343 | jonathan++ | trunk:
13:36 dalek : Give Zach Morgan a CREDITS entry.
13:36 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27343
13:48 dalek r27344 | jonathan++ | trunk:
13:48 dalek : [rakudo] .perl methods for Num, Int and Str.
13:48 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27344
14:34 Andy joined #parrot
16:50 ilbot2 joined #parrot
16:56 dalek r27350 | jonathan++ | trunk:
16:56 dalek : [rakudo] Panic on the unimplemented method call operators for now, so folks know they don't work rather than think they're broken. :-)
16:56 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27350
17:04 davidfetter joined #parrot
17:14 cjfields joined #parrot
17:22 pmichaud joined #parrot
17:22 wolverian joined #parrot
17:22 Jonathan joined #parrot
17:22 Juerd joined #parrot
17:23 dalek joined #parrot
17:27 PerlJam joined #parrot
17:27 leo joined #parrot
17:35 cotto_work svn st
17:35 ambs cotto_work, svn is dead.
17:35 * ambs grins
17:36 pmichaud Parrot trunk seems broken to me
17:36 Jonathan sounds like time for me to go do dinner...
17:37 Jonathan Will do private methods later on.
17:37 ambs pmichaud, updating, configuring and compiling
17:38 pmichaud ambs:  does this mean that the broken trunk is a known/expected failure?
17:38 pmichaud I get to the part that is building config.php (I think), and I get an endless loop of "Cannot put to non-PIO PMC"
17:39 pmichaud sorry, config.fpmc
17:39 ambs pmichaud, no, no. I am just updating to check if it is your ault.
17:39 pmichaud Jonathan++  # excellent work as always
17:42 ambs make run ok
17:42 moritz pmichaud: I get the same messages
17:42 moritz I think it's in "make languages"
17:44 pmichaud hmmm
17:44 pmichaud I just did a fresh checkout and it builds fine
17:44 cjfields joined #parrot
17:45 pmichaud weird.
17:45 jq joined #parrot
17:47 Coke local changes, need a realclean... ?
17:47 pmichaud no local changes, did a realclean
17:47 davidfetter joined #parrot
17:47 pmichaud removing the directory and checking it out again fixed it, though.
17:47 pmichaud so I'm guessing a missing dependency or realclean isn't real clean enough.
17:48 ambs :D
17:48 Coke you removed the directory so no chance of figuring out what it was?
17:48 pmichaud right.
17:48 Coke Cannot put to non-PIO PMC ?
17:49 pmichaud that was the error message.
17:49 Coke I just did 'svn up && make -j realclean && perl Configure.pl && make -j' and am stuck in that loop.
17:49 Coke I'll see if I can track it down.
17:50 cognominal jonathan++
17:51 Coke that's a very recent change by chromatic.
17:55 dalek r27351 | pmichaud++ | trunk:
17:55 dalek : [pct]:
17:55 dalek : * Fix 'call' generation of PAST nodes so that "Null PMC in invoke"
17:55 dalek :   messages now read "Cannot invoke non-existent sub 'foo'".
17:55 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27351
17:56 particle what's it do for anon subs?
17:56 * particle reads the patch
17:57 paco same error here :  Cannot put to non-PIO PMC
18:12 wknight joined #parrot
18:14 Infinoid I won't be around for #PS... I pasted my report early.
18:15 chromatic joined #parrot
18:15 particle well, if it isn't the man who broke parrot.
18:16 particle hi chromatic
18:18 Searle joined #parrot
18:21 Jonathan Ooh, I'm actually going to be here for (the first 25 mins of) ParrotSketch for once...
18:22 Zaba ParrotSketch?
18:22 purl somebody said ParrotSketch was 18:30 UTC, Tuesdays or a weekly status meeting for parrot design team
18:22 Zaba 18:30.. +03:00.
18:22 cotto_work purl, ParrotSketch is also held in #parrotsketch
18:22 purl okay, cotto_work.
18:22 Ivatar joined #parrot
18:23 AndyA joined #parrot
18:23 Zaba do my maths fail or it started already?
18:23 particle no, parrotsketch is a status meeting for parrot core committers held every Tuesday at 18:30 UTC in #parrotsketch
18:23 purl okay, particle.
18:24 particle your maths fail. it starts in 6m
18:24 particle there is no daylight savings time in UTC, you need to adjust
18:24 Zaba ahh
18:24 Zaba yeah, right..
18:24 Jonathan particle: your englishes fail. ;-)
18:24 Zaba I still can't remember that I'm in +04, not +03
18:24 Zaba +03 is in winter..
18:25 Zaba but I will still miss it
18:30 allison joined #parrot
18:30 spinclad it's time
18:32 * particle pokes coke
18:33 chromatic joined #parrot
18:34 NotFound joined #parrot
18:40 Coke 66+661-86-700
18:40 purl -59
18:41 chromatic -59?
18:41 Coke 66+661
18:41 purl 727
18:42 chromatic allison, I won't have time to hack until late tonight.
18:42 Coke 66+661+86-700
18:42 purl 113
18:42 Coke there. 113 tickets left to close.
18:42 chromatic Huh.  RT said we have 738 or something.
18:43 Coke you're missing stalled. :|
18:43 allison chromatic: I'm about to sleep here, so won't wrap up until after you go to sleep, probably
18:43 chromatic I don't miss those.
18:43 Coke there are probably 50 tickets that are just crap and can be closed.
18:43 chromatic I'm going by new + open.
18:43 Coke so only 27, then.
18:44 * particle doesn't mind 30 failing tests, if we are told how to fix them
18:44 chromatic Pretty sure I fixed RT #53492.
18:48 NotFound chromatic: #53352 is still open?
18:49 allison particle: I've been triaging the tests and fixing them as I go. there's one thing I know I have to do,  though not sure I can explain it well enough to hand off. otherwise, it's "look at the test, figure out why it's failing, and fix it"
18:49 chromatic Closing now, NotFound.  Thanks.
18:50 particle allison: the usual, then :)
18:50 particle figured there might be "change all rethrow to throw" or similar to do
18:51 Coke 26!
18:51 purl 4.03291461126606e+26
18:53 paco Perl exists : http://maps.google.es/maps?f=q&amp;hl=es&am​p;geocode=&amp;q=perl+alemania&amp;sll=40.3​96764,-3.713379&amp;sspn=11.641133,20.56640​6&amp;ie=UTF8&amp;ll=49.472419,6.390524&amp​;spn=0.019409,0.054245&amp;t=h&amp;z=15
18:53 shorten paco's url is at http://xrl.us/bj8a8
18:55 particle tene: trailing commas allowed both in rakudo and nqp now?
18:55 pmichaud tene++
19:00 iblechbot joined #parrot
19:02 dalek r27352 | allison++ | trunk:
19:02 dalek : [exceptions] Noting a series of deprecated features from the concurrency
19:02 dalek : implementation branch.
19:02 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27352
19:03 Jonathan pmichaud: Perl 6 concurrency - yes, but I think it might be a case of, whoever does a good implementation first mostly makes the spec..
19:04 chromatic Three more tickets closed.
19:04 Jonathan pmichaud: One thing for ROADMAP - explicitly mention IO on there?
19:04 pmichaud where should it go?
19:05 Jonathan I'm not entirely sure...it's not low priority really, as I think people need it to Do Stuff.
19:06 Coke (stuff to close) this guy has 4 pending patches: http://rt.perl.org/rt3/Tic​ket/Display.html?id=53552
19:06 Jonathan But there's other big things that need doing too, and it's not like we have no I/O at all at the moment.
19:06 pmichaud I'm going to treat IO around the 'modules' area
19:06 Jonathan OK, works for me.
19:06 pmichaud it's also not like I/O is officially spec'd yet, either :-D
19:07 dalek r27353 | allison++ | pdd25cx:
19:07 dalek : [exceptions] Merging 'throw' and 'throwcc', the one-argument versions were
19:07 dalek : identical anyway.
19:07 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27353
19:07 Jonathan True, but the bits floating around aren't officialy hated either, so far as I'm aware. :-)
19:07 chromatic In Parrot or in Perl 6?
19:08 Coke allison: you had +1'd changing "compilation unit" to sub, neh?
19:08 Coke er, "subroutine"
19:08 pmichaud I/O not officially spec'd in Perl 6 -- there's a draft in the pugs repo
19:08 Jonathan chromatic: I'm talking about Perl 6.
19:09 pmichaud I suspect I/O will be a little ahead of lazy lists, although they have a lot in common
19:09 Eevee is the fh read operator still (planned to be) prefix:=?
19:09 pmichaud Eevee: last I checked it still was, yes.
19:10 Coke chromatic: you were going to poke at 43719, neh?
19:10 Coke (comes with patch and everything!)
19:10 Eevee hm.  I don't know if '$line = =$fh' will ever look not weird
19:10 Jonathan Eevee: It's even somewhoat implemented.
19:10 Eevee oh really
19:10 Jonathan But only using it on for loops...
19:10 Eevee I don't even know how files are opened
19:11 pmichaud (concurrency) I'm guessing the April 30 design meeting notes aren't published yet?
19:11 dalek r27354 | pmichaud++ | trunk:
19:11 dalek : [rakudo]:
19:11 dalek : * Add I/O to ROADMAP, for clarity.  Jonathan++
19:11 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27354
19:11 Jonathan my $fh = open("filename.txt", :r);
19:11 allison coke: in what context?
19:11 Jonathan for =$fh -> $line { say $line }
19:11 Jonathan $fh.close();
19:11 allison coke: 'compilation unit' is really mainly an abstract concept
19:11 dalek r27355 | chromatic++ | trunk:
19:11 dalek : [PIR] Improved the error message for invoking a non-existent dynamic sub (fixes
19:11 dalek : RT #49972).
19:11 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27355
19:11 pmichaud chromatic++
19:12 pmichaud now I can rip out my PCT patch :-)
19:12 Eevee awesome
19:12 Coke allison: if you could comment on http://rt.perl.org/rt3/Tic​ket/Display.html?id=49001, that'd help. =-)
19:12 chromatic Coke, sounds familiar.  What did you want me to do?
19:12 Eevee well, except that global open() is a bit of a wart
19:12 pmichaud Eevee: lots of the builtins are "global"
19:12 Coke chromatic: ISTR that you and I were both confused how that opcode could have not failed tests.
19:12 pmichaud print()  say()   etc.
19:12 chromatic True.
19:13 Jonathan I find it preferable to Something::Very::Long::To::Just::open($thisfile, :r);
19:13 Jonathan ;-)
19:13 Coke maybe change it to throw an exception on use and then see if anything breaks, if not, deprecate it and apply my patch.
19:13 Eevee I know, and I don't really have any better suggestion that doesn't look ridiculous  (my $fh = new file('file_that_already_exists')?  ugh)
19:13 pmichaud allison: RT#49001 comes about because the pdd19 draft often says "compilation unit" when most of us would think "sub".  To me a "compilation unit" is a complete file or text (which could have multiple subs), and so reading pdd19 is a bit awkward
19:14 allison coke: ah, in that context it's really an accident of history: at one point subs were labels and compilation units were something else
19:14 allison then subs graduated to being compilation units
19:14 allison and all the other kinds of compilation units died off
19:14 Jonathan Eevee: You can if you want do (I think, though this maybe isn't yet implemented) my $fh = IO.new(); $fh.open(...);
19:14 allison so, really sub == compilation unit now
19:14 pmichaud we had discussed this in a #ps long ago and the general concensus (iirc) was that "compilation unit" should refer to a file or complete item sent to the compiler
19:15 allison pmichaud: that's the thing, a subroutine now is a complete item sent to the compiler
19:15 allison it's the largest unit the compiler handles at a time
19:15 pmichaud that's not entirely accurate
19:15 allison yeah
19:16 allison there's also various directives
19:16 pmichaud when PGE or PCT generates a string of PIR that contains multiple subs, the compiler handles them all and returns an Eval object
19:16 particle my IO $x .= open( 'foo.txt', :r );
19:17 Eevee oh ho, I like that
19:17 allison pmichaud: in the larger sense, a "compilation unit" is giving the largest body across which a label can be used
19:17 pmichaud label or symbol?
19:17 allison either
19:18 pmichaud then I think a compilation unit for IMCC is larger than just a sub.
19:18 allison at least, in the sense of a PIR .local symbol
19:18 allison (anything stuffed in a symbol table doesn't count)
19:18 pmichaud right, I'm referring to symbols in the compiler's table, not runtime
19:18 allison labels can't be used outside of a subroutine
19:18 allison neither can .locals
19:19 pmichaud but .sub can
19:19 allison outside of a .sub, that is
19:19 allison .sub defines the compilation unit
19:19 pmichaud no, for :anon subs the only way to refer to it is from within the same file.
19:19 allison and, produces something that's inserted into the symbol table
19:20 pmichaud for example,    .const .Sub corou = "ws_corou"
19:20 allison we're talking in circles. All I meant to say is that at one time the name "compilation unit" made sense in that context
19:20 pmichaud okay.
19:20 allison but that time really has passed
19:21 pmichaud I'm not disagreeing with that.  I'm asking what it should be.  :-)
19:21 pmichaud (and advocating that it should refer to a file as opposed to individual subs)
19:21 allison I don't know that it matters much what the top-level non-terminal rule is called, 'subroutine' is fine
19:22 pmichaud (also, it doesn't matter to me what it's called in the imcc yacc grammar -- I was referring primarily to pdd19)
19:22 allison just a sec, I'll take a look and check if it's parsing anything other than .sub
19:22 pmichaud s/was/am/
19:24 allison yeah, that rule parses .sub, namespace definitions, and constant declarations, so "subroutine" really doesn't make sense
19:24 allison oh, and macros and pragmas, and...
19:25 allison but 'compilation_unit' is also entirely inappropriate
19:26 allison for pdd 19, yeah, it doesn't really need to mention compilation units at all
19:26 parrot-poke "routine" is shorter
19:26 parrot-poke shy sub
19:26 parrot-poke why sub i mean
19:28 dalek r27356 | jonathan++ | trunk:
19:28 dalek : [rakudo] Bug fix to protoobject ACCEPTS change from earlier.
19:28 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27356
19:30 pmichaud the use of "compilation unit" in pdd19 is _really_ confusing.
19:30 pmichaud We just lost power here (I'm on cell now) so I'm going to run some other errands for a while
19:30 Jonathan back in an hour or so
19:31 pmichaud notebook+gprs+bluetooth == priceless
19:31 Ivatar joined #parrot
19:31 pmichaud (actually, I guess it has a price.  $20/month.)
19:32 pmichaud back later.
19:33 Coke Theoretically, every non-system include in a parrot .c file should be reflected as a dependency in the top level Makefile, neh?
19:34 Coke (but is less crucial than catching generated fiels)
19:40 particle is there a makedeps prog that can be used to figure those out?
19:40 particle or scandeps
19:40 purl well, scandeps is really much more aggressive.
19:41 Coke scandeps is perl. neh?
19:42 particle i don't recall. however, eight years ago i had a c utility to follow the #include chains
19:42 ambs joined #parrot
19:42 particle can't remember what it was called
19:53 Coke chromatic: did you add an opcode but not renumber the ops? (is that kosher?)
19:53 mj41 joined #parrot
19:53 dalek r27357 | allison++ | pdd25cx:
19:53 dalek : [pdd25cx] Move exceptions over to the concurency scheduler, mainly keeping the
19:53 chromatic I added to experimental.ops, which I believe is okay.
19:53 dalek : same interface while ripping out the guts.
19:53 dalek :     * Changed 'push_exception' to 'Parrot_cx_add_handler'.
19:53 dalek :     * Moved 'run_cleanup_action', 'Parrot_push_action', 'Parrot_push_mark',
19:53 dalek :       'Parrot_pop_mark' out of src/exceptions.c into src/stacks.c.
19:53 dalek :     * Changed 'count_exception_handlers' to 'Parrot_cx_count_handlers_typed'.
19:53 dalek :     * Deleted 'get_exception_handler' function and 'get_eh' opcode.
19:53 dalek :     * Deleted 'get_all_exception_handlers' function and 'get_all_eh'.
19:53 dalek :     * Replaced 'pop_exception' with 'Parrot_cx_delete_handler_typed' (new
19:53 dalek :       function) in all found uses.
19:53 Coke chromatic: k.
19:53 dalek :     * Several header changes from rerunning 'make headerizer'.
19:53 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27357
19:54 chromatic Oh dear, make headerizer.
19:54 chromatic Some of those changes likely break things.
19:54 allison chromatic: I had to revert one file
19:55 chromatic I've seen it eat #ifdefs
19:55 mj41 TapTinder blame chromatic ... http://tt.perl6.cz/ .. two newly failing tests in 27355 :-)
19:57 Coke ooh, nifty.
19:57 Coke does that really build every version?
19:57 mj41 yes
19:58 dalek allison@perl.org | Concurrency Tasks:
19:58 dalek link: http://www.perlfoundation.org/pa​rrot/index.cgi?concurrency_tasks
19:58 shorten dalek's url is at http://xrl.us/bjqpy
20:00 dalek will@coleda.com | Concurrency Tasks:
20:00 dalek link: http://www.perlfoundation.org/pa​rrot/index.cgi?concurrency_tasks
20:00 shorten dalek's url is at http://xrl.us/bjqpy
20:01 dalek r27358 | chromatic++ | trunk:
20:01 dalek : [t] Fixed test breakage caused by r27355 (reported by Michal Jurosz).
20:01 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27358
20:02 Coke mj41: ooc, does it do them sequentially, or does it do the latest one and then backfill? is it smart enough to skip commits that happen on branches?
20:03 mj41 \msg Coke it is too stupid now
20:04 particle[ventus] joined #parrot
20:04 mj41 http://mj41.cz/wiki/TapTinder
20:09 Coke added taptinder to the resources page on the website.
20:12 Coke taptinder wiki is http://mj41.cz/wiki/TapTinder
20:18 dalek allison@perl.org | Concurrency Tasks:
20:18 dalek link: http://www.perlfoundation.org/pa​rrot/index.cgi?concurrency_tasks
20:18 shorten dalek's url is at http://xrl.us/bjqpy
20:31 davidfetter joined #parrot
20:35 rhr joined #parrot
21:02 jq joined #parrot
21:11 teknomunk joined #parrot
21:12 gryphon_ joined #parrot
21:26 cotto_work joined #parrot
21:26 * Jonathan is back from having something try to inject the Slovak language into his head. :-)
21:32 particle[ventus] joined #parrot
21:34 rdice left #parrot
21:38 barney joined #parrot
21:52 cjfields joined #parrot
21:53 Sartak_ joined #parrot
21:57 dalek r27359 | jonathan++ | trunk:
21:57 dalek : [rakudo] Parse scoped routine declarations, and stub into actions.pm with panics all of the things that we need to fill out to implement these.
21:57 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27359
22:08 mire joined #parrot
22:11 pmichaud I'm again getting the "Cannot put to non-PIO PMC" error message.  Should I try to track it down?
22:11 pmichaud or just remove and start over?
22:12 pmichaud in the odd "FWIW" category, "svn status" shows a spurious src/io/io.str file.
22:14 chromatic That .str file probably needs to be in the ignore thingielist.
22:15 chromatic barney usually fixes those for me.
22:15 Coke AHA!
22:15 NotFound pmichaud: a friend tell me that deleting all and reloading from cvs solved the issue for him.
22:15 Coke is io.str in the clean list?
22:15 chromatic Should be.
22:15 pmichaud NotFound: yes, that's what I did earlier as well.  But I was wondering if I needed to go further.
22:15 chromatic Probably isn't.
22:15 pmichaud I suspect it isn't
22:16 pmichaud and that there's a new constant string in io that wasn't there before.
22:16 Coke yah, c just added io.str, IIRC
22:16 pmichaud and since we don't have .str deps marked, ....
22:16 pmichaud isn't io.str auto-generated?
22:16 chromatic We do, if you reconfigure.
22:17 pmichaud I did a make realclean.
22:17 moritz same here
22:17 pmichaud followed by perl Configure.pl
22:17 pmichaud and make
22:17 pmichaud and then got the repeating error message
22:17 Jonathan lwall++ # sane answer to my types question
22:17 pmichaud aha, my strategy worked.  :-)
22:18 pmichaud aha, make realclean *fails*
22:18 Coke it do? it don't here.
22:18 chromatic I blame society.
22:18 Jonathan Think I have one follow-up question from it, but I'll look at it again when it's not after midnight and I haven't had a one and a half hour Slovak lesson. :-)
22:19 nopaste "pmichaud" at 76.183.97.54 pasted "'make realclean' fails in trunk" (10 lines) at http://nopaste.snit.ch/12907
22:19 Jonathan I think that's about all from me today...pretty tird now.
22:19 Jonathan s/tird/tired/
22:19 lidden joined #parrot
22:19 Coke That warning seems to think you didn't finish config'ing the first time. hurm.
22:20 chromatic Agreed.
22:20 pmichaud I haven't done anything odd beyond a svn up
22:20 chromatic Is your computer on drugs?
22:20 pmichaud let me try again
22:20 chromatic Should it be?
22:20 Jonathan Today's report: http://use.perl.org/~Jonath​anWorthington/journal/36343
22:21 Tene jonathan++
22:22 chromatic ahh
22:22 chromatic now I'm getting that error.
22:22 pmichaud I blame chromatic.
22:22 chromatic I'm part of society.
22:22 pmichaud Them too.  :-)
22:24 dalek r27360 | coke++ | trunk:
22:24 dalek : [repo]
22:24 dalek : ignore newly generated .str file in src/io
22:24 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27360
22:25 Coke (that's just the ignore, not the clean)
22:26 Coke ... our .str remove is globs instead of specifics. Grumble.
22:26 Coke ... we already *have* the list...
22:29 Coke Ok.
22:29 Coke realclean now removes src/io/io.str.
22:30 Coke would anyone else like to see how the props changed in our commit emails?
22:30 dalek r27361 | coke++ | trunk:
22:30 dalek : [build]
22:30 dalek : When removing generated STR files, just remove the ones we know about,
22:30 dalek : so we don't have to maintain the list of deps -and- the list of things
22:30 dalek : to remove. (same list!) - this catches the newly added src/io/io.str
22:30 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27361
22:31 Coke I am hoping it was the remove of src/io/io.str that did it; seems to work now.
22:32 pmichaud mine was working for a while too and then re-appeared.
22:32 pmichaud but we'll see if it happens again.
22:32 chromatic Yeah.
22:32 chromatic Mine too.
22:32 purl Mine too. are you approaching 1800 now?
22:32 pmichaud I left 1800 about 208 ago.
22:32 moritz HEAD still doesn't work
22:32 pmichaud moritz: you may need to rm trunk and re-checkout
22:32 Coke don't say HEAD. say R27361.
22:33 Coke at some point an svn up should work. =-)
22:33 moritz pmichaud: already did that once
22:33 Coke moritz: are you doing a realclean?
22:33 pmichaud uh oh, guess what.  Just got it again.
22:33 moritz Coke: yes
22:33 pmichaud r27361.
22:33 moritz svn up; make realclean; perl Makefile.PL && make smoke
22:33 Coke ok. try regen'ing the makefile from 27361 and then doing it again.
22:34 Coke that is, re config, then realclean, then config and build.
22:34 Coke (since the makefile you ahve before the svn is now out of date.)
22:34 paco Hi, make realclean, configure, and make <--> error reappears ..
22:34 moritz ok, I'll try taht
22:34 Coke paco:see what I just said. =-)
22:34 * pmichaud shudders at the thought that this might be ccache-related again.
22:34 chromatic I've never had a ccache problem.
22:35 pmichaud I recall several months ago where I had a problem that was reproducible when using ccache
22:35 Coke and I disbelieved pmichaud when he said he did, but it was reproducible for him.
22:36 Coke yup. seems ok for me now, and I was seeing it before.
22:36 moritz aye
22:37 moritz built worked, smoke is running
22:38 japhb chromatic: I need some variant of 53430 and 53406 pretty soon -- and they have a conflict.  So, can you apply 53406, and then let me know if my response to your 53430 objection was acceptable, so I can regenerate that patch and get *it* committed?
22:40 chromatic I'll look at it.
22:40 davidfetter joined #parrot
22:41 japhb chromatic: thank you!
22:44 chromatic Hm, the problem is that the .str file for src/io/io.c points to the wrong entry in the constant table.
22:45 Coke all the time, or only when it's leftover?
22:46 chromatic When I do a realclean and then a parallel build.
22:46 chromatic Probably then it's not getting cleaned up appropriately.
22:47 chromatic ... but it's in STR_FILES.
22:49 chromatic If I change the .str file to have the correct line number and touch src/io/io.c and rebuild, things are fine.
22:52 chromatic ahh.
22:52 chromatic I think I found it.
22:55 chromatic That should do it.
22:56 chromatic dalek, ping
22:56 dalek r27362 | chromatic++ | trunk:
22:56 dalek : [config] Added a dependency to src/io/io.c on src/io/io.str; missed in r27340.
22:56 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27362
23:01 NotFound chromatic: works here.
23:02 chromatic It was two parts.
23:02 chromatic First, Coke's patch cleaned up the old src/io/io.str file.
23:02 tetragon joined #parrot
23:03 chromatic Second, my patch made rebuilds happen based on changes to that file.
23:04 NotFound The funny thing is that don't failed for me until the previous.
23:04 tetragon chromatic: This morning's patch brings my usual test crash count down to five (and I think the hcf sigbus is intentional)
23:05 chromatic I agree about hcf.
23:05 chromatic I'll try to get you down to four this week.
23:11 davidfetter joined #parrot
23:28 Sartak joined #parrot
23:35 Coke chromatic: ah. normally that would be handled by the rule of .str -> .c, but since there was already an explicit dep there...
23:35 Coke I do find it odd that gmake at least isn't smart enough to infer the generic when you have the specific too.
23:38 chromatic One probably overrides the other.
23:40 Coke Shirley. Just annoying.
23:42 davidfetter ...and don't call me shirley!
23:49 dalek r27363 | pmichaud++ | trunk:
23:49 dalek : [pct]:
23:49 dalek : * Revert the earlier change for throwing an exception on non-existent
23:49 dalek :   subs, as Parrot now handles it for us.  (chromatic++)
23:49 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27363
23:49 dalek r27364 | pmichaud++ | trunk:
23:49 dalek : [rakudo]:
23:49 dalek : * Fix trailing whitespace coding error.
23:49 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27364
23:52 dalek r27365 | chromatic++ | trunk:
23:52 dalek : [src] Tidied the code slightly and documented some undocumented functions.
23:52 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27365
23:57 wknight8111 where is the best place to learn about coroutines? PDD19?
23:58 Coke google for coroutine sandwich?
23:58 wknight8111 is that really a term?
23:59 Coke er, no. That's a "continuation sandwich".
23:59 Coke sorry. =-)
23:59 * tetragon puts away the bread and jam
23:59 wknight8111 "sandwich"? Really? I mean, that's not exactly a technical term
23:59 chromatic Yeah, but it explains how continuations work.

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

Parrot | source cross referenced