Camelia, the Perl 6 bug

IRC log for #parrot, 2008-12-25

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:10 AndyA joined #parrot
01:00 TiMBuS i cannot seem to follow how this works at all.. can anyone tell me how perl 6 implements 'reverse'?
01:02 TiMBuS the reverse function provided by the String pmc is, uh.. not so good, and i'd like to stop using the hacked together opcode i made
01:07 Tene TiMBuS: src/classes/Str.pir line 52
01:08 Tene It's implemented in PIR.  The Perl 6 version is $str.split('').reverse().join('');
01:09 Tene I'm not entirely sure what you're asking.
01:09 TiMBuS so, it uses the reverse provided by list?
01:09 Tene Yes.
01:10 TiMBuS well i was wondering where the uh, meat of the implementation could be found so i could pretty much copy it heh. my current one just reverses ascii with a custom op
01:11 Tene look in src/classes/List.pir
01:14 TiMBuS ah okey dokey, thats pretty simple. all the work for unicode obviously goes into split.
02:03 Tene right
02:04 Tene pmichaud: what is it that needs to do the importing we talked about last night?  Do we just do it manually in perl6.pir?
02:47 rhr joined #parrot
03:01 Andy joined #parrot
03:50 rurban_ joined #parrot
04:02 elmex_ joined #parrot
04:02 dalek r34344 | petdance++ | trunk/config/auto:
04:02 dalek : -Wpadded probably is not very interesting
04:02 dalek review: http://xrl.us/bbrnmf
04:22 geof joined #parrot
04:38 dalek r34345 | petdance++ | trunk/src:
04:38 dalek : Shimmed an unused argument, and did some consting
04:38 dalek review: http://xrl.us/bbtskd
04:41 dalek r34346 | petdance++ | trunk/src:
04:41 dalek : Shimmed an unused argument, and did some consting, and localized a variable
04:41 dalek review: http://xrl.us/bbtwr6
06:32 MariachiElf joined #parrot
06:49 MariachiElf1 joined #parrot
07:18 mberends joined #parrot
07:23 GeJ Merry Christmas everyone.
08:37 Theory joined #parrot
09:00 clunker3__ joined #parrot
09:04 iblechbot joined #parrot
09:17 Zaba_ joined #parrot
10:22 alvar joined #parrot
11:31 Ademan joined #parrot
11:44 masak joined #parrot
11:50 rurban_ joined #parrot
12:58 jimmy joined #parrot
12:59 jimmy Merry Christmas, everyone.
12:59 jimmy masak:圣诞节快乐!
13:06 Zaba joined #parrot
13:09 masak jimmy: 圣诞节快乐 to you too!
13:39 masak jimmy: do you celebrate Christmas in any way?
13:40 jimmy masak: yeah.
13:40 jimmy and you?
13:44 jimmy but very simple.
13:59 Andy joined #parrot
14:00 masak jimmy: in Sweden, we usually celebrate on Christmas Eve.
14:00 masak this year, we'll have it very simple too.
14:01 masak with no children <7 years, there's no need for great pomp
14:02 jimmy masak: we usually celebarete on eve, someones celebrate today.
14:03 masak jimmy: ok. do you have a tree?
14:04 jimmy hmm.no. usually, there is a tree in company.
14:05 masak we have a small one, just to have something to dress up and put gifts under.
14:06 jimmy we have a big dinner. :)
14:06 jimmy we call it big.
14:07 jimmy Do you celebrate with your family?
14:09 pmurias joined #parrot
14:09 pmurias hi
14:09 jimmy hello
14:09 pmurias what are the benefits of having the opcode one word in length in the bytecode file?
14:11 * pmurias is implementing his own bytecode format and doesn't know whether to choose one word or one byte
14:18 Infinoid aren't there more than 256 of them?
14:19 Infinoid looks like there are 1324 ops, on my build
14:26 pmurias i'm implementing the bytecode format for smop which has 4 opcodes
14:28 Infinoid cool.
14:48 tetragon_ joined #parrot
14:50 tetragon joined #parrot
15:03 Infinoid hmm
15:03 Infinoid src/dynext.c:367: warning: cast from function call of type 'void *' to non-matching type 'long unsigned int'
15:04 Infinoid that came from the following code (preprocessor output):
15:04 Infinoid load_func = (PMC * (*)(Parrot_Interp interp))
15:04 Infinoid (funcptr_t)((UINTVAL)((Parrot_dlsym(handle, cload_func_name))));
15:04 Infinoid I'm not really sure what to make of that.  it should be casting the return value, not the function call?
15:06 Infinoid hmm, -Wbad-function-cast
15:18 dalek r34347 | infinoid++ | trunk (11 files):
15:19 dalek : [cage] Fix failures from the following codingstd tests:
15:19 dalek : * check_toxxx.t
15:19 dalek : * c_code_coda.t
15:19 dalek review:
15:21 dalek joined #parrot
15:23 Infinoid review link for above checkin was http://www.parrotvm.org/svn​/parrot/revision?rev=34347 .  dalek couldn't reach the shorten server, I think I've fixed that.
15:24 gmansi joined #parrot
15:24 jimmy why uses shorten server ?
15:25 jimmy maybe should give the long link when shorten server was down.
15:26 Infinoid yep, that's what I just hacked it to do
15:26 jimmy http://www.parrotvm.org/svn​/parrot/revision?rev=34347, was error.
15:26 jimmy An error occured
15:26 jimmy Missing @@ line before @@ -1 +1,8 @@ at line 5 of string
15:26 masak jimmy: yes, I celebrate with the family. we're just about to sit down to our Christmas dinner now. :)
15:26 masak &
15:26 Infinoid *sigh*
15:26 Infinoid jimmy: so much broken stuff, so little time :)
15:27 jimmy infinoid: it is not the first time .
15:27 jimmy masak: Merry Christmas to you again.
15:27 Infinoid the alternative is http://svn.perl.org/viewvc/parrot?view=re​vision&amp;hideattic=1&amp;revision=34347, but people seem to like parrotvm.org's diffs better
15:28 Infinoid (when it works)
15:28 Infinoid merry christmas everyone :)
15:29 jimmy infinoid: aye
15:29 iblechbot joined #parrot
15:30 jimmy Infinoid: merry christmas to you too.
15:36 leto joined #parrot
15:52 dalek r34348 | fperrad++ | trunk/languages/WMLScript (22 files):
15:52 dalek : [WMLScript]
15:52 dalek : - downcase HLL name
15:52 dalek review: http://xrl.us/bceb4q
15:58 dalek r34349 | rurban++ | trunk/t/library:
15:58 dalek :
15:58 dalek : Workaround missing Test::Builder::is in pg.t
15:58 dalek review: http://xrl.us/bce9a8
16:00 rurban pmurias: word access with modern CPU's it's much faster than bytes. also alignment issues.
16:34 Andy joined #parrot
16:58 rurban Oh no. PCT.pbc, PGE.pbc and the other compiler helpers are still not copied to the installed libdir. And no error in the testsuite.
17:00 dalek r34350 | fperrad++ | trunk/languages/lua (49 files):
17:00 dalek : [Lua]
17:00 dalek : - downcase HLL name (see ppd21)
17:00 dalek review: http://xrl.us/bcpxd7
17:09 allison joined #parrot
17:10 pmichaud RT slow
17:11 * pmichaud considers moving rakudo off of the perl.org server.
17:11 pmichaud s/rakudo/rakudo bug tracking/
17:17 cognominal joined #parrot
17:22 chromatic joined #parrot
17:42 Theory joined #parrot
18:12 tetragon joined #parrot
18:20 moritz pmichaud: where do you want to move it to?
18:21 Theory joined #parrot
18:21 moritz whatever it is, please take something where I can open tickets by email
18:28 moritz pmichaud: I'll probably be offline for a few days or even weeks soon... is there any specific topic you want more tests for?
18:30 pmichaud moritz: I don't know -- I'm contacting folks now to see if we can improve things.
18:30 pmichaud I can't even get into RT this morning, and there are some tickets that deserve quick response.
18:30 pmichaud brb, local reboot.
18:32 moritz pmichaud: ok, I'll just do some general cleanup, and add tests where I see that they are needed... have the appropriate amount of fun ;-)
18:34 chromatic joined #parrot
18:35 moritz gone &
18:36 tewk pmichaud: How do I clone a PCTNode, it looks like the clone method got removed.
18:37 dalek r34351 | rurban++ | branches/pdd30_install/tools/dev:
18:37 dalek : [install] use $options{libdir} or prefix
18:37 dalek review: http://xrl.us/bc7vg4
18:39 pmichaud ...do we need to clone a PCT node?
18:40 tewk Well I used to call it in ncigen, and now its gone, so ncigen is broken.
18:41 pmichaud probably should add a clone method, then.
18:41 pmichaud it's not just    $P0 = clone node   ?
18:41 pmichaud seems like that ought to work.
18:41 tewk maybe I was doing $ast.clone()
18:41 pmichaud ah
18:43 tewk git parrot?
18:43 Tene What about it?
18:44 tewk I wondered if purl knew of a already working mirror.  I want to do a search through history.
18:45 Tene There's http://repo.or.cz/w/parrot.git
18:46 Tene Or you could get a tarball from me
18:53 Tene purl: git parrot is http://repo.or.cz/w/parrot.git
18:53 purl OK, Tene.
18:53 Tene purl: parrot git is http://repo.or.cz/w/parrot.git
18:53 purl OK, Tene.
18:55 barney joined #parrot
19:07 tewk tewk adds his own clone method.  pmichaud++
19:10 alvar joined #parrot
19:28 PacoLinux joined #parrot
19:39 dalek r34352 | fperrad++ | trunk/languages/pipp/config/makefiles:
19:39 dalek : [Pipp]
19:39 dalek : - fix target clean-pmc
19:39 dalek review: http://xrl.us/bdhpmv
19:52 dalek r34353 | allison++ | branches:
19:52 dalek : Creating third branch for I/O refactors, allow subclassing of FileHandle PMC.
19:52 dalek review: http://xrl.us/bdjqxp
19:52 rurban_ joined #parrot
19:56 dalek r34354 | tewk++ | trunk/compilers/ncigen/src:
19:56 dalek : [ncigen] Added clone method that disappeared form pct
19:56 dalek review: http://xrl.us/bdkj52
20:10 Andy joined #parrot
20:11 Eevee joined #parrot
20:16 dalek r34355 | fperrad++ | trunk/languages/lua/src:
20:16 dalek : [Lua]
20:16 dalek : - use the attribute 'hll' of POST::Sub
20:16 dalek review: http://xrl.us/bdomhw
20:18 dalek r34356 | bernhard++ | trunk/languages/pipp/src/pct (2 files):
20:18 dalek : [Pipp] keep track of $?BLOCK and @?BLOCK for functions and methods
20:18 dalek : and class definitions
20:18 dalek review: http://xrl.us/bdow4f
20:30 Coke pmichaud: (RT slow) have you tried the command ilne interface recently?
20:30 Coke Merry Christmas, parrot.
20:42 Infinoid https://quack.glines.org/up​load/infinoid/12252008.jpg  <-- view from my front door
20:42 Infinoid anyone want some snow?  we have a surplus, I'll fedex you some
20:43 dalek r34357 | allison++ | branches/pdd22io_part3/src (2 files):
20:43 dalek : [pdd22io] Moving FileHandle PMC resource functions into more appropriately named file.
20:43 dalek review: http://xrl.us/bdsh42
20:56 Limbic_Region joined #parrot
21:10 dalek r34358 | allison++ | branches/pdd22io_part3 (3 files):
21:10 dalek : [pdd22io] Supporting changes after moving FileHandle PMC utility functions.
21:10 dalek review: http://xrl.us/bdwy7x
21:22 integral joined #parrot
21:22 tewk -for (parse_ast($fn).kv) -> $k,$v {
21:23 tewk doen't work for iterating over a PCT::Node anymore :(
21:23 tewk -for (parse_ast($fn).kv) -> $k,$v {
21:23 tewk I tried for (parse_ast($fn).hash) -> $k,$v {
21:24 tewk Method 'item' not found for invocant of class 'NCIGENAST;TypeDef'
21:24 tewk which inherits from PCT::Node.
21:24 tewk arrrg
21:38 tewk for (parse_ast($fn).hash().kv) -> $k,$v {    seems to work after adding a item method to NCIGENAST;Node
21:40 dalek r34359 | tewk++ | trunk (2 files):
21:40 dalek : [ncigen] fix due to move to Capture pmc I believe
21:40 dalek review: http://xrl.us/bd3pqd
21:40 Piper joined #parrot
21:40 Piper Hi there.  I am Piper.  I am now publicly logging this channel.  If you don't want to be logged, please leave now.
21:47 PacoLinux joined #parrot
22:00 PacoLinux joined #parrot
22:02 bacek joined #parrot
22:17 dalek r34360 | tewk++ | trunk/languages/ecmascript (21 files):
22:17 dalek : [js] start of a test suite
22:17 dalek review: http://xrl.us/bd6mv3
22:23 alvar joined #parrot

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

Parrot | source cross referenced