Camelia, the Perl 6 bug

IRC log for #parrot, 2011-02-26

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 Eclesia sorry for the bad joke, it's one in the morning, time to sleep. +++
00:01 cotto_work 'night
00:01 Eclesia left #parrot
00:03 * cotto_work decommutes
00:06 lucian left #parrot
00:07 jsut joined #parrot
00:12 jsut_ left #parrot
00:14 dalek parrot/jkeenan/tt1159_distcheck: ec48a2f | jkeenan++ | / (4 files):
00:14 dalek parrot/jkeenan/tt1159_distcheck: Implement gerd++ suggestions in TT #1159.
00:14 dalek parrot/jkeenan/tt1159_distcheck: review: https://github.com/parrot/parrot/commit/ec48a2f76d
00:14 dalek parrot/jkeenan/tt1159_distcheck: 86a5300 | jkeenan++ | / (2 files):
00:14 dalek parrot/jkeenan/tt1159_distcheck: Correct name of program called within Makefile.  Provide more helpful STDOUT messages.
00:14 dalek parrot/jkeenan/tt1159_distcheck: review: https://github.com/parrot/parrot/commit/86a530093f
00:14 dalek parrot/jkeenan/tt1159_distcheck: e2a3463 | jkeenan++ | tools/release/releasecheck.pl:
00:14 dalek parrot/jkeenan/tt1159_distcheck: Program is now called 'releasecheck' rather than 'distcheck'.
00:14 dalek parrot/jkeenan/tt1159_distcheck: review: https://github.com/parrot/parrot/commit/e2a3463b04
00:22 kid51 is now known as kid51_at_dinner
00:26 cotto ~~
00:34 whiteknight hello cotto
00:40 cotto hi whiteknight
00:43 dukeleto ~~
00:56 whiteknight you ever have one of those projects where "...or die trying" was a real possibility?
00:57 cotto that bad?
00:57 whiteknight some of this code is so convoluted. I can honestly say I have no idea how some of it is supposed to work
00:58 cotto I have an eyeball or two I could lend you.
00:58 whiteknight what's the most obnoxious is that I've traced through the code in master, and I basically do all the same things in the same order
00:59 whiteknight but on the branch, somehow I'm reading from a free()'d pointer and segfaulting
00:59 cotto which branch and which corner of the code?
00:59 cotto imcc_compreg_pmc?
00:59 whiteknight yeah
01:00 whiteknight I'm building and testing right now. I'll nopaste you the results
01:00 cotto wfm
01:01 cotto The cms that $dayjob uses switched to git from cvs today.  I'm happy.
01:01 whiteknight awesome
01:03 whiteknight was the switchover painless?
01:03 whiteknight or, at least low-pain?
01:05 cotto I wasn't really involved.  It's a large OSS project though, with extensive integration between their site and the vcs and a huge module ecosystem.
01:05 cotto drupal, if you're curious
01:05 cotto it makes our migration look simple
01:05 cotto I think it was in the works for at least a year
01:17 kid51_at_dinner is now known as kid51
01:19 cotto whiteknight, nopaste?
01:42 kid51 left #parrot
01:54 dmalcolm left #parrot
01:59 whiteknight wtf, I'm seeing fewer failures now than I was seeing
01:59 whiteknight I put in a fix earlier this afternoon, but I tested after that and was still seeing failures
02:00 whiteknight t/src/checkdepend.t                       (Wstat: 4352 Tests: 256 Failed: 17)
02:00 whiteknight Failed tests:  2-7, 9-15, 49, 78, 100, 178
02:00 whiteknight Non-zero exit status: 17
02:00 whiteknight t/perl/Parrot_Test.t                      (Wstat: 0 Tests: 112 Failed: 1)
02:00 whiteknight Failed test:  66
02:00 whiteknight t/dynoplibs/io.t                          (Wstat: 0 Tests: 60 Failed: 2)
02:00 whiteknight Failed tests:  54-5
02:01 cotto checkdepend isn't of primary importance.  What about Parrot_Test?
02:02 cotto I'd guess that the last one is real
02:02 whiteknight kid51 thinks that's a whitespace issue
02:02 whiteknight yeah, the last one is weird
02:02 whiteknight I think it's not finding a macro declared in an outer compilation
02:05 whiteknight imcc has two fields that I don't understand. imcc->globals and imcc->ghash
02:06 whiteknight imcc->globals is cleaned up when the imcc struct is destroyed. Conceivably that only happens at interpreter destruction
02:06 whiteknight imcc->ghash is apparently cleaned up after every compilation
02:06 whiteknight and it's that way in master, so I just copied that
02:14 whiteknight somewhere along the line I "broke" things so that it prints out the text of the current compilation unit (.sub) where the error occurs
02:14 whiteknight I'm not sure yet if that's a welcome or unwelcome change
02:15 whiteknight I suspect maybe we would want something like that. We could jam the offending text into the exception payload or something
02:17 nopaste "Whiteknight" at 192.168.1.3 pasted "testcase for cotto++" (34 lines) at http://nopaste.snit.ch/34223
02:17 whiteknight so it's a problem with finding a macro in a nested compile
02:19 cotto that should work?
02:19 whiteknight apparently it does in master
02:20 whiteknight whether it works in master by design or by fluke is a different question
02:20 cotto I wouldn't expect it to, but this is imcc.
02:22 whiteknight right. It's maddening.
02:22 whiteknight I wouldn't expect it to either, since resources are cleaned after each run
02:24 whiteknight but then... I don't understand how it works in master
02:24 lopnor joined #parrot
02:26 cotto I can't dig in now as I've got nerds coming over in 35m, but I'll have a good chunk of time this weekend.
02:29 whiteknight okay, I'm probably going to bed soon too
02:30 whiteknight ...I think I may know what the problem is
02:32 cotto !?
02:32 whiteknight I think I'm clearing imcc->macros
02:32 whiteknight inadvertently
02:32 cotto I love how often you find the solution to a thing as soon as you relax a bit.
02:34 whiteknight I need to reset the imc_info_t struct after each compilation so we can start fresh next time. However, if I clear out too much, I fail other stuff
02:34 whiteknight so it's a matter of figuring out what bits are important enough to save
02:40 cotto sounds brittle
02:46 whiteknight left #parrot
02:48 jsut_ joined #parrot
02:52 jsut left #parrot
02:57 AzureSto_ joined #parrot
02:57 perlite_ joined #parrot
02:58 Themeruta joined #parrot
02:59 atrodo left #parrot
03:00 particle left #parrot
03:00 tewk left #parrot
03:00 dukeleto left #parrot
03:00 AzureStone left #parrot
03:00 NotFound left #parrot
03:00 dukeleto joined #parrot
03:00 Patterner left #parrot
03:00 cotto left #parrot
03:00 perlite left #parrot
03:01 perlite_ is now known as perlite
03:02 kid51 joined #parrot
03:04 cotto joined #parrot
03:05 Kulag left #parrot
03:05 Kulag joined #parrot
03:05 tewk joined #parrot
03:07 atrodo joined #parrot
03:09 Psyche^ joined #parrot
03:09 Psyche^ is now known as Patterner
03:10 particle joined #parrot
03:10 Kulag left #parrot
03:10 Kulag joined #parrot
03:13 jan left #parrot
03:14 he_ left #parrot
03:20 wagle left #parrot
03:20 wagle joined #parrot
03:20 allison left #parrot
03:20 jsut joined #parrot
03:20 he_ joined #parrot
03:21 atrodo left #parrot
03:21 allison joined #parrot
03:21 zostay left #parrot
03:21 clunker3 joined #parrot
03:21 zostay joined #parrot
03:22 eternaleye left #parrot
03:22 tewk left #parrot
03:22 eternaleye joined #parrot
03:22 atrodo joined #parrot
03:22 tewk joined #parrot
03:22 kid51 does Parrot still have anything called the 'run-exec' core?
03:22 jan joined #parrot
03:25 jsut_ left #parrot
03:28 eternaleye left #parrot
03:28 eternaleye joined #parrot
03:29 GeJ left #parrot
03:29 mj41_ joined #parrot
03:29 GeJ joined #parrot
03:30 mikehh left #parrot
03:30 slavorgn left #parrot
03:30 mikehh joined #parrot
03:31 preflex left #parrot
03:34 mj41 left #parrot
03:34 preflex joined #parrot
03:34 mj41_ is now known as mj41
03:37 slavorgn joined #parrot
03:47 Khisanth left #parrot
03:48 lopnor hello parrot people
03:49 plobsing o/
03:49 lopnor plobsing: hi!
03:50 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#10935) fulltest) at 3_1_0-286-g86b6c03 - Kubuntu 10.10 amd64 (g++-4.5)
03:50 lopnor i'm a perl6 user, and found some problem on nci
03:51 lopnor can i report it here?
03:52 mikehh what was the problem?
03:52 lopnor im using libmysqlclient library, but it does not work recently
03:52 lopnor https://gist.github.com/844913
03:53 lopnor this code works with the parrot included in rakudo-star-2010.12
03:53 plobsing what error message are you getting?
03:53 lopnor Null PMC access in get_string()
03:54 plobsing I suspected that might be the case.
03:54 lopnor it seems second last parameter "t" of 'mysql_real_connect', 'ppttttiti'
03:54 plobsing you can't use a null PMC to pass null to a 't' element.
03:55 lopnor is null makes problem
03:55 plobsing use a null string register in stead.
03:55 lopnor but libmysqlclient allows null there.
03:56 plobsing null pmcs are hair-trigger exceptions
03:56 lopnor do you mean i should do $S0 = ''?
03:56 plobsing '' is not null.
03:56 plobsing null $S0
03:56 lopnor oh
03:56 lopnor it works!!
03:57 ShaneC left #parrot
03:57 lopnor so it's problem from incorrect types?
03:57 plobsing you can look at it that way, yes.
03:58 dalek TT #1360 closed by jkeenan++: "smoke_languages.pl" doesn't deal with spaces in paths
03:58 dalek TT #1360: http://trac.parrot.org/parrot/ticket/1360
03:58 dalek TT #578 closed by jkeenan++: Parrot can't handle linker scripts
03:58 dalek TT #578: http://trac.parrot.org/parrot/ticket/578
03:58 lopnor thank you so much
04:14 Khisanth joined #parrot
04:14 dalek TT #128 closed by jkeenan++: Honor source types in Parrot_locate_runtime_file
04:14 dalek TT #128: http://trac.parrot.org/parrot/ticket/128
04:20 Khisanth left #parrot
04:20 kid51 left #parrot
04:23 mtk left #parrot
04:26 JimmyZ joined #parrot
04:29 mtk joined #parrot
04:35 dalek parrot: 14f69a1 | mikehh++ | / (2 files):
04:35 dalek parrot: add t/pir/pbc_fallback_1.pbc to .gitignore and remove with test-clean
04:35 dalek parrot: review: https://github.com/parrot/parrot/commit/14f69a1ff0
04:35 dalek parrot: 22b73b2 | mikehh++ | MANIFEST.SKIP:
04:35 dalek parrot: re-generate MANIFEST.SKIP
04:35 dalek parrot: review: https://github.com/parrot/parrot/commit/22b73b2d00
04:36 dalek TT #1866 closed by jimmy++: Build parrot failed with PANIC on windows XP 32bit with strawberry perl
04:36 dalek TT #1866: http://trac.parrot.org/parrot/ticket/1866
05:07 rurban_ joined #parrot
05:10 rurban left #parrot
05:10 rurban_ is now known as rurban
05:16 JimmyZ left #parrot
05:32 dalek parrot: 04f95d3 | util++ | src/exceptions.c:
05:32 dalek parrot: Fix Coverity defect #472: PW.CAST_TO_QUALIFIED_TYPE in exceptions.c
05:32 dalek parrot: review: https://github.com/parrot/parrot/commit/04f95d3cbd
05:32 lopnor is now known as lopaway
05:49 sorear plobsing: who's in charge of bigint now?
05:52 dalek parrot: 8a40984 | plobsing++ | / (7 files):
05:52 dalek parrot: Merge branch 'param-stmt'
05:52 dalek parrot: review: https://github.com/parrot/parrot/commit/8a40984afe
05:52 plobsing sorear: damned if I know. was I the last one to change it?
05:54 plobsing sorear: what is the issue you are experiencing?
05:58 nopaste "plobsing" at 192.168.1.3 pasted "[PATCH] fix imcc_compreg_pmc:t/compilers/pge/regression.t" (12 lines) at http://nopaste.snit.ch/34245
06:01 sorear plobsing: I'm not experiencing any issue; I wanted to talk about changes
06:01 sorear with... someone
06:02 theory left #parrot
06:02 sorear most of the changes in the last five years have been minor yak shaving; you, leo, and bacek seem to be the only one to touch it in depth
06:02 plobsing msg whiteknight http://nopaste.snit.ch/34245 fixes your immediate problem but points to a larger issue of data not being reset. master:compilers/imcc/main.c:imcc_compile_file has the relevant state-reseting code occur before compilation. imcc_compreg_pmc:compilers/imcc/​main.c:prepare_reentrant_compile appears to mostly duplicate this, but is guarded by a condition that only guards *some* of the equivalent code in master. When this guard
06:02 aloha OK. I'll deliver the message.
06:02 dalek parrot: b245c77 | util++ | src/platform/ (2 files):
06:02 dalek parrot: Normalize {darwin,win32}/hires_timer.c to work with headerizer
06:02 dalek parrot: review: https://github.com/parrot/parrot/commit/b245c77bb4
06:03 sorear tewk: seems to have done a lot more than any of those three
06:04 sorear no, looking further back it's leo, leo, leo
06:05 plobsing sorear: the only change I made to that file is the vim modeline.
06:05 plobsing I can tell you all about that.
06:08 plobsing sorear: I'd advise taking it to the list. If the only significant changes were made by someone no longer with the project, we probably don't have any coherent plan for it. If it needs changes, we need to come up with one.
06:17 rurban_ joined #parrot
06:18 theory joined #parrot
06:20 rurban left #parrot
06:20 rurban_ is now known as rurban
06:23 Khisanth joined #parrot
06:29 Khisanth left #parrot
06:33 dalek parrot: 787ca74 | plobsing++ | / (16 files):
06:33 dalek parrot: Merge branch 'ptrbuf'
06:33 dalek parrot:
06:33 dalek parrot: Conflicts:
06:33 dalek parrot: compilers/imcc/imcparser.c
06:33 dalek parrot: compilers/imcc/imcparser.h
06:33 dalek parrot: review: https://github.com/parrot/parrot/commit/787ca74a89
06:34 theory left #parrot
06:35 ttbot Parrot 3069a312 i386-linux-thread-multi make error http://tt.taptinder.org/cmdinfo/31641
06:39 ttbot Parrot 3069a312 i386-linux-thread-multi make error http://tt.taptinder.org/cmdinfo/31653
06:53 Khisanth joined #parrot
06:59 Khisanth left #parrot
06:59 theory joined #parrot
07:03 theory left #parrot
08:15 Khisanth joined #parrot
08:21 Khisanth left #parrot
08:39 Khisanth joined #parrot
08:46 Khisanth left #parrot
08:47 Khisanth joined #parrot
09:17 frodwith left #parrot
09:18 frodwith joined #parrot
09:53 lucian joined #parrot
10:00 dalek parrot/opsc_full_parse: 680f77f | bacek++ | compilers/opsc/src/Ops/Compiler/Grammar.pm:
10:00 dalek parrot/opsc_full_parse: Reduce <eat_terminator> rule to be C specific, not NQP sepcific.
10:00 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/680f77ff37
10:00 dalek parrot/opsc_full_parse: acfe485 | bacek++ | compilers/opsc/src/Ops/Compiler/Grammar.pm:
10:00 dalek parrot/opsc_full_parse: Implement simple version of semantic parsing of C macros
10:00 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/acfe485c5f
10:07 donaldh joined #parrot
10:07 donaldh left #parrot
10:15 Khisanth left #parrot
10:29 ShaneC joined #parrot
11:06 whiteknight joined #parrot
11:06 M_o_C joined #parrot
11:12 whiteknight good morning, #parrot
11:16 whiteknight msg plobsing: Thanks, I found a different (but related) bug involving clearing imcc->macros prematurely. The compilers/imcc/main.c:imcc_reset() function clears that entire structure between runs, except a few values worth saving
11:16 aloha OK. I'll deliver the message.
11:24 Eclesia joined #parrot
11:24 Eclesia hi
11:25 whiteknight hello Eclesia. How are you doing todaY?
11:26 tadzik hello
11:26 whiteknight good morning tadzik
11:27 Eclesia fine thanks.
11:27 sigue left #parrot
11:28 whiteknight msg sorear I've wanted to pull the bigint/bignum stuff out of core for a while now. They're obviously not well maintained. If you have any changes/fixes you want to make, go for it
11:28 aloha OK. I'll deliver the message.
11:48 whiteknight codetest on my branch is a complete mess
12:10 dalek parrot/opsc_full_parse: 59fd2bb | bacek++ | compilers/opsc/src/Ops/Compiler/Grammar.pm:
12:10 dalek parrot/opsc_full_parse: Change handling of labeled statements. Fix src/dynoplib/sys.ops with case: within #ifdef
12:10 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/59fd2bb7dd
12:11 mtk left #parrot
12:12 kid51 joined #parrot
12:17 mtk joined #parrot
12:18 lucian_ joined #parrot
12:22 lucian left #parrot
12:23 dalek parrot/opsc_full_parse: 865204f | bacek++ | compilers/opsc/src/Ops/Compiler/Grammar.pm:
12:23 dalek parrot/opsc_full_parse: Add a bit of docs
12:23 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/865204fef5
12:23 dalek parrot/opsc_full_parse: fe803a4 | bacek++ | compilers/opsc/src/Ops/Compiler/Grammar.pm:
12:23 dalek parrot/opsc_full_parse: Rework handling of labeled statements to distinguish C<case:> pass-through.
12:23 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/fe803a4191
12:23 dalek parrot/opsc_full_parse: e4f994a | bacek++ | compilers/opsc/src/Ops/Compiler/Actions.pm:
12:23 dalek parrot/opsc_full_parse: "Fix" pasting of labeled statements.
12:23 dalek parrot/opsc_full_parse:
12:23 dalek parrot/opsc_full_parse: (Not really. Labels aren't handled yet)
12:23 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/e4f994a3a0
12:30 nopaste "kid51" at 192.168.1.3 pasted "Warnings during all-g++ build" (323 lines) at http://nopaste.snit.ch/34304
12:33 whiteknight kid51: which branch?
12:33 kid51 master
12:43 M_o_C left #parrot
12:48 whiteknight incoming
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: 4577f45 | Whiteknight++ | / (3 files):
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: save the value of imcc->macros between compilations, so we can reuse globally-registered macros in inner compilations. make sure to properly reset IMCC before calling in at Parrot_compile_file
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/4577f45c54
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: 1a7c28e | Whiteknight++ | compilers/imcc/api.c:
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: +docs and ASSERT_ARGS to compilers/imcc/api.c
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/1a7c28e87d
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: 2d8ad83 | Whiteknight++ | compilers/imcc/debug.c:
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: +docs and ASSERT_ARGS for compilers/imcc/debug.c
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/2d8ad8331f
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: fba6626 | Whiteknight++ | compilers/imcc/main.c:
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: add new function docs, fix some old function docs, and add some ASSERT_ARGS macros to compilers/imcc/main.c
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/fba66263a1
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: 76b3672 | Whiteknight++ | / (5 files):
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: +file codas for several files
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/76b3672cf3
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: ec3875d | Whiteknight++ | / (4 files):
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: remove C++ comments
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/ec3875d4c7
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: f3cb552 | Whiteknight++ | src/interp/inter_misc.c:
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: +docs in src/interp/inter_misc.c
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/f3cb5526ec
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: 10510ea | Whiteknight++ | include/imcc/yyscanner.h:
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: +inclusion guard for yyscanner.h
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/10510eacab
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: 5897c2b | Whiteknight++ | compilers/imcc/main.c:
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: add space between sizeof(
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/5897c2bd32
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: 9289786 | Whiteknight++ | src/pmc/imccompiler.pmc:
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: fix formatting, no spaces before a closing parenthesis
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/9289786789
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: 922c0d7 | Whiteknight++ | src/embed/pmc.c:
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: fix an unrelated doc ommission
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/922c0d7d62
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: 5346bcb | Whiteknight++ | / (5 files):
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: +several codestd fixes
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/5346bcb7a5
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: f8eda80 | Whiteknight++ | / (6 files):
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: +copyright notices
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/f8eda80ae7
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: aa8744b | Whiteknight++ | / (2 files):
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: small fix, and now we're passing all codetests
12:49 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/aa8744bd7c
12:53 whiteknight kid51: What was that incantation you wanted me to run to get the version of that test module?
13:08 kid51 perl -MTest::Builder -E 'say $Test::Builder::VERSION'
13:16 allison left #parrot
13:20 whiteknight 0.92
13:22 kid51 So, perhaps our attempts to compensate for different versions of Test::Builder are incomplete.
13:22 kid51 Is the test in question trying for an exact match or for a pattern match?
13:22 nopaste "kid51" at 192.168.1.3 pasted "whiteknight/imcc_compreg_pmc: remaining test failures, linux/i386, no options" (419 lines) at http://nopaste.snit.ch/34305
13:23 whiteknight I have no idea. I haven't dug into it too deeply
13:45 lucian_ is now known as lucian
13:45 nopaste "kid51" at 192.168.1.3 pasted "whiteknight: try this patch to Parrot_Test.t" (103 lines) at http://nopaste.snit.ch/34307
13:49 jsut_ joined #parrot
13:53 jsut left #parrot
13:57 kid51 Smolder is down once again
13:58 dalek TT #2029 created by jkeenan++: t/pmc/structview.t: New PMC generates failures on Darwin/PPC
13:58 dalek TT #2029: http://trac.parrot.org/parrot/ticket/2029
14:10 whiteknight Hunk #1 FAILED at 291.
14:10 whiteknight Hunk #2 FAILED at 344.
14:10 whiteknight am I applying that patch incorrectly?
14:16 whiteknight ah, nevermind
14:17 whiteknight kid51: no luck. Same failure with the patch
14:17 rurban_ joined #parrot
14:20 rurban left #parrot
14:20 rurban_ is now known as rurban
14:33 dalek parrot: be54c51 | fperrad++ | runtime/parrot/library/TAP/Formatter.pir:
14:33 dalek parrot: [TAP/Formatter] workaround for Windows
14:33 dalek parrot: review: https://github.com/parrot/parrot/commit/be54c5157c
14:34 dalek parrot/whiteknight/imcc_compreg_pmc: 7e88bdf | Whiteknight++ | / (3 files):
14:34 dalek parrot/whiteknight/imcc_compreg_pmc: fix checkdepend.t
14:34 dalek parrot/whiteknight/imcc_compreg_pmc: review: https://github.com/parrot/parrot/commit/7e88bdf0f6
14:40 whiteknight does distutils have the ability to build winxed stuff?
14:41 Eclesia left #parrot
14:42 plobsing whiteknight: no, but it is pretty easy to roll your own
14:42 whiteknight yeah, I guess I'll do that
14:42 whiteknight maybe winxed could provide a distutils wrapper library to add the necessary features
14:48 kid51 whiteknight: Can you email me output of that test failure?
14:49 kid51 afk
14:49 whiteknight kid51: sure, give me a few minutes
14:50 whiteknight how do I do namespaces in winxed?
15:03 sorear ~~
15:03 plobsing whiteknight: namespace ABC {}
15:06 whiteknight plobsing: thanks. I was hoping it was that simple. I couldn't find any examples of it
15:08 plobsing examples/misc.winxed ack ftw
15:12 whiteknight did the format of the iglobals array change recently? plumage's Configure.nqp is barfing
15:22 kid51 left #parrot
15:27 whiteknight oh wait, I had an old plumage
15:27 whiteknight ...which is weird
15:30 dalek parrot-plumage: d56add1 | whiteknight++ | src/lib/Plumage/NQPUtil. (2 files):
15:30 dalek parrot-plumage: EXECUTABLE_FULLNAME is 20 apparently, not 19
15:30 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/d56add17e071f34e764db53b5313ac72b9ca0a54
15:43 JimmyZ joined #parrot
15:45 whiteknight how do I call a raw PIR op in winxed?
15:46 whiteknight basically, I want the equivalent of the NQP code pir::isa($var, "foo")
15:51 zby_home joined #parrot
15:51 whiteknight I see ${ } syntax, but I never see it used as an rvalue
15:51 moritz have you grepped the test suite for isa?
15:52 moritz aloha: winxed?
15:52 aloha moritz: winxed is http://code.google.com/p/winxed/ or http://winxed.org/
15:53 whiteknight no results
15:56 lucian_ joined #parrot
15:56 lucian left #parrot
15:56 plobsing whiteknight: isa can be done using 'a instanceof b'
15:57 whiteknight plobsing: okay. Makes sense. is there a fancy builtin for "does"?
15:57 plobsing but in general, pirops can be accessed using ${ pirop winxedexpr1, winxedexpr2 };
15:58 whiteknight okay. I think I'm getting the hang of this. I have one snippet that I don't know how to translate though
15:58 plobsing winxedst1.winxed says no
15:58 nopaste "whiteknight" at 192.168.1.3 pasted "translate into winxed" (18 lines) at http://nopaste.snit.ch/34323
15:58 plobsing we might want on though. file an issue.
15:59 mj41 whiteknight/imcc_compreg_pmc added to http://tt.taptinder.org/
15:59 whiteknight basically there, I'm trying to call a method either with a Sub PMC or a String
15:59 whiteknight mj41++
15:59 plobsing whiteknight: winxed has a callmethod builtin
15:59 whiteknight where are the builtins defined
15:59 whiteknight ?
16:00 plobsing everything you need to know about grammar and builtins is in winxedst1.winxed
16:00 plobsing grep for callmethod
16:01 whiteknight ok
16:02 whiteknight I see a callmethodwithargs builtin
16:02 plobsing that sounds about right
16:03 whiteknight var return = callmethodwithargs(object, method, args)?
16:03 whiteknight doesn't look like it handles named args
16:06 plobsing no, it does not. you might need to break down to pirops for that.
16:09 tadzik just ran ./winxed examples/fly.winxed. Just had a huge WHOA. NotFound++
16:11 ttbot Parrot 922c0d7d MSWin32-x86-multi-thread make error http://tt.taptinder.org/cmdinfo/32386
16:12 whiteknight plobsing: okay, how do I drop down into full-fledged PIR for that?
16:12 whiteknight is there a way to do it inlined?
16:13 whiteknight does ${ } work with multi-line PIR literals?
16:16 nopaste "plobsing" at 192.168.1.3 pasted "[Winxed] call_parrot_method" (4 lines) at http://nopaste.snit.ch/34324
16:16 plobsing oops, wrong one
16:17 nopaste "plobsing" at 192.168.1.3 pasted "[Winxed] call_parrot_method" (5 lines) at http://nopaste.snit.ch/34325
16:17 plobsing there we are
16:17 plobsing this abuses the fact that methods called as functions treat their first positional argument as invocant
16:18 whiteknight oh, okay. That's very nice
16:18 whiteknight Rosella uses lots of :named :slurpy stuff throughout
16:18 Patterner left #parrot
16:18 plobsing you might be able to avoid abuse by specifically tagging the object :invocant
16:18 lucian_ left #parrot
16:18 Psyche^ joined #parrot
16:19 plobsing warning, it is untested
16:19 Psyche^ is now known as Patterner
16:19 whiteknight do we support the :invocant flag now?
16:19 plobsing it is in the imcc lexer
16:21 whiteknight right, but I don't think it's actually supported yet
16:21 theory joined #parrot
16:30 JimmyZ_ joined #parrot
16:33 sorear What's wrong with invocant = first positional?
16:34 JimmyZ left #parrot
16:34 JimmyZ_ is now known as JimmyZ
16:38 whiteknight plobsing: what is :init, function foo [init]{} ?
16:41 plobsing whiteknight: that looks about right
16:42 plobsing sorear: most people don't want to know that it works that way under the hood. they'd rather it run on unicorn piss.
16:50 JimmyZ left #parrot
16:50 whiteknight does winxed have any way to iterate hashes?
16:50 whiteknight I wouldn't have to ask so many questions if either the documentation or the test suite were more comprehensive
16:52 whiteknight I see a Foreach construct in the parser, but no tests or examples
17:04 plobsing foreach works on anything iterable
17:04 plobsing hashes are iterable
17:05 whiteknight maybe I don't know what the syntax is. Everything i try with foreach is a syntax error
17:06 whiteknight and now my file won't compile because it says it can't close the root namespace
17:08 whiteknight blah.
17:11 dukeleto ~~
17:11 ttbot Parrot 922c0d7d i386-linux-thread-multi make error http://tt.taptinder.org/cmdinfo/32824
17:15 ttbot Parrot 922c0d7d i386-linux-thread-multi make error http://tt.taptinder.org/cmdinfo/32967
17:19 theory left #parrot
17:31 tadzik hello dukeleto
17:32 tadzik seen the deprecation detector recently?
17:32 clunker3 Sorry, tadzik, I haven't seen the.
17:32 aloha Sorry, I haven't seen the deprecation detector recently.
17:32 tadzik ...smartasses
17:36 tadzik insult bots
17:36 aloha bots is nothing but a malodorous petrification of warped seagull puke.
17:41 mikehh left #parrot
17:46 dalek parrot: eb0ebb2 | fperrad++ | runtime/parrot/library/TAP/Formatter.pir:
17:46 dalek parrot: [TAP/Formatter] refactor _format_name() with a StringBuilder
17:46 dalek parrot: review: https://github.com/parrot/parrot/commit/eb0ebb2ecc
17:48 lucian joined #parrot
17:48 Hackbinary insult Hackbinary
17:48 aloha You are nothing but a gorbellied thimbleful of yeasty chicken piss.
17:49 Hackbinary insult aloha
17:49 aloha aloha is nothing but an impure petrification of low-quality snake bait.
17:49 lucian_ joined #parrot
17:49 lucian left #parrot
17:52 lucian joined #parrot
17:56 lucian_ left #parrot
17:56 mikehh joined #parrot
18:14 moritz \o
18:15 tadzik o/
18:16 * moritz wants to praise the parrot folks; it basically never happens anymore that some random parrot commit breaks rakudo
18:16 kid51 joined #parrot
18:17 ambs joined #parrot
18:17 whiteknight moritz: we try really hard!
18:18 plobsing moritz: now only specific parrot commits break rakudo :^)
18:18 moritz plobsing: typically only those that carry out deprecations
18:18 lucian left #parrot
18:20 plobsing whiteknight: foreach in winxed is for (x in y) {}
18:21 whiteknight thanks
18:22 whiteknight how do I take a reference to a function?
18:23 plobsing to access non-local symbols, you need to have a 'using' statement. an exception is made for function-calls, so it looks like taking a function reference (using a function as a value) needs special syntax.
18:23 plobsing using statements come in 3 forms.
18:23 plobsing using x; using extern x; using static x;
18:24 plobsing you most likely want the static version for function references in the same compilation unit.
18:25 plobsing of course, in many cases, you can use anonymous functions in stead.
18:25 whiteknight yay! my first winxed file compiles
18:27 plobsing anyone savy with bigendian bit-manipulation on big-endian (or at least have a big-endian system to test on)? can you check out the unaligned access code in src/pmc/structview.pmc? it should be portable between LE/BE but I'd like to be sure.
18:36 kid51 plobsing: Not at home now, so I can't test on the machine from which I reported the problem.
18:39 theory joined #parrot
18:40 plobsing kid51: I've added a patch to the TT, for when you do have the chance.
18:40 kid51 plobsing: Thanks for quick response.  Later today or tomorrow.
18:51 plobsing once we work those wrinkles out, I can move on to the next steps in native-interface-system cleaning: 1) deprecate the replaced types 2) move Zavolaj over to the new types 3) cleanup the call side of things 4) figure out wtf to do about callbacks
18:52 plobsing oh, I also have to look at those strict-aliasing warnings. those could be bad.
18:53 whiteknight does winxed have a hash-literal syntax?
18:54 whiteknight nevermind, I think I found it
18:55 plobsing whiteknight: yes. the syntax is handled by HashExpr. you should read the compiler source. it is quite readable and makes it easy to find how these things work.
18:55 ambs left #parrot
18:58 whiteknight it may be very readable, but there are several thousand lines of it
18:59 lucian joined #parrot
19:01 plobsing it is quite greppable too
19:02 whiteknight I have a winxed wrapper for distutils working. I'm going to start rewriting Rosella in winxed
19:11 plobsing kid51: (re: TT #1182) do you have any preference on where to put configure probes for detecting optional types in a C system (eg: long long support)?
19:16 plobsing whiteknight: I am curious to see what you've come up with and how similar it is to what I did when I wanted something similar.
19:16 plobsing also, how much effort would it be to push winxed support into core distutils?
19:23 plobsing left #parrot
19:25 whiteknight it wouldn't be too hard, I don't think
19:26 whiteknight hold on, let me push my work
19:27 whiteknight it's not much, about 20 lines of real code
19:27 whiteknight I had to duplicate some of the work for bootstrapping
19:28 whiteknight does winxed register a compreg?
19:30 whiteknight ...it appears to register it in the compiler, but not in the generated code
19:32 whiteknight maybe if I do a load_language("winxed")?
19:32 whiteknight whatever, I'm not using that right now
19:34 dalek Rosella: 8884066 | Whiteknight++ | winxed/ (2 files):
19:34 dalek Rosella: Add in a prototype winxed wrapper for distutils so I can build winxed libraries with it. Add in the (very rough) start of a setup.nqp rewrite in winxed
19:34 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/8884066826
19:34 dalek Rosella: c93c6c4 | Whiteknight++ | / (2 files):
19:34 dalek Rosella: Merge branch 'master' of github.com:Whiteknight/Rosella
19:34 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/c93c6c404c
19:54 theory left #parrot
20:07 kid51 left #parrot
20:14 dalek TT #2030 created by doughera++: t/pmc/structview.t fails with memory PANIC
20:14 dalek TT #2030: http://trac.parrot.org/parrot/ticket/2030
20:15 whiteknight get_integer_keyed() not implemented in class 'VarData'
20:15 whiteknight current instr.: 'parrot;NewExpr;optimize' pc 29110 (pir/winxed_compiler.pir:1) (winxedst1.winxed:5151)
20:19 theory joined #parrot
20:30 cotto ~~
20:33 whiteknight hello cotto
20:39 * cotto gets distracted by himself and starts thinking about a semi-automagic gun.
20:40 cotto whiteknight++ for the imcc pmc work
21:00 bacek left #parrot
21:02 whiteknight cotto: thanks
21:02 * whiteknight really wishes there was something exactly like Q:PIR in winxed
21:02 whiteknight I really need the ability to write a multi-line slug of literal PIR code
21:04 fperrad left #parrot
21:04 cotto whiteknight, how much effort do you think it'd be to rip out any known-broken imcc optimizations?
21:05 dalek parrot: 2eba1cf | petdance++ | src/pmc/resizablepmcarray.pmc:
21:05 dalek parrot: consting vars, and localized a work variable
21:05 dalek parrot: review: https://github.com/parrot/parrot/commit/2eba1cf82e
21:05 dalek parrot: 11fbc72 | petdance++ | src/pmc/resizableintegerarray.pmc:
21:05 dalek parrot: consted some locals, and removed horribly out-of-date history section
21:05 dalek parrot: review: https://github.com/parrot/parrot/commit/11fbc7252e
21:06 dalek parrot: d0c7751 | petdance++ | src/pmc/resizable (2 files):
21:06 dalek parrot: consted some locals, and removed horribly out-of-date history section
21:06 dalek parrot: review: https://github.com/parrot/parrot/commit/d0c77519e9
21:06 whiteknight cotto: ripping out is easy. Identifying the ones that are free to go is harder
21:06 whiteknight NotFound: ping
21:06 cotto ok
21:12 bacek joined #parrot
21:13 bacek Good morning, humans
21:14 cotto 10010101100101010101, bacek
21:14 bacek cotto, heay slacker :)
21:18 whiteknight good morning, bacek
21:18 whiteknight msg NotFound I opened two tickets for winxed. Let me know if you have any questions. I want to rewrite Rosella in Winxed, but I'm blocked on these issues
21:18 aloha OK. I'll deliver the message.
21:18 bacek aloha, whiteknight
21:19 tadzik whiteknight: what's wrong with nqp?
21:20 whiteknight tadzik: Nothing, really. I do want to learn Winxed. I'm finding that Winxed is lower and closer to the VM, and I think I prefer that for this application
21:21 whiteknight I'm going to be keeping the whole thing compatible with NQP (support for P6protoobject, etc), and some parts of it may stay written in NQP
21:31 whiteknight tadzik: I don't really like that NQP requires the P6object library for it's runtime. I don't really need the NQP features like regex and grammars
21:32 whiteknight so for small, thin libraries that's really overkill
21:34 dalek parrot: 3ccd945 | util++ | src/string/api.c:
21:34 dalek parrot: Fix Coverity defect #459: MISSING_BREAK in api.c
21:34 dalek parrot: review: https://github.com/parrot/parrot/commit/3ccd945640
21:39 dalek parrot/opsc_full_parse: 6f76568 | bacek++ | compilers/opsc/src/Ops/Compiler/Actions.pm:
21:39 dalek parrot/opsc_full_parse: Past 'switch'
21:39 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/6f76568b48
21:39 dalek parrot/opsc_full_parse: b129c7a | bacek++ | compilers/opsc/src/Ops/Compiler/Actions.pm:
21:39 dalek parrot/opsc_full_parse: Start PASTing of c macros
21:39 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/b129c7aa4d
21:39 dalek parrot/opsc_full_parse: 77c665e | bacek++ | t/compilers/opsc/03-past-declarator.t:
21:39 dalek parrot/opsc_full_parse: Remove misleading comment.
21:39 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/77c665ef6c
21:39 dalek parrot/opsc_full_parse: a4dbc5b | bacek++ | t/compilers/opsc/03-past-macros.t:
21:39 dalek parrot/opsc_full_parse: Add stub for tests.
21:39 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/a4dbc5bc50
21:39 bacek cotto, feel free to fill t/compilers/opsc/03-past-macros.t with meaningful content :)
21:40 bacek afk # breakfast, kids, rl -Ofun
21:40 whiteknight I have a few small problems with winxed too, not the least of which is that it's less available than NQP is
21:41 cotto "robot life"?
21:47 zby_home left #parrot
22:00 dalek Rosella: d4cd396 | Whiteknight++ | / (4 files):
22:00 dalek Rosella: add a version of the core library written in winxed. Expand the setup.winxed to be able to build several of the libraries.
22:00 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/d4cd396579
22:00 dalek Rosella: 6c5be73 | Whiteknight++ | tap_harness/TestFile.nqp:
22:00 dalek Rosella: Add a winxed loader to the TAP harness
22:00 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/6c5be73701
22:01 Khisanth joined #parrot
22:08 theory left #parrot
22:08 theory joined #parrot
22:10 plobsing joined #parrot
22:17 rurban_ joined #parrot
22:20 rurban left #parrot
22:20 rurban_ is now known as rurban
22:37 theory left #parrot
22:41 Coke is smolder still down?
22:45 * Coke reboots.
22:45 Coke left #parrot
22:56 Coke joined #parrot
23:23 dalek parrot/opsc_full_parse: fd3ddc8 | bacek++ | compilers/opsc/src/Ops/Compiler/Actions.pm:
23:23 dalek parrot/opsc_full_parse: Partially (non-semantically) handle labels in PASTing
23:23 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/fd3ddc8100
23:23 dalek parrot/opsc_full_parse: c0042e3 | bacek++ | compilers/opsc/src/Ops/Op.pm:
23:23 dalek parrot/opsc_full_parse: Output labels in .to_c
23:23 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/c0042e32b9
23:23 dalek parrot/opsc_full_parse: 9149366 | bacek++ | compilers/opsc/src/Ops/Op.pm:
23:23 dalek parrot/opsc_full_parse: Implement serialization of 'swithc'
23:23 dalek parrot/opsc_full_parse: review: https://github.com/parrot/parrot/commit/914936649c
23:37 kid51 joined #parrot

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

Parrot | source cross referenced