Camelia, the Perl 6 bug

IRC log for #parrot, 2010-07-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:31 kid51 joined #parrot
00:33 s1n joined #parrot
00:51 ingy joined #parrot
00:53 snarkyboojum joined #parrot
00:57 ingy joined #parrot
01:17 rurban_ joined #parrot
01:48 darbelo NotFound: ping
01:54 cognominal joined #parrot
02:04 cotto It's nice to see someone obliterating whitespace instead of just removing or deleting it.
02:07 darbelo Next time, It'll be anihilation.
02:09 snarkyboojum joined #parrot
02:26 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#35089), fulltest) at r48178 - Ubuntu 10.04 amd64 (g++ with --optimize)
02:46 tcurtis joined #parrot
02:47 janus joined #parrot
03:04 ttbot Parrot trunk/ r48179 MSWin32-x86-multi-thread make error http://tt.taptinder.org/file/cmdout/359555.txt ( http://tt.taptinder.org//bui​ldstatus/pr-Parrot/rp-trunk/ )
03:04 Coke joined #parrot
03:06 dalek parrot: r48179 | chromatic++ | trunk/config (2 files):
03:06 dalek parrot: [config] Allow spaces in build directory.
03:06 dalek parrot: This is the first step to allow people with spaces in their build directories
03:06 dalek parrot: to build Parrot.  pbc_to_exe needs additional logic to escape spaces in paths,
03:06 dalek parrot: but that's a bigger challenge for later.  Tests pass for me on a checkout
03:06 dalek parrot: without spaces too.
03:06 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48179/
03:06 sorear Do we have CJK in build directories working yet?
03:21 mikehh rakudo (b46a3b3) builds on parrot r48178 - make test PASS, spectest_smolder -> #35090 (pugs r31823) PASS - Ubuntu 10.04 amd64 (g++ with --optimize)
03:21 mikehh t/spec/S04-statements/for.rakudo - TODO passed:   49
03:38 mikehh partcl-nqp builds on parrot r48178 - make test PASS - Ubuntu 10.04 amd64 (g++ with --optimize)
03:44 mikehh winxed builkds on parrot r48179 - make test/test1/test2 PASS, some examples ok
03:45 mikehh that should be r14178 - haven't tried r48179 yet
03:59 LoganLK joined #parrot
04:01 mikehh plumage ok on parrot r48178 - tests ok - Ubuntu 10.04 amd64 (g++ with --optimize)
04:01 mikehh plumage - tree-optimization builds, tests, install ok
04:39 Austin joined #parrot
04:56 jsut joined #parrot
05:00 plobsing joined #parrot
05:05 snarkyboojum joined #parrot
06:13 uniejo joined #parrot
06:21 galf joined #parrot
06:25 galf left #parrot
07:24 baest joined #parrot
07:25 dalek rakudo: 807748a | (Fitz Elliott)++ | src/core/operators.pm:
07:25 dalek rakudo: force xx op to numify rhs except Whatevers
07:25 dalek rakudo: Signed-off-by: Moritz Lenz <moritz@faui2k3.org>
07:25 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/8​07748a2ea5235f1440bc73de0011e6aecfba491
07:47 snarkyboojum joined #parrot
08:30 fperrad joined #parrot
08:35 AndyA joined #parrot
09:17 rurban_ joined #parrot
09:30 lucian joined #parrot
09:56 dalek rakudo: 4884806 | moritz++ | src/Perl6/Actions.pm:
09:56 dalek rakudo: turn s/// into a call
09:56 dalek rakudo: This means it now works everywhere, not only on the RHS of smart-matching.
09:56 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/4​884806bca49e2ff8646ae2212d0f782ec56732f
09:56 dalek rakudo: ed98e0f | moritz++ | src/Perl6/Actions.pm:
09:56 dalek rakudo: add :node to substitutions, to get line numbers in error messages
09:56 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/e​d98e0fe440e323dc3e692ddcf0648906153d170
09:57 AndyA joined #parrot
10:04 jan joined #parrot
10:19 dalek rakudo: 9808d7c | moritz++ |  (4 files):
10:19 dalek rakudo: remove old Substitution hack
10:19 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/9​808d7c3ee3b4e7c48b71bb51853cf94afb3afe6
10:32 macroron joined #parrot
11:33 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#35101), fulltest) at r48179 - Ubuntu 10.04 amd64 (gcc)
11:48 nopaste "mikehh" at 192.168.1.3 pasted "still major problems with space in directory name (t parrot)" (88 lines) at http://nopaste.snit.ch/22302
11:51 whiteknight joined #parrot
11:54 whiteknight goodmorning, #parrot
11:54 moritz good morning mr. withworth!
11:58 mikehh hi whiteknight
12:03 bluescreen joined #parrot
12:05 whiteknight hello moritz, mikehh
12:05 whiteknight how are you fine gentlemen doing todaY?
12:06 moritz well, it's Monday.
12:06 moritz any further questions? :-)
12:06 moritz actually, not too bad. Already got a patch into rakudo today, s/// style substitution now works in any context
12:07 whiteknight yes, I saw that. very nice
12:07 lucian_ joined #parrot
12:08 whiteknight some people read the newspaper in the morning, I read the commit logs :)
12:09 moritz :-)
12:45 Coke if we're using NQP's expr parser, should we get parens for free?
12:46 Coke ... hey, do we still have an evalbot in here?
12:51 moritz Coke: want one?
12:52 Coke moritz: yes please. (mainly for partcl-nqp for me)
12:55 p6eval joined #parrot
12:55 moritz nqp: say(1)
12:55 p6eval nqp: OUTPUT«1␤»
12:55 atrodo oooh, shiny
13:11 Coke moritz: would it be possible to add partcl-nqp there?
13:12 moritz Coke: yes, I just have to set it up first
13:35 particle1 joined #parrot
13:38 was kicked by particle1: particle
13:46 bluescreen joined #parrot
13:46 bubaflub joined #parrot
13:48 bubaflub left #parrot
14:16 whiteknight joined #parrot
14:23 Andy joined #parrot
14:28 preflex joined #parrot
14:56 bubaflub joined #parrot
15:13 jsut_ joined #parrot
15:16 bubaflub joined #parrot
15:32 Coke man, #perl6 is going to get chaaaaaaaatty.
15:32 atrodo freenode, right?
15:33 Coke ja
15:33 * atrodo joins to watch the chatter
16:06 eternaleye joined #parrot
16:07 cxreg hey, if i modify src/nci/extra_thunks.nci, it generates src/extra_nci_thunks.c, but does not modify src/nci/extra_thunks.c
16:07 cxreg am i doing it wrong?
16:07 cxreg the latter appears to be the important one
16:08 cxreg Coke: due to R* you mean?
16:08 cxreg that's thursday
16:12 cxreg in addition, src/extra_nci_thunks.c is only local, but src/nci/extra_thunks.c is tracked by SVN
16:12 cxreg and the diff between them is not just my changes
16:13 cxreg although a lot of it is just whether CURRENT_CONTEXT(interp); is const
16:19 theory joined #parrot
16:31 dalek partcl-nqp: 69a50b8 | Coke++ |  (3 files):
16:31 dalek partcl-nqp: make [expr] support parens
16:31 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/69a50b8e4c460409fde5a6ed47fbb39f871592e5
16:31 Coke cxreg: yes, due to R*. it's already more chatty today.
16:31 * Coke susses the paren issue.
16:31 * Coke was expecting some magical circumfix rul einherited from the expr grammar, but that wasn't it. =-)
16:38 dalek winxed: r581 | NotFound++ | trunk/examples/fly.winxed:
16:38 dalek winxed: add a bridge and use real time in example fly
16:38 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=581
16:39 Austin_Hastings joined #parrot
16:54 cxreg nobody has a hint on generating a proper version of extra_thunks.c?
16:57 mikehh cxreg:  I think plobsing did most of the work there
16:59 cxreg it looks like maybe the generating program is just outdated
16:59 cxreg but i'm not sure
16:59 cxreg ./parrot_nci_thunk_gen
17:00 darbelo It could be. We have a checked-in version of the output for bootstraping purposes.
17:00 cxreg darbelo: right, so the checked-in one is the one that's actually used, but the makefile writes to a different file
17:00 cxreg and the resulting files are different
17:01 darbelo Can you nopaste a diff?
17:01 cxreg sure
17:02 nopaste "cxreg" at 192.168.1.3 pasted "src/extra_nci_thunks.c vs src/nci/extra_thunks.c" (2330 lines) at http://nopaste.snit.ch/22308
17:03 cxreg the most interesting and significant diff is the function name at the bottom
17:04 NotFound darbelo: pong
17:04 darbelo Yeah.
17:05 cxreg while we're working on it, I'd like to add some thunks for postgres' SPI
17:06 darbelo cxreg: src/nci/extra_thunks.nci is the file to do that, I think.
17:06 cxreg right, that's how i found out
17:06 cxreg i added to that file, ran make, and got no results
17:06 cxreg migrated the generated changes over to src/nci/extra_thunks.c, and then it worked
17:07 Coke I thought one of those files was for embedding, and one was for parrot.
17:07 darbelo You can pass a -o /path/to/outfile option to nci_thunk_gen
17:07 cxreg darbelo: except that the contents are wrong, including the function name
17:08 cxreg anyway, i think it's just that this is outdated
17:08 * cxreg looks at the src
17:08 mikehh nearly all the diffs are comst or not
17:08 darbelo NotFound: Do you think the bytebuffer PMC is up to replacing the various _BYTE and _BYTES accessors in the string API?
17:08 mikehh const
17:09 cxreg mikehh: yes, except for the last hunk
17:11 darbelo A few of them are unused, and others look mis-used in places, if the bytebuffer PMC can cover the same needs for external uses, I can probably refactor them away.
17:11 NotFound darbelo: What accessors? The ones in the charsets and encodings?
17:11 darbelo Yep.
17:12 NotFound darbelo: If they aren't used is speed critical parts, I think BB can do the job.
17:13 darbelo Excellent.
17:14 darbelo NotFound++
17:16 NotFound Maybe we need to add a sort of substr to BB
17:18 darbelo Probably, that would be a good replacement to ENCODING_GET_BYTES(), but I wouldn't really hurry, since it's unused iside parrot :)
17:19 rurban_ joined #parrot
17:19 NotFound We can just wait to see if someone ask for it.
17:22 cotto_work ~~
17:23 cxreg ./parrot_nci_thunk_gen --core --loader-name=Parrot_nci_load_extra_thunks --no-warn-dups --output=src/nci/extra_thunks.c <src/nci/extra_thunks.nci
17:23 cxreg seems to work
17:23 cxreg maybe we just need to add that to the makefile
17:26 jsut joined #parrot
17:30 darbelo We store the makefile templates in config/gen/makefiles/ and great at applying patches form out users :)
17:30 cxreg yeah, i'm working on it :)
17:30 darbelo cxreg++
17:30 cxreg what's the best form for patches?
17:30 cxreg email?
17:30 purl email is for old people
17:30 cxreg lol
17:31 darbelo Attaching them to a Trac ticket or just nopasting them here.
17:31 cxreg oke
17:32 tcurtis joined #parrot
17:36 nopaste "cxreg" at 192.168.1.3 pasted "nci makefile patch" (13 lines) at http://nopaste.snit.ch/22309
17:36 cxreg that turned out to be as simple as I hoped
17:36 cxreg the rebuilding and testing took a while, lol
17:43 darbelo cxreg: Looks good. Any name you want to be credited by in the commit message?
17:46 cxreg Dave Olszewski <cxreg@pobox.com>
17:46 cxreg thx
17:58 dalek parrot: r48180 | darbelo++ | trunk (2 files):
17:58 dalek parrot: Modify the makefile to keep src/nci/extra_thunks.c properly updated.
17:58 dalek parrot: Patch by Dave Olszewski.
17:58 dalek parrot: review: http://trac.parrot.org/parrot/changeset/48180/
18:02 cxreg woot thx
18:03 cxreg plparrot will be actually useful soon
18:03 cxreg dukeleto++ for all his work on it so far
18:03 cotto_work cxreg is Dave Olszewski <cxreg@pobox.com>
18:14 patspam joined #parrot
18:17 dukeleto cxreg++ for hacking on PL/Parrot and improving Parrot on the way
18:50 ruoso joined #parrot
19:07 bubaflub joined #parrot
19:16 dalek joined #parrot
19:30 Coke whee, only one more feature needed before I can run init.tcl (again) with no errors. (of course, it won't DO anything, but at least it will complete)
19:53 dalek joined #parrot
20:17 tcurtis http://github.com/ekiru/nqp-rx/commit/3​df17951c02f320f0010114671305cbbb2c60a1c Tree::Optimizer is sufficiently working to rewrite my example constant-fold optimization with it. :)
20:27 ash_ joined #parrot
20:33 lucian joined #parrot
20:40 mokurai joined #parrot
20:44 cotto_work I don't entirely understand what that means, but it looks shiny.  tcurtis++
20:48 darbelo I think it's a dog food advertisment.
20:48 cotto_work I love dogfood.
20:49 cotto_work I do, however, note that the change results in more code instead of less.
20:49 tcurtis cotto_work: it means fewer monkey-patched methods onto compiler classes for writing optimizations with my GSoC. :) And eventually shiny new features.
20:50 cotto_work so better encapsulation?
20:57 sorear seen Schwern
20:57 purl Schwern was last seen on #perl 8 days, 14 hours, 16 minutes and 18 seconds ago, saying: Which is actually the easy way to do it  [Jul 18 06:41:05 2010]
21:00 tcurtis cotto_work: That's all it allows for now, yes.
21:00 cotto_work encapsulation is worthwhile
21:01 whiteknight joined #parrot
21:11 whiteknight Tene: ping
21:11 Tene whiteknight: pong
21:12 tcurtis cotto_work I don't think it's a significant increase in the amount of code compared to doing the same thing without Tree::Optimizer, though. Just 3 lines really(load Tree/Optimizer.pbc, create a Tree::Optimize, run it after registering passes). The encapsulation is possible without it, but it would be a bit more fragile in that you have to handle threading the result of each optimization to the next yourself and handle the ordering yourself.
21:12 whiteknight Tene: that :nsentry change you made to NQP-RX, is that in the repo now?
21:12 Tene whiteknight: I was hoping to get confirmation from you or Austin_away that it worked before trying to find the docs to import it into the parrot repo.
21:12 Tene So, no, it's not in the parrot repo yet.
21:13 whiteknight Tene: oh, okay. I'll have to figure out how to test it then
21:15 darbelo whiteknight: grab a nqp-rx checkout from github and install it.
21:15 Tene you don't even need to install it.
21:15 whiteknight darbelo: will it install over the parrot-nqp that comes with parrot?
21:16 Tene you can just compile it and use the 'nqp' binary in the local dir
21:16 darbelo It'll be available as nqp, instead of parrot-nqp, IIRC.
21:16 Tene I did my testing with just ./nqp
21:18 whiteknight gotcha
21:44 snarkyboojum joined #parrot
21:47 dalek winxed: r582 | NotFound++ | trunk/examples/fly.winxed:
21:47 dalek winxed: reset timer before exiting and add alternate point f view in example fly
21:47 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=582
22:23 snarkyboojum joined #parrot
22:26 AndyA joined #parrot
22:29 AndyA joined #parrot
22:34 jan joined #parrot
23:09 hudnix joined #parrot
23:10 snarkyboojum joined #parrot
23:26 theory joined #parrot
23:27 snarkyboojum joined #parrot
23:32 AndyA_ joined #parrot
23:40 ruoso joined #parrot
23:47 mikehh joined #parrot
23:57 Psyche^ joined #parrot
23:59 snarkyboojum joined #parrot

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

Parrot | source cross referenced