Camelia, the Perl 6 bug

IRC log for #parrot, 2008-07-04

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:01 pmichaud automatic generation will create A = A op B for those ops that aren't already previously defined.
00:02 pmichaud i.e., it'll be a fallback
00:06 Casan joined #parrot
00:10 AndyA joined #parrot
00:14 clochette joined #parrot
00:16 nopaste joined #parrot
00:26 Coleoid joined #parrot
00:33 kid51 joined #parrot
00:34 Coleoid I'm trying to build parrot on win32, and it's dying on 'stack_common.o: no such file or directory'.
00:35 Coleoid I was getting further, earlier, say last week, when I could create a working rakudo exe...
00:36 Coleoid But I svn upped, and now it stops here, even after a make clean.  Any ideas, anyone?
00:40 Theory joined #parrot
00:44 kid51 Here's an idea that probably *won't* apply in this case:  'make realclean' before 'svn up'.  'realclean' removes files created during both configuration and build; 'clean' only deletes files built during build.  That being said, I suspect your problems are more rakudo-specific and/or more win32-specific -- and I'm not expert on either.
00:46 Coleoid Well, thanks--I'll take even ideas that (probably) won't apply here...  I'm learning, so it all goes in the hopper.
00:47 Coleoid So are there tricks to 'perl Configure.pl' that might help me out?
00:48 kid51 Let me ask something more specific:  Is your failure occuring during Parrot's 'make' or during make perl6?
00:48 Coleoid During parrot's make.
00:48 kid51 Oh, then  I misunderstood.
00:49 kid51 But in that case, I would first try: make realclean;svn up;perl Configure.pl;make
00:49 kid51 ... if only to rule out possibility that your error was caused by some transient bug that has been fixed by an updated commit.
00:50 * kid51 is now following his own advice -- but on Linux
00:51 kid51 Where's that nasty bot purl?
00:51 Coleoid purl, make?
00:51 kid51 Taking a very long weekend?
00:52 kid51 No she's not there.  Wasn't there this morning IIRC.
00:53 Coleoid Nothing new when I updated...
00:53 Coleoid Rebuilding...
00:53 * kid51 successfully configured and built on Linux -- but then I'm successful 99% of the time there.
00:53 kid51 If you get a make error, paste it.
00:54 Coleoid Which paste is preferred here?
00:54 kid51 If purl were here, she'd list all of them.
00:54 Coleoid :D
00:55 kid51 Try http://nopaste.snit.ch
00:55 kid51 (our 'nopaste' bot's home)
00:56 kid51 Even after 'make', I have no file with name matching 'stack_common' on Linux.
00:56 Coleoid Hey, the make succeeded, big smile.  Now 'make test'.
00:58 Coleoid Or more literally, "mingw32-make test", but same thing.  Except to my carpal tunnels, who lodge a faint protest.
00:58 kid51 googling for 'stack_common.o' shows that it is a Parrot-related file.  It was mentioned in RT 56012 on Jun 19.
01:01 Coleoid So your 'realclean' suggestion may have been the ticket.
01:02 Whiteknight stack_common.c was removed this week from the build
01:02 Coleoid ...
01:03 Whiteknight you need to svn update to get the most recent version, and then make realclean to delete the old makefile
01:03 * bacek_ wander why S29-str/uc.t not in spectest_regression.
01:03 Coleoid ...so that Configure.pl will create one without the obsolete ref to stack_common?
01:04 Whiteknight yes, exactly
01:04 Coleoid 'make test' failed.
01:04 kid51 Whiteknight beat me to it.
01:04 Coleoid Mostly successful.
01:04 kid51 Which tests failed?  You can post those.
01:07 nopaste "Coleoid" at 76.251.83.159 pasted "'make test' parrot failure on win32" (21 lines) at http://nopaste.snit.ch/13463
01:07 Coleoid These were the only clear failures.
01:08 kid51 Whiteknight:  Based on latest post, you may be able to resolve http://rt.perl.org/rt3/Tic​ket/Display.html?id=53394
01:09 Coleoid Others had 'skipped' comments.
01:09 kid51 ... that is, unless what Coleoid just posted re t/examples/pir.t is relevant to that ticket.
01:10 kid51 Coleoid:  Glad you posted that, since one of those tests I just committed last night!
01:10 Coleoid :D
01:11 Coleoid I'm glad to post more about my config, or try to tweak it.
01:12 kid51 Can you paste the output of perl -V
01:12 kid51 ... and your SVN revision number?
01:12 kid51 I've pasted your paste into http://rt.perl.org/rt3/Tic​ket/Display.html?id=43334
01:12 nopaste "bacek" at 211.29.157.151 pasted "Fix exporting sqrt/exp in Complex (for pmichaud/moritz)" (14 lines) at http://nopaste.snit.ch/13464
01:13 nopaste "Coleoid" at 76.251.83.159 pasted "Coleoid 'perl -V'" (48 lines) at http://nopaste.snit.ch/13465
01:13 Coleoid ... SVN revision number.
01:14 Coleoid I was at 1.4.6.  I'll double-check.  Now that there's a prebuilt 1.5.0 out for win32, I'm happy to upgrade...
01:14 kid51 No, I meant Parrot's version number.
01:15 kid51 Also, when you ran perl Configure.pl, what was the output for the following step:
01:15 kid51 Determining whether ICU is installed...................................
01:15 Coleoid How do I get parrot's version #?
01:15 kid51 Among other ways, it should appear in your Configure.pl output immediately ahead of the step I just mentioned.
01:16 kid51 Also:  svn up or svn info
01:17 nopaste "Coleoid" at 76.251.83.159 pasted "Coleoid 'perl Configure.pl'" (90 lines) at http://nopaste.snit.ch/13466
01:19 nopaste "Coleoid" at 76.251.83.159 pasted "SVN up and SVN info" (14 lines) at http://nopaste.snit.ch/13467
01:20 kid51 okay, so you're at HEAD and you don't have ICU installed.  I will try to diagnose.
01:21 Coleoid Having ICU complicates?
01:24 kid51 No, that configuration step probes your system to see if ICU is installed.  There are various command-line options you could have specified as well, but I assume that you did not.  So the tests in t/steps/auto_icu*.t are designed to exercise all the nooks and crannies of that code, e.g., to see if we can reach all of the return points.  So if you don't have ICU installed, the tests mock both installed and not-installed cases.  If
01:24 kid51 I've written the tests correctly, they should pass on *any* OS.
01:25 kid51 For example, I do not have ICU on my iBook.  So the actual configuration step reports "no" -- just like yours.  But the test of the mocked situation passes on my iBook, but fails on your win32.
01:26 kid51 See http://thenceforward.net/parrot/coverage​/configure-build/config-auto-icu-pm.html for coverage results
01:26 kid51 I have to get some dinner BBL
01:28 bacek_ purl?
01:29 bacek_ she's gone...
01:29 Coleoid Good summary.  So the test is reporting 'no' in each case, but in mine it's failing with an unexpected "expected: 'failed'",
01:29 bacek_ pmichaud: moritz: I've created correct patch for Complex.sqrt|exp. Attached to RT #56230
01:29 Coleoid Which sounds like a test-framework issue.
01:30 Coleoid bacek_:  She's off at an early beach party.
01:36 bacek_ drinking with Bender again...
01:36 Coleoid :D  Working on her 'I hate humans' levitator speech.
01:54 stupidbot joined #parrot
01:57 Ademan joined #parrot
02:05 bacek joined #parrot
02:06 Coleoid joined #parrot
02:08 kid51_at_dinner Coleoid:  Can you try the following:  perl Configure.pl --verbose-step=auto::icu
02:09 Coleoid Sure--a moment...
02:09 dalek r29038 | pmichaud++ | rakvar:
02:09 dalek : [rakudo]: implicit vars #7
02:09 dalek : Refactor <dotty> a bit.
02:09 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29038
02:12 nopaste "Coleoid" at 76.251.83.159 pasted "win32 'perl Configure.pl --verbose-step=auto::icu'" (93 lines) at http://nopaste.snit.ch/13468
02:12 Coleoid Success.  The make'
02:12 Coleoid succeeded too.
02:12 Coleoid make test running.
02:14 kid51 Well, it doesn't actually address the problem you reported.  That problem will not impede 'make' (which is, of course, a good thing).
02:17 Coleoid Is this specifically for the 'got no, expected failed' problem?  Because that recurred, though 'make test' isn't finished yet.
02:18 nopaste "Coleoid" at 76.251.83.159 pasted "win32 still failing ICU test" (8 lines) at http://nopaste.snit.ch/13469
02:18 Coleoid Sorry.  :/
02:18 nopaste "kid51" at 71.247.42.135 pasted "Coleoid: Try this patch for config/auto/icu.pm (re-run perl Configure.pl --verbose-step=auto::icu" (15 lines) at http://nopaste.snit.ch/13470
02:19 Coleoid trying...
02:20 kid51 To diagnose and cure this test failure, you don't need to run 'make test'.  It's a test of the configuration system, which exists before 'make' creates the parrot executable.
02:21 kid51 Wait, that patch is actually insufficient.
02:22 Coleoid Okay, applied patch, waiting for another.
02:22 nopaste "kid51" at 71.247.42.135 pasted "Better diagnostic patch for config/auto/icu.pm" (15 lines) at http://nopaste.snit.ch/13471
02:22 kid51 Do svn revert config/auto/icu.pm before applying 2nd patch.
02:24 Coleoid I'm eyeballing/handpatching--I undid the earlier as I pasted in the newer.
02:24 Coleoid So having altered the icu.pm, I should Configure.pl again?
02:26 kid51 Yes, with --verbose-step=auto::icu as command-line option
02:26 Coleoid ((It's grievous, I know, but if I wait until I get all the tools, I'll be here 'til I'm fifty before I contribute.))
02:26 * kid51 by definition > 50
02:26 Coleoid :D
02:26 Coleoid By definition != kid?
02:27 kid51 'patch' is *very* useful, albeit imperfect.  You can probably get a GNUWin32 version.
02:27 kid51 http://gnuwin32.sourceforge.net/packages/patch.htm
02:29 Coleoid I expect so.  Or I may already have one, given I've installed mingw32 and cygwin.
02:30 kid51 Well, IIUC, cygwin is like a different environment.  I would expect it to have a 'patch' program.  But I wouldn't necessarily expect GNUwin32 'patch' to work inside cygwin.
02:30 kid51 But, then, I haven't used cygwin in > 5 years.
02:32 nopaste "Coleoid" at 76.251.83.159 pasted "Configure.pl, after realclean and patched icu.pm" (97 lines) at http://nopaste.snit.ch/13473
02:33 stupidbot joined #parrot
02:34 Coleoid Kicked off 'make' in the meantime.  Back in a minute.
02:42 bacek joined #parrot
02:43 Coleoid make without errors.
02:44 nopaste "kid51" at 71.247.42.135 pasted "config/auto/icu.pm: Take 3" (49 lines) at http://nopaste.snit.ch/13474
02:44 Coleoid Now you said ' make test' wasn't useful, here?
02:44 Coleoid I'll apply patch 3...
02:45 * Coleoid examines patch 3, boggles quietly.
02:46 Coleoid Okay, so how do I use 'patch'?
02:46 Coleoid :D
02:46 kid51 No.  The fact that t/steps/auto_icu-04.t is an element of 'make test' is something of an artifact.   All the tests in t/configure and t/steps should, in principle, be run *before* Configure.pl (which, in turn, is of course run before 'make').  You can do that with perl Configure.pl --test=configure.
02:46 kid51 patch -p0 config/auto/icu.pm < /path/to/patch
02:46 Coleoid Thanks.  Attempting.
02:47 kid51 Of course, you should do svn revert before applying ... because I'm pulling the patch against HEAD.
02:47 Coleoid Will do.
02:48 kid51 or perhaps on Win32:  patch -p0 config/auto/icu.pm < C:\\path\to\patch
02:51 Coleoid applied as 'patch -p0 config\auto\icu.pm <p3.txt'
02:53 Ademan joined #parrot
02:53 Coleoid ...grrr.
02:54 Coleoid Including a bit more context, as it looks a bit odd all around:
02:55 nopaste "Coleoid" at 76.251.83.159 pasted "Configure.pl, after patch 3." (41 lines) at http://nopaste.snit.ch/13475
02:55 Coleoid That was with the '--test=configure' argument.
02:57 kid51 Ah, I perhaps you should have said:  perl Configure.pl --test=configure --verbose-step=auto::icu
02:57 kid51 To save time, can you just re-run:  perl Configure.pl --verbose-step=auto::icu
03:01 TiMBuS joined #parrot
03:01 nopaste "Coleoid" at 76.251.83.159 pasted "Post patch3 of icu.pm, 'perl Configure.pl --verbose-step=auto::icu'" (102 lines) at http://nopaste.snit.ch/13476
03:12 Coleoid Thanks for all of your help so far.  I hope this gets the error unraveled.
03:13 Coleoid Out now, LMK if I can help later.
03:29 dalek r29039 | jkeenan++ | trunk:
03:29 dalek : TODO-ing test based on error report from Coleoid.
03:29 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29039
03:54 dalek r29040 | pmichaud++ | rakvar:
03:54 dalek : [rakudo]:  implicit vars #8
03:54 dalek : * Move '.*', '.?', '.+' into Object
03:54 dalek : * Enable .implicit_method .
03:54 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29040
03:56 bacek_ pmichaud++ # And go sleep! It's late/early! :)
04:10 pmichaud only 23:10 here.
04:10 pmichaud and I'm wanting to merge the branch back to trunk
04:12 bacek_ pmichaud: ok... My math ability faded...
04:22 dalek r29041 | pmichaud++ | trunk:
04:22 dalek : [pct]:  merge from rakvar branch
04:22 dalek : * Allow the name attribute for 'call' and 'callmethod' nodes
04:22 dalek :   to contain a PAST tree, which is then evaluated to produce
04:22 dalek :   the name of the sub/method to be invoked.
04:22 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29041
04:25 dalek r29042 | pmichaud++ | trunk:
04:25 dalek : [rakudo]:  merge rakvar branch into trunk
04:25 dalek : * Better handling of $_, $!, $/ initialization in blocks and routines.
04:25 dalek : * Refactor <dotty> and <methodop>
04:25 dalek : * .implicit_method now works
04:25 dalek : * Move .?, .*, .+ handlers into Object.
04:25 dalek : * all spectest_regression tests still pass
04:25 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29042
04:29 bacek_ pmichaud++ # one ++ is not enough for this commit :)
04:52 Ademan joined #parrot
05:11 Ademan joined #parrot
05:13 bacek_ perl6: say -1.abs;
05:13 polyglotbot OUTPUT[Method 'abs' not found for invocant of class 'Int'␤current instr.: '_block11' pc 31 (EVAL_10:17)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub
05:13 polyglotbot ..'parrot;PCT::HLLCompiler;command_line' pc 1267 (src/P...
05:22 pmichaud yes, I'm working on it now.
05:22 pmichaud as soon as my spectest runs I'll commit.
05:22 pmichaud lots of the builtins need refactoring now.
05:24 pmichaud I'm also going to change the file structure a bit
05:29 Psyche^ joined #parrot
05:31 bacek_ pmichaud: BTW, mutating_listops are evil... We can't implement 'true lazy lists' if we want them...
05:32 pmichaud what do you mean by 'mutating listop' and 'true lazy lists'  ?
05:33 bacek_ map {  $_=2*$_ } @list;
05:33 bacek_ list is something like (1..100000);
05:34 pmichaud oh, that's no problem
05:34 pmichaud 'map' is just a gather/take sequence
05:34 bacek_ without mutating lisops we can just clone Range and iterate over it.
05:34 dalek r29043 | pmichaud++ | trunk:
05:34 dalek : [rakudo]:
05:34 dalek : * Update C<abs> function and method
05:34 dalek : * Start refactoring builtin methods and functions
05:34 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29043
05:35 nopaste "bacek" at 211.29.157.151 pasted "Failing spectest_regression." (17 lines) at http://nopaste.snit.ch/13477
05:35 bacek_ t/spec/S12-methods/calling_syntax.t
05:35 pmichaud did you rebuild parrot, or at least pct?
05:36 pmichaud that looks like pct wasn't updated.
05:36 pmichaud bbiab
05:36 bacek_ pmichaud: probably no...
05:36 bacek_ shame on me...
05:40 bacek_ pmichaud: http://rt.perl.org/rt3/Tic​ket/Display.html?id=56230 (there proper fix for Complex.sqrt and exp).
06:08 dalek r29044 | pmichaud++ | trunk:
06:08 dalek : [rakudo]:
06:08 dalek : * move more builtins into src/builtins/num.pir
06:08 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29044
06:20 dalek r29045 | pmichaud++ | trunk:
06:20 dalek : [rakudo]:  update Complex.exp and Complex.sqrt
06:20 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29045
06:30 barney joined #parrot
06:38 masak joined #parrot
06:55 dalek r29046 | pmichaud++ | trunk:
06:55 dalek : [rakudo]:  More builtin method refactors.
06:55 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29046
06:58 Ademan joined #parrot
07:27 dalek r29047 | pmichaud++ | trunk:
07:27 dalek : [rakudo]:  More builtin refactors (Str)
07:27 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29047
07:42 Auzon joined #parrot
08:07 dalek r29048 | fperrad++ | trunk:
08:07 dalek : [Pipp] constants are write once
08:07 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29048
08:15 Ademan joined #parrot
09:11 moritz is there a good reason to keep RT #56042 open?
09:11 kj joined #parrot
10:20 purl joined #parrot
10:21 rdice joined #parrot
10:32 donaldh joined #parrot
10:34 Ontolog joined #parrot
10:34 cognominal joined #parrot
10:51 moritz msg rurban I rejected your two duplicate tickets
10:51 purl Message for rurban stored.
10:52 moritz purl++ # not segfaulting on msg ;-)
10:52 moritz purl: pipp?
10:52 purl moritz: i haven't a clue
10:52 moritz pipp is <reply>Pipp is Parrot's PHP
10:53 moritz purl, pipp is <reply>Pipp is Parrot's PHP
10:53 purl i already had it that way, moritz.
10:53 moritz pipp?
10:53 purl Pipp is Parrot's PHP
10:53 moritz well done
11:06 dalek r29049 | moritz++ | trunk:
11:06 dalek : [rakudo] added S29-str/uc.t to spectest_regression, bacek++
11:06 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29049
11:23 cognominal joined #parrot
11:36 masak moritz: ah, you have commit rights now?
11:36 moritz masak: yes ;-)
11:37 masak congratulations :)
11:37 moritz thank you ;)
11:37 moritz I flooded rakudobug with patches until they were tired of aplying them all for me ;-)
11:48 masak moritz: I should try that, too
11:51 moritz masak: do that (as the long as the patches make sense ;-)
11:52 moritz weekend &
11:54 masak moritz: of course, only sensible patches. otherwise it won't work :)
12:04 cybergirl joined #parrot
12:05 iblechbot joined #parrot
12:08 cognominal joined #parrot
12:17 kid51 joined #parrot
12:23 dalek r29050 | jkeenan++ | reautoicu:
12:23 dalek : Creating reautoicu in https://svn.perl.org/parrot/branches
12:23 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29050
12:23 dalek r29051 | jkeenan++ | reautoicu-29049:
12:23 dalek : Tagging trunk at r29049 so that the reautoicu can later be synched to it.
12:23 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29051
12:27 Ademan joined #parrot
12:34 tetragon joined #parrot
13:00 cognominal joined #parrot
13:12 dalek r29052 | pmichaud++ | trunk:
13:12 dalek : [rakudo]:  Refactor sqrt to be a method on Any.
13:12 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29052
13:13 dalek r29053 | pmichaud++ | trunk:
13:13 dalek : [rakudo]: spectest-progress.csv update - 86 files, 1473 passing tests
13:13 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29053
13:15 cognominal joined #parrot
13:47 dalek r29054 | jkeenan++ | reautoicu:
13:47 dalek : Improve one 'result' message.  Enable more verbose output.
13:47 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29054
13:50 masak pmichaud++ # $_
13:52 pmichaud yes, I'm very glad to get those working finally.
13:59 sahra joined #parrot
14:18 masak pmichaud: you're not the only one
14:27 dalek r29055 | jkeenan++ | reautoicu:
14:27 dalek : [configure] Eliminate one unreachable branch.  Test for more verbose output.
14:27 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29055
14:43 cognominal joined #parrot
15:27 rdice joined #parrot
15:45 allison joined #parrot
16:00 lafille joined #parrot
16:01 dalek r29056 | jkeenan++ | reautoicu:
16:01 dalek : [configure] Add a file to test verbose output in one internal sub.  Eliminate
16:01 dalek : one unnecessary argument in sub call.  Change one 'result' setting.  Update MANIFEST.
16:01 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29056
16:20 kj joined #parrot
16:45 dalek r29057 | pmichaud++ | trunk:
16:45 dalek : [rakudo]: Update <dec_number> to match STD.pm
16:45 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29057
16:45 dalek r29058 | pmichaud++ | trunk:
16:45 dalek : [rakudo]:  Fix handling and scoping of given statement
16:45 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29058
16:48 paco joined #parrot
17:01 dalek r29059 | pmichaud++ | trunk:
17:01 dalek : [rakudo]:  Refactor 'min' and 'max' into Any class.
17:01 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29059
17:04 rdice joined #parrot
17:31 rhr joined #parrot
17:46 dalek r29060 | pmichaud++ | trunk:
17:46 dalek : [rakudo]:  Add min, max, minmax, and pop methods to Range
17:46 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29060
17:46 dalek r29061 | pmichaud++ | trunk:
17:46 dalek : [rakudo]:  Move builtin 'reverse' method/function to Any
17:46 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29061
18:02 japhb pmichaud is on fire!
18:02 Coleoid joined #parrot
18:34 particle1 joined #parrot
18:44 contingencyplan joined #parrot
18:47 dalek r29062 | pmichaud++ | trunk:
18:47 dalek : [rakudo]:  Refactor Str.index into Any class, code cleanup.
18:47 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29062
18:47 dalek r29063 | pmichaud++ | trunk:
18:47 dalek : [rakudo]:  Move .truncate and .int into Any class.
18:47 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29063
19:05 Ademan joined #parrot
19:54 japhb joined #parrot
20:03 jonathan pmichaud++ # LOADS of Rakudo progress! :-)
20:14 apeiron joined #parrot
20:23 Patterner pmichaud++
20:23 Maddingue joined #parrot
21:14 clunker3__ joined #parrot
21:16 pmichaud 500 new passing tests this week
21:16 pmichaud (since friday at this time)
21:17 jonathan I should have weeks of not being able to hack on Rakudo more often!
21:18 jonathan Wow.
21:18 jonathan :-)
21:18 jonathan pmichaud: Any preference on which 2 days I hack Rakudo next week? Not Monday, but others are fine.
21:19 jonathan Is a bit better if they aren't two consecutive ones too...
21:20 bacek morning everyone
21:20 pmichaud other days next week are generally equally good
21:20 pmichaud (monday not-so-good for me either)
21:22 kdc joined #parrot
21:22 pmichaud afk for a bit
21:22 pmichaud (about 15 mins)
21:24 szbalint btw, is the source code for dalek available? Or alternatively a perl based irc bot which is capable of tailing the svn log? I'm finding myself in need of one :)
21:24 szbalint dalek: source?
21:24 purl source is really ugly anyway :)
21:26 bacek 87 test files                                       2074 2079 1550    0   59  470
21:26 bacek perl6: my $i=-1; say eval("sqrt($i.i)")
21:27 polyglotbot OUTPUT[Null PMC access in get_string()␤current instr.: 'print' pc 9632 (src/gen_builtins.pir:6354)␤called from Sub 'say' pc 9654 (src/gen_builtins.pir:6364)␤called from Sub '_block11' pc 99 (EVAL_12:32)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from
21:27 polyglotbot ..Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 ...
21:27 Infinoid szbalint: dalek is a botnix instance running a couple of plugins
21:28 szbalint ty
21:29 Infinoid it doesn't really watch svn, it just watches rss from SVN::Web, which in turn watches svn
21:29 nopaste "Infinoid" at 75.5.244.195 pasted "svnlog plugin for botnix" (84 lines) at http://nopaste.snit.ch/13480
21:30 Infinoid its predecessor, svnbotl, was a pugs/perl6 example script I think
21:31 szbalint ah alright
21:33 pmichaud back
21:36 dalek r29064 | pmichaud++ | rakvar:
21:36 dalek : [rakvar]:  Removing branch, merged to trunk.
21:36 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29064
21:36 bacek perl6: my $r= 1..4.5; say $r.shift; $r.pop 3.5; say $r.shift;
21:36 polyglotbot OUTPUT[Statement not terminated properly at line 1, near "3.5; say $"␤current instr.: 'parrot;PGE::Util;die' pc 120 (runtime/parrot/library/PGE/Util.pir:82)␤called from Sub 'parrot;Perl6::Grammar;eat_terminator' pc 20609 (src/gen_grammar.pir:2813)␤called from Sub
21:36 polyglotbot ..'parrot;Perl6::Grammar;statementlist' pc 19622 (src/gen_grammar.pir:2450)␤called fr...
21:36 bacek perl6: my $r= 1..4.5; say $r.shift; say $r.pop; say $r.shift;
21:36 polyglotbot OUTPUT[1␤Method 'pop' not found for invocant of class 'Range'␤current instr.: '_block11' pc 98 (EVAL_12:33)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub
21:36 polyglotbot ..'parrot;PCT::HLLCompiler;command_line' pc 1267 (s...
21:40 pmichaud polyglotbot is out of date again
21:42 bacek pmichaud: I see...
21:55 kdc I added a .c file in the parrot/src directory. How can I get it to be recognized and compiled by make?
22:00 Infinoid kdc: I think you should add it to the relevant variable in config/gen/makefiles/root.in
22:00 Infinoid kdc: also, don't forget to run tools/dev/mk_manifest_and_skip.pl
22:00 kdc Okay.
22:03 kdc Thanks, that worked.
22:05 * bacek trying to understand why my test_progress reports 100+ more passing tests than pmichaud's...
22:05 pmichaud bacek:  what are you using to measure the passing tests?
22:05 bacek tools/test_summary.pl
22:06 pmichaud what number are you getting?
22:06 bacek 87,  2074 2079 1591    0   59  429
22:06 pmichaud yes, that's the number I get as well.
22:06 bacek ah. ok. But docs/spectest-progress.cvs contains different numbers...
22:07 pmichaud those are the numbers as of 00:00 CDT
22:07 pmichaud i.e., 17 hours ago.
22:07 pmichaud I measure the progress at the same time every day so as not to skew them
22:07 pmichaud the 1591 number (or whatever it ends up being) won't show up until tomorrow.
22:08 bacek pmichaud++ # ~10 more passing test per hour
22:08 pmichaud my personal goal was to hit 1580 before 15:30 localtime
22:09 pmichaud so we can say (and we can) that we passed 500 new spectests in the week following my "Rakudo passing 1000 tests" post.
22:10 jonathan That's some impressive progress.
22:11 jonathan pmichaud: You got anything specific you want me to give my attention to next week?
22:11 pmichaud jonathan: nothing in particular, no
22:11 jonathan OK.
22:11 pmichaud I might think of something, though.  I did re-work a lot of the action methods though.
22:11 pmichaud it would be good if we had some tests for .*, .+, .?
22:12 jonathan Aye.
22:12 pmichaud I *think* they work after I refactored them -- at least they seemed to generate the correct code.
22:12 * jonathan should write more tests
22:12 jonathan I've been doing more of late.
22:12 szbalint ps aux
22:13 szbalint err wrong window :)
22:13 bacek ENOPROCESSRUNNING
22:13 bacek perl6: say undef + 1;
22:13 polyglotbot OUTPUT[1␤]
22:13 bacek perl6: my $a; say $a; $a+=1;
22:13 polyglotbot OUTPUT[␤MMD function __i_add not found for types (78, 91)␤current instr.: 'infix:+=' pc 8462 (src/gen_builtins.pir:5501)␤called from Sub '_block11' pc 66 (EVAL_10:28)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub
22:13 polyglotbot ..'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called...
22:14 bacek mmd--
22:14 bacek perl6: my $a; say $a.WHAT;
22:14 polyglotbot OUTPUT[Failure␤]
22:14 jonathan perl6: class Foo { method x { say print 2 } }; class Bar is Foo { method x { say print 4 } }; my Bar $x .= new(); $x.x
22:14 polyglotbot OUTPUT[41␤]
22:14 jonathan ...oops
22:15 jonathan perl6: class Foo { method x { print 2 } }; class Bar is Foo { method x { print 4 } }; my Bar $x .= new(); $x.*x
22:15 polyglotbot OUTPUT[Could not invoke method 'x' on invocant of type 'Bar'␤current instr.: 'die' pc 9013 (src/gen_builtins.pir:5884)␤called from Sub 'infix:.+' pc 11598 (src/gen_builtins.pir:7688)␤called from Sub '_block11' pc 119 (EVAL_14:47)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806
22:15 polyglotbot ..(src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLC...
22:15 jonathan perl6: class Foo { method x { print 2 } }; class Bar is Foo { method x { print 4 } }; my Bar $x .= new(); $x.x
22:15 polyglotbot OUTPUT[4]
22:15 jonathan perl6: class Foo { method x { print 2 } }; class Bar is Foo { method x { print 4 } }; my Bar $x .= new(); $x.+x
22:15 polyglotbot OUTPUT[Could not invoke method 'x' on invocant of type 'Bar'␤current instr.: 'die' pc 9013 (src/gen_builtins.pir:5884)␤called from Sub 'infix:.+' pc 11598 (src/gen_builtins.pir:7688)␤called from Sub '_block11' pc 119 (EVAL_14:47)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806
22:15 polyglotbot ..(src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLC...
22:15 pmichaud polyglotbot is out of date
22:15 pmichaud there is no more infix:.+
22:15 jonathan Oh.
22:15 jonathan Damm, that invalidates what I was trying to test too!
22:16 pmichaud it's now a method
22:16 pmichaud (.+ is now a method)
22:16 jonathan Oh?
22:16 jonathan :-S
22:16 jonathan I'll look next week.
22:16 pmichaud it was easier to manage in the PAST that way
22:16 jonathan Is that an implementation detail, or what you think the spec requires?
22:16 pmichaud implementation detail
22:17 pmichaud but it keeps the PAST as using a postcircumfix call
22:17 jonathan OK.
22:17 pmichaud in particular, I think that   .+foo     will probably work now, or could be made to work
22:17 jonathan OK.
22:17 pmichaud (i.e., with an implicit invocant)
22:17 pmichaud I also felt it was a cleaner implementation as a method.
22:18 jonathan OK...generally don't like polluting the "method space", but this one is ulikely to be a problem.
22:18 jonathan *unlikely
22:18 bacek pmichaud: why infix:+ accepts two nums, but infix:+= two pmcs?
22:18 pmichaud bacek: depends on who wrote it.
22:18 bacek pmichaud: :)
22:18 pmichaud I think the idea was that += could be done with a 2-argument add opcode (and thus be "faster")
22:19 pmichaud in the case of the default infix:+, though, we really need to coerce to nums
22:19 bacek it's actually implemented as 2-args opcode.
22:19 pmichaud afk # dinner on table, better eat
22:21 jonathan afk # beer
22:21 bacek perl6: say (undef+=1)
22:21 polyglotbot OUTPUT[MMD function __i_add not found for types (103, 91)␤current instr.: 'infix:+=' pc 8462 (src/gen_builtins.pir:5501)␤called from Sub '_block11' pc 47 (EVAL_12:19)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub
22:21 polyglotbot ..'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called...
22:23 bacek afk # running in circles, crying "I'm alone!!!"
22:24 Coleoid joined #parrot
22:40 grim_fandango joined #parrot
22:52 dalek r29065 | pmichaud++ | trunk:
22:52 dalek : [rakudo]:  minor changes to simplify .HLL transition
22:52 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=29065
22:59 jennyf joined #parrot
23:33 tetragon joined #parrot
23:35 Whiteknight joined #parrot
23:49 cognominal joined #parrot

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

Parrot | source cross referenced