#parrot Parrot 0.6.1 "Bird of Paradise" Released | parrotcode.org
Set by moderator on 29 April 2008.
00:45 jjames joined 02:00 Theory joined 02:05 Zaba joined
Infinoid hmmm 02:12
Method 'set_string_native' not found for invocant of class 'Packfile' 02:13
the code was: pf.'set_string_native'($S0)
the method is: VTABLE void set_string_native(STRING *str) {
I'm pir-clueless... is there something special I need to do to call vtable functions?
oh, looks like "set pf, $S0" works in that case. but now I have the same problem figuring out how get_integer_keyed_str gets called 02:18
particle yes
$I0 = $P0[$S0] 02:19
get an integer from a keyed string
remember, VTABLE is not METHOD 02:20
Infinoid tried that, it wants to call get_integer_keyed(), not get_integer_keyed_str() 02:21
vtables look so much like methods, I want to call them as methods :) 02:22
sorry... this is the first time I've written a .pmc. it isn't going so well. 02:24
02:33 Zaba joined
Infinoid I made a get_integer_keyed() function which dispatches to get_integer_keyed_str(), that seems to get farther. 02:34
TimToady EECC? 02:35
02:35 janus joined
particle would love to help more, but has to run :( & 02:36
Infinoid "string_equal" is oddly named. the docs say it returns 0 on equality and 1 otherwise, but at first glance, I expected the opposite 02:47
and since I'm not used to that, "if (!string_equal(interp, a, b))" doesn't read very clearly 02:48
tetragon Sounds similar to strcmp
Eevee that is kinda terrible
tetragon (not that I use strcmp when strncmp is available) 02:49
Infinoid yeah, but at least with strncmp, I'm used to it :) 02:50
and it serves a purpose, since you can pass it immediately to a sort routine
02:52 Andy joined
Infinoid also, string_equal can return -1, despite its documentation implying it can't 02:55
also also, its unclear what the difference in behavior between string_equal and string_compare is
Infinoid gives up and looks to see what the other pmcs are using.
03:05 tetragon joined
tetragon string_compare is overt in its possibility of returning a negative value 03:05
string_equal hides it in CHARSET_COMPARE
tetragon also grumbles about wireless access points
Infinoid well, string_compare can do whatever it wants, since I didn't find any documentation on it :) 03:07
dalek r27313 | infinoid++ | trunk: 03:22
: [pod]
: string_equal() returns CHARSET_COMPARE(), which can return -1, therefore
: string_equal can return -1. Fix the documentation accordingly.
diff: www.parrotvm.org/svn/parrot/revision?rev=27313
r27314 | infinoid++ | pdd13pbc: 03:29
: [PDD13]
: * implement Packfile.set_string_native, add init()/destroy() methods to
: manage the PackFile struct.
: * implement Packfile.get_*_keyed_str(), so we can query .pbc header fields
: from pir.
: * Add some get_*_keyed() functions to dispatch to get_*_keyed_str(), which
: makes everything work. Though I don't know why I needed to do that.
: * Add an exception type: E_MalformedPackFileError
diff: www.parrotvm.org/svn/parrot/revision?rev=27314
nopaste "Infinoid" at 75.28.78.127 pasted "For posterity: the .pir file I used to test the above" (21 lines) at nopaste.snit.ch/12884
03:56 Theory joined 04:19 Theory joined, tetragon joined 04:37 Psyche^ joined 05:04 Zaba joined 05:23 Psyche^ joined 06:06 desertmax joined 06:27 Zaba joined 06:53 slightlyoff_ joined 09:20 barney joined 09:27 iblechbot joined 09:51 Ivatar joined 10:14 desertmax joined 10:59 kid51 joined 11:07 mire joined 11:21 rdice joined 11:48 dalek joined
dalek r27315 | infinoid++ | pdd13pbc: 11:48
: [PDD13] Make improvements suggested by chromatic++.
diff: www.parrotvm.org/svn/parrot/revision?rev=27315
r27316 | allison++ | pdd25cx:
: [pdd25cx] Fix old exception name in generated dynamic PMCs.
diff: www.parrotvm.org/svn/parrot/revision?rev=27316
r27317 | bernhard++ | trunk:
: [Plumhead]
: Disentangle the PCT and ANTLR3 variants.
diff: www.parrotvm.org/svn/parrot/revision?rev=27317
11:48 wolverian joined 11:51 pmichaud joined, Jonathan joined 11:52 Juerd joined 11:56 leo joined, PerlJam joined 12:58 Zaba joined 13:07 ambs joined
ambs . 13:10
Zaba moin ambs
ambs hellows 13:11
Zaba hmm... 13:17
ambs, can you look into these test failures: rafb.net/p/ASPvpc84.html 13:19
ambs Zaba, those files are yours?
Zaba ambs, it's non-changed r27319 13:20
ambs ok, then give me some minutes and I'll fix them
Zaba okay
ambs but they are not relevant
are just tests against the SVN repository 13:21
Zaba ambs, it's whitespace on EOLs too :>
just cosmetic problems indeed
ambs yes :)
coding standards, basically 13:22
barney Should be fixed now 13:23
ambs barney, all? :) 13:24
damn, no karma for me :D
barney Yes, it was all in the new file driver_nqp.pir 13:25
ambs hmmms. 13:48
dalek is dead!
purl, wake up dalek!
purl ambs: huh?
13:56 wolverian joined, dalek joined
dalek bernhard.schmalhofer@gmx.de | Plumhead: 13:56
link: www.perlfoundation.org/parrot/index.cgi?plumhead
r27318 | bernhard++ | trunk: 13:57
: [Plumhead]
: Start with setting up PAST in NQP for 'Plumhead PHC'.
: Some tests are passing, most are failing.
diff: www.parrotvm.org/svn/parrot/revision?rev=27318
r27319 | bernhard++ | trunk:
: [Plumhead]
: Clean up generated files.
diff: www.parrotvm.org/svn/parrot/revision?rev=27319
r27320 | bernhard++ | trunk:
: [Plumhead]
: Satisfy codingstd for driver_nqp.pir
diff: www.parrotvm.org/svn/parrot/revision?rev=27320
r27321 | fperrad++ | trunk:
: [Lua]
: - add a bytecode disassembler (first step of a Lua 5.1 VM bytecode translator)
diff: www.parrotvm.org/svn/parrot/revision?rev=27321
ambs dalek-- # for being dead! 13:58
13:59 pmichaud joined, Juerd joined, leo joined, Jonathan joined 14:04 PerlJam joined 14:08 Andy joined 14:16 Zaba joined 14:25 jan joined 14:26 wknight8111 joined 14:31 dalek joined 14:49 davidfetter joined 15:00 guru joined 15:04 kid51 joined
dalek allison@perl.org | Concurrency Tasks: 15:06
link: www.perlfoundation.org/parrot/index...ency_tasks
shorten dalek's url is at xrl.us/bjqpy
diakopter ambs: feather was down 15:21
ambs diakopter, those are just excuses :) 15:22
diakopter hey, at least dalek rejoined automagically. svnbotl would've required supranatural resurrection 15:23
ambs hehehe 15:24
15:30 guru joined
Infinoid ...and dalek queued the messages so nothing was lost, too! 15:30
15:58 tetragon joined
Juerd Note: feather's connection was down; the machine itself not. 16:05
ambs See? I told you that were just excuses :) 16:11
16:13 Bill joined 16:16 Juerd joined 16:20 rdice joined 16:27 teknomunk joined 17:09 kid51 joined
dalek r27322 | infinoid++ | pdd13pbc: 17:13
: [PDD13] Packfile PMCs need the "destroy" bit set, so they can free up
: the underlying PackFile object.
diff: www.parrotvm.org/svn/parrot/revision?rev=27322
Infinoid (...even though the underlying PackFile API still leaks memory.) 17:24
17:35 ambs joined 17:39 Theory joined
ambs any Vadim around? 17:44
dalek r27323 | infinoid++ | trunk: 18:01
: [packfile] Fix a small memory leak in pf_debug_unpack, reported by valgrind++.
diff: www.parrotvm.org/svn/parrot/revision?rev=27323
18:17 Zaba joined 18:35 AndyA joined
dalek allison@perl.org | Concurrency Tasks: 19:02
link: www.perlfoundation.org/parrot/index...ency_tasks
shorten dalek's url is at xrl.us/bjqpy
19:03 particle joined
dalek allison@perl.org | Concurrency Tasks: 19:14
link: www.perlfoundation.org/parrot/index...ency_tasks
shorten dalek's url is at xrl.us/bjqpy
dalek allison@perl.org | Concurrency Tasks: 19:30
link: www.perlfoundation.org/parrot/index...ency_tasks
shorten dalek's url is at xrl.us/bjqpy
19:31 ambs joined 19:43 grim_fandango joined 19:47 jjuran joined 20:12 Khisanth joined
Tene Ack. I was supposed to port the allow-trailing-commas fix from nqp to rakudo a while back. 20:30
I'll do it when I get to my hotel.
20:32 jan joined 20:35 slavorg joined 20:54 mj41 joined 21:20 teknomunk joined 22:07 Zaba joined 22:31 Bill joined 22:35 jan joined
Coke . 23:06
tetragon : 23:09
Infinoid ¿ 23:14
tetragon ? 23:15
Infinoid ! 23:27
Juerd 23:28
tetragon ?
Infinoid » 23:29
parrotbug is taking its sweet time.
Juerd ..
tetragon ?
Juerd ?
23:30
Infinoid ¡
tetragon ? 23:31
tetragon wonders about the wide variety of ?asterisks? in Unicode 23:34
Infinoid ¤ 23:43