% IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % IllvilJa has joined #parrot % DarkWolf84 has left DarkWolf84!~dwolf@89.215.234.147 % Ademan has left Ademan!~dan@h-67-101-42-224.snfccasy.dynamic.covad.net % contingencyplan has left contingencyplan!~contingen@cpe-76-186-27-146.tx.res.rr.com % dakkar has joined #parrot % contingencyplan has joined #parrot % kid51 has joined #parrot % wknight8111 has joined #parrot % skids has left skids!~bri@c-71-233-204-100.hsd1.ma.comcast.net % DarkWolf84 has joined #parrot % jan has left jan!~chatzilla@89-253-66-101.customers.ownit.se % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % rotty` has joined #parrot % tetragon has left tetragon!~seneca@gw-312-705.somanetworks.com % rdice has joined #parrot % tetragon has joined #parrot % skids has joined #parrot % ruoso has joined #parrot % kid51 has left kid51!~jkeen@pool-71-247-52-225.nycmny.east.verizon.net % skv has left skv!~skv_@87.242.97.68 % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % cosimo has left cosimo!~cosimo@pat-tdc.opera.com % ambs has joined #parrot my %hash = (test => "moep"); <-- this is not valid perl6, right? * ambs hopes it is but I have *no* idea :D it causes rakudo to segfault or well parrot, more like Zaba: It's valid Perl 6, but use the colonpair notation for paris at the moment. Segfault is...pretty extreme. jonathan, hm? lemme bt full it my %hash = (:test("moep")); oh. yuck http://rafb.net/p/htOdEt53.html purl, seen coke here's bt full coke was last seen on #parrot 17 hours and 6 minutes ago, saying: pmichaud: new ticket with a see also is probably best, since you're asking for something else. =-) purl, seen merlyn merlyn was last seen on #moose 35 days and 15 hours ago, saying: ... http://methodsandmessages.vox.com/library/post/the-year-of-smalltalk.html [Mar 20 15:09:20 2008] code: my %hash = (test => 'moep'); jonathan, ^ I don't think rakudo understands list assignment yet and I'm not sure that hash knows how to be assigned a list or, in this case, a Pair not for hashes I still need to apply the patch that adds the hash composer, but the code needs to be cleaned up a bit (it doesn't follow any recognizable coding standard) what I need to do to comply? so the code it segfaults in will be changed anyway? consistent indentation, primarily oh Zaba : problemes is the list operator when using with 0 and 1 operands I have filed a bug okay. s/list operator/list context % tetragon has left tetragon!~seneca@69-196-138-185.dsl.teksavvy.com % rotty` has left rotty`!~user@81.223.119.66 in my %hash = ( foo => 'bar' ); there is no "list operator" :-) I meant the coma operator pmichaud: fatarrow doesn't work because it doesn't parse to item assignment... So the RHS of the => swallows up everything, and if there's commas, it makes a list. I suppose that's wrong? jonathan: okay, makes sense is it correct in STD.pm ? It's not an issue, in theory, if you're just having one element. pmichaud: STD.pm is correct, but we can't do what it does yet, I don't think. I left a comment in the grammar. Saying what it should be. why can't STD.pm be used?.. we can do it with a custom parse routine Zaba: there isn't anything that can execute STD.pm yet oh... right % askie has left askie!~askie@81.171.100.208 STD.pm uses constructs that we haven't implemented (and aren't likely to implement until the summer sometime) % askie has joined #parrot pmichaud, like which? proto regexes, primarily I see % gryphon has joined #parrot what is used for character classes in perl6 regexes? enumerated character classes? <[aeiou]> pmichaud, do you know how to fix the namespace for named rules in grammar? oh, makes sense cognominal: I don't understand the question grammar A { token a { } } ; # the pir code generated has an empty namespace insead of A have to pass a 'grammar' option to the PGE rule that compiles the token you mean that the change does not involve PGE but the way it is called? correct. no, it's not! so I should rephrase it as "have to pass a 'grammar' option to the PGE::Perl6Regex compiler" I think I toyed with the idea of changing the option name to 'namespace' instead, for consistency with other components % rdice has left rdice!~richarddi@CPE001ff33cb98b-CM00159a01d44c.cpe.net.cable.rogers.com "cognominal" at 82.67.232.89 pasted "hash composer" (96 lines) at http://nopaste.snit.ch/12813 is that better? a little. still doesn't completely line up (at the bottom) arf need quotes around 'Iterator' is there a tool to check it complies? there might be a pir coding stds test might look in t/codingstd/ in many cases I think it would be better to use the Perl 6 functions rather than the Parrot opcodes, though thus, 'die'(errstr) instead of die errstr and the equivalent of Hash.new() instead of $P0 = new 'Hash' indeed. there's no pir codingstd test yet All tests successful Guess your work here is done, ambs. Your notice of intestination will arrive shortly. particle++ # thanks i really wanna write a hlltidy based on parse trees generated by pct, and written in nqp but nqp might not be good enough particle: Write it in Rakudo. ;-) what is hll? i heard hll was High Level Language how far rakudo is from compiling itself? jonathan: could do. suppose it'd be a good test *very* far, that is. depends on what one means by "compiling itself" umm, rakudo isn't written in perl6, is it? many parts of it are Well, not really...rakudo can already do everything NQP can, almost? the grammar and actions for rakudo are written in Perl 6 there there are some support functions and runtime builtins that are written in PIR Rakudo doesn't have an equivalent of NQP's PIR q<...>; here-document is missing too. pmichaud, is it possible to write all builtins in perl6? Zaba: my theory is no Zaba: if you can tell me how to write infix:+ in Perl 6, then maybe. % rdice has joined #parrot pmichaud, well, maybe some are? % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net sure, I think that many are. That's a definite goal for us. But lots of them aren't. for example, say can be implemented through print.. Even something like 'substr' seems like it would be difficult to write in Perl 6 pmichaud, even with regexes? zaba: well, here's a canonical example just a sec, nopasting % gryphon has joined #parrot "pmichaud" at 76.183.97.54 pasted "code for 'substr' in PIR" (16 lines) at http://nopaste.snit.ch/12815 so, if there's a Perl 6 version that can be written more understandably and efficiently than that, we could use it. but I'm doubtful. hmm and even the "new 'Perl6Str'" portion will go away soon actually, it should go away now and be replaced with prefix:<~> In any (efficient) language implementation, I think there are always some primitives that are written in some language other than itself maybe.. my modified hash composer works with item, array, hashes but still has a problem with pairs cognominal: fat arrow pairs, or all pairs ? all pairs > say :a.perl Segmentation fault (Core dumped) ouch :a.perl doesn't use the hash composer function, does it? Zaba: anyway, things like substr and infix:+ are why I haven't been on a strong push to try to get "every builtin written in Perl 6". For some builtins, that's actually more work (and less efficient) than just writing the PIR. hmm no that said, it would be very interesting to see someone come up with a pure Perl 6 definition of every builtin. :-) and it will oblige us to optimize the compiler to avoid deal with pads everywhere cognominal: Having seen the backtrace for the pairs issue, can kinda see what's going on. % mj41 has left mj41!chatzilla@pc-jurosz.ro.vutbr.cz src\gc\dod.c(338) : warning C4098: 'pobject_lives' : 'void' function returning a value Might do us well to just write a Pair class ourselve though. And not use the Parrot PMC. It's not really what we want. Is there an important advantage to using Parrot's built-in Pair class? Not that I can think of. I was a little surprised that we did that in the first place. My plan was always to create a Pair class in PIR, if not Perl 6 who broke my gc? aargh. time to go hunting. say :a.value crashed too % mj41 has joined #parrot I'm strongly in favor of ripping Parrot's Pair PMC out of Rakudo entirely pmichaud: Do it. brb Or let someone beat you to it. (for that matter, I'm strongly in favor of ripping Parrot's Pair PMC out of Parrot entirely, but that's a different call) :-) * particle agrees with pmichaud I'm travelling to a conference for the weekend, so I won't get to it until early next week at least, I doubt I'll get to it until Sunday at the earliest. thx anyway for commenting my code. I need feddback to make progress I am eager to apply the hash composer patch, because it will help us out in a lot of areas I can't test if for pairs now I might just apply it and add comments about things I think need to be changed % jan has joined #parrot "cognominal" at 82.67.232.89 pasted "hash composer" (97 lines) at http://nopaste.snit.ch/12817 yes please I think the hash composer probably also wants a .param pmc pairs :slurpy :named argument * particle fixes a poorly placed #endif and recompiles jonathan: I tried to fix my @a = [ 1 ]. I expected +$ to give me the length of the statement so that it can pick up hash(:a(5), :b, :!c) (assuming that's a valid way to pass pairs to the hash composer -- need to check synopses) +$ will return the numified value of $'s result object how can I get to $ length "length" isn't a valid concept in Perl 6. Do you mean "number of characters"? I meant it the number of kids matches ah, number of elements $.elems() ho (I'm not sure that's implemented, but that's the correct way to do it) could also do % Andy has joined #parrot +@($) (numify the array component of $) I know that +@($) should work in NQP have to do $job for a bit r27161 | particle++ | trunk: : [gc] fix poorly placed '}' preventing compilation diff: http://www.parrotvm.org/svn/parrot/revision?rev=27161 my @a = [ 1 ] and my @a = ( 1) are supposed to be the same thing? jonathan: any progress with tapx? tapx? tcl failing t/cmd_lsort.t 1 256 21 0 ?? 1 subtest skipped. ambs: known, iirc. coke? cognominal: TAP::Parser, Test::Harness 3.x particle, good we've really got to improve our spectest failure reports particle: Not had chance to look yet, sorry. technically, it passed all the tests. =-) it's the inferior runloop problem. (I'm throwing an exception from PIR through C back into PIR) cognominal: i asked AndyA to give us some love from those modules. in tapx's svn repo (http://svn.hexten.net/tapx/trunk) he added an option allowing us to ignore the exit code from the test files using that enables us to mark as passing those fudged tests which pass (as all fudged tests return exit code 1 atm) however, i wonder if there's a better way to mark which test files have been fudged perhaps their file extension is enough Mmm... new laptop... can't wait to compile parrot on it. tene: what kind? i got my t61 tuedsay. t61p what's the reason for fudged test returning exit code 1 ? that's nvidia gfx, right? pmichaud: to distinguish it from non-fudged tests yeah, nvidia gfx i got internal gfx to save battery particle: seems like that should be a command-line option to *fudge* then, not to the harness i.e., we should be able to tell fudge "don't report fudged tests as failing" pmichaud: that's just what i was thinking about I considered that, but I like having this many pixels. I'm thinking about getting the ultrabay battery, though. the default invocation can return a failing code -- that makes sense. But if someone passes an option to fudge saying "pass fudged tests", then I think that's in the realm of "all's fair if you predeclare" pmichaud: is there a mode into which i can put pge so it will capture whitespace? pmichaud: i'll code it up particle: I think you're asking for :keepall % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt is that implemented? (PGE doesn't implement :keepall yet) didn't think so. but I think that's what you're asking for. :-) ok. yes, i think so, too. really, i just want :keep() essentially it says to go ahead and capture non-capturing subrules or whatever what about that might occur inside of some other non-captured subrule? iunno. probably that too anyway, i can deal without any of it. however, i'd like to know what's best to use to manipulate the parse tree... nqp or tge yes. The start positions for each parse node are there, though, so you could infer the from that. yes, kinda \n is lost personally, I'd use nqp, but only because I'm more familiar with it ...\n is lost? \r\n not really darn it. i really need to finish that yaml dumper if you just keep the original source string around (and it's there, in the match nodes themselves), then you can easily use the positions to see the whitespace % uniejo has left uniejo!~uniejo@langebro.adapt.dk % rdice has left rdice!~richarddi@CPE001ff33cb98b-CM00159a01d44c.cpe.net.cable.rogers.com % rdice has joined #parrot % apple-gunkies has joined #parrot % turrepurre has joined #parrot % wknight8111 has joined #parrot particle: (yaml dumper) I was expecting an email or something some time ago with what you thought you had left. ah, right. even if I don't get to it, open a ticket or something with the remaining tasks. what's the syntax for patch? patch -p0 . patch -p0 assuming that the paths in file.patch correspond to the current directory doesn't seem to be working here. hrmm. yep try -p1 if the paths are a/languages/perl6/... and b/languages/perl6/... then use -p1 if the paths are languages/perl6/... in both cases then use -p0 (-p indicates the number of directory prefixes to strip before applying the patch) * particle used the visual patch util since cmdline wasn't working % jan has left jan!~chatzilla@90-229-128-103-no52.tbcn.telia.com * jonathan has had some windows patch programs getting horribly confused over line endings before now % mire has joined #parrot % Theory has joined #parrot % ambs has joined #parrot % mire has left mire!~Frodo@155-174-222-85.adsl.verat.net purl, squaak? wish i knew, ambs squaak is languages/squaak or the language in kj's tutorial at parrotblog.org squaak? it has been said that squaak is languages/squaak or the language in kj's tutorial at parrotblog.org particle, that didn't help much what are you looking for? what kind of language? Just another strange one? :) squaak is also http://svn.perl.rog/parrot/trunk/languages/squaak/ okay, pmichaud. it's based on Lua, if i recall i have no idea, i haven't read the tutorial iwbni squaak had a README file there squaak? i think squaak is languages/squaak or the language in kj's tutorial at parrotblog.org or http://svn.perl.rog/parrot/trunk/languages/squaak/ but it's a toy language, used for demonstration only and the README could point to the current tutorial location, whatever it is wknight8111, ok, that was what I was looking for no, squaak is languages/squaak or the language in kj's tutorial at parrotblog.org or http://svn.perl.org/parrot/trunk/languages/squaak/ okay, Infinoid. maybe I'll grab a README from the parrotblog text (fix typo in perl.rog :)) Infinoid: thanks my fingers aren't in the irght place thsi morning strangely, I type better when I haven't really woken up yet :D compiling parrot makes my mbp hot * particle hopes nobody added the hcf op to parrot's mac compile hcf? hcf is halt and catch fire or (: foldoc hcf) or http://en.wikipedia.org/wiki/Halt_and_Catch_Fire :D hcf is also an experimental parrot opcode okay, particle. mbp is landing Usual test failing on mac t/examples/library.t (Wstat: 256 Tests: 4 Failed: 1) Failed test: 3 pmichaud++ # readme for squaak r27162 | coke++ | trunk: : [codingstd] : update to new ops syntax to avoid generating code that will never : be executed. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27162 % iblechbot has left iblechbot!~iblechbot@ppp-62-216-205-227.dynamic.mnet-online.de % iblechbot has joined #parrot % mire has joined #parrot % particl1 has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.wa.comcast.net l8r % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt * Tene svn co parrot (squaak readme) note that all I did was write the message to the list -- I didn't add it to the repo yet. Hopefully someone else can do that, since I'm kinda pre-occupied today. Tene: You can also git clo it now. :-) (Read-only of course) Debolaz: I usually use git-svn, actually. real 0m55.664s user 1m23.690s sys 0m12.970s for make -j 3 * particl1 needs to partition his hdd and install hearty % particl1 is now known as particle hearty? new ubuntu release yep, came out yesterday hearty heron * Debolaz needs a perl6 based project to play with.. A small web framework perhaps. Does rakudo support sockets? Not yet, I think no, just $*IN, $*OUT, $*ERR :~( .open, .readline Yeah, readline was the result of my nagging. :-) is it standard? keep nagging! "hardy" installed the new release last night :-) * Zaba doesn't use ubuntu kubuntu, here * Zaba doesn't use .*ubuntu :> rakudo is real 0m36s er, right. hardy. % davidfetter has joined #parrot tene: you get 2.6GHz? particle: 2.5 i'm faster :P Our compiler warnings should probably follow the same path as our codingstd warnings: only enable those we expect to pass, and have everything else be checked if you verbosely ask for it (in this case with --cage at the config step) - then once something passes we can move it from --cage to the default. make sense? particle: how much ram? 4GB Same. HD? coke: makes sense to me 200GB 7200kps coke: we're already doing that, no? msvc compiles with warnings at the highest level below 'all' particle: ISTR I'm getting build warnings, and cannot remember the last time I saw something move from --cage to teh default. (which may be cause none were fixed) i haven't seen any new warnings flags added lately. likely your warnings are due to new code define "new" since the last time someone touched the warnings flags? yah, default build on feather has warnings. feather? feather is probably http://feather.perl6.nl/ or a perl6 community development server oh. "coke" at 72.228.52.192 pasted "warnings from build on feather." (28 lines) at http://nopaste.snit.ch/12818 yes, coke. chromatic has been playing with jit code in the past week ...or two. those are not warnings from the last week. =-) * particle has had build warnings for 5 years ... nevermind. those are good warnings, from what i can see the code should be fixed particle: I agree, but coke is saying that short of fixing them (which seems to be taking a long time), they should appear only in response to a --cage flag otherwise we're in the habit of not looking at warnings at all, and never see when new warnings appear (because the new ones get drowned out by the existing ones) i guess i missed that part. it took me a second read to completely understand it as well compile a list of known files with known warnings, and disable them in the regular build? we do have a CFLAGS file similar to that particle: something like that, yes. But keep the regular build as free of warnings as we can, and use --cage to do a more rigorous test for warnings much like we have some tests in codingstds that aren't run by default when specific warning conditions are cleared, they can be moved from --cage to the default iirc there is a --cage build or configure flag maybe i'm wrong i think i'm getting confused with the splint work andy was doing with ptc pct? it has been said that pct is a good solution, but heavyweight or the Parrot Compiler Toolkit ptc? ptc is paul t cochrane or mailto:paultcochrane@gmail.com svn st splint is a pain grr there. opened two tickets which cover the majority of the extant warnings I see. r27163 | particle++ | trunk: : [rakudo] ws and formatting fixups in actions.pm diff: http://www.parrotvm.org/svn/parrot/revision?rev=27163 % contingencyplan has left contingencyplan!~contingen@cpe-76-186-27-146.tx.res.rr.com rakudo's action file has way too many subs over 50 lines many are ~150 % contingencyplan has joined #parrot is that a codingstd issue? we don't have coding standards for perl 6 code yet :) it's certainly a maintenance issue yes... I was just wondering if we had standards yet :) mccabe complexity is way too high I don't think file size is necessarily an indicator of complexity. particle: are you referring to "cyclomatic complexity" ? yep coke: subroutine size is an indicator. it's strongly correllated but, these are complex subs, with many nested if/else but that's not a function of *file size*. that's a function of subroutine size. neh? what did i say about file size? ... nothing, apparently. whoops. :) * Coke opens a final ticket for the remaining current warnings. coke++ % sjansen has joined #parrot % b2gills has joined #parrot % Ivatar has joined #parrot Gah, not being able to write Foo.bar ("argument"); is weird. try Foo.bar\ ("argument"); Still weird. :-) % ambs has joined #parrot But since I don't have to enclose if, while, etc, in () anymore, I guess I can get used to hugging the ()'s on method calls. * particle thinks putting spaces between the method and the params is weird I used to do it, since I wanted if () and function () to look the same. Ie, my brain parses if as a type of function even though I am aware it isn't. % teknomunk has left teknomunk!~teknomunk@ubuntubob.residential.okstate.edu % teknomunk has joined #parrot % particl1 has joined #parrot particl*: added the signature you requested :) thanks! % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net % particl1 is now known as particle cultural sensitivity is the new cultural imperialism perl 6's whitespace rules are a form of cultural imperialism that enforces cultural sensitivity :) long live the king! TimToady: btw, if you haven't received it yet, my package should be arriving today or tomorrow 'kay inside is a postage return label -- I think you will be able to reuse the box probably can't return it till Tue at the earliest, depending on how my tests Monday go that's fine Is there a way to get coercion for arguments in perl6 similar to how the Moose type system does it? And I suppose even more important: Is it implemented if so? % DarkWolf84 has left DarkWolf84!~dwolf@89.215.234.147 % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net Debolaz: given that Moose is based on the p6 OO design, I'd like to know where it diverges... and whether those divergences are just making up for having to run on p5... Well, what I'm specifically looking for is this: http://search.cpan.org/~stevan/Moose-0.40/lib/Moose/Cookbook/Recipe5.pod Debolaz's url is at http://xrl.us/bjtqd I'm looking through the p6 synopsis, but can't really find anything similar.. So I was hoping for some pointers in the right direction. % jan has joined #parrot port Params::Coerce to perl 6? ;) particle: Ie, I'm not crazy or just reading the wrong documents, there really is nothing directly equivalent for p6? It's not a disaster, I'd just like to know that I'm not missing something obvious.. :) % barney has joined #parrot * particle *almost* has fudge* and rakudo test code reporting errors how we want them particle++ particle++ you want them to report errors as "passed" don't you? :) % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt Debolaz: are you saying that you think perl 6 doesn't do type coercion? I seem to recall that it does if you specify the appropriate transformation routines (otherwise how would you coerce a Dog into a String?) Debolaz: looks to me like it's mostly just trying to make up for a lack of MMD in p5 Multi method dispatching is something I hate with a passion. are there also any rational reasons? Well, I just feel it's very unelegant. It works, but it has always just screamed "workaround for lack of elegant solutions" to me. I think that, by definition, the least inelegant solution is elegant. :) % Zaba_ has joined #parrot class Foo; coerce from Bar with $bar -> { Foo.new($bar) }; method something (Foo $a is coercible) {}; # Something like this would be more elegant imho. The method is no longer required to deeply understand how Foo is constructed, and there doesn't need to be 10+ multimethods for every real method that wants to use coercible parameters. PerlJam: I'm not saying I think that, I'm asking. this can probably be solved with "does Coercible" or some such % ambs has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru in any case, the fact that there is a set of types that should be coercible probably means you haven't factored the roles right yet. mmd with roles is a much different beast than mmd with classes r27164 | particle++ | trunk: : [rakudo] generalize command-line argument processing in the test harness diff: http://www.parrotvm.org/svn/parrot/revision?rev=27164 TimToady: Are there any specific examples I can look at? Keep in mind, my background is primarily with Moose, p6 is relatively new to me. :) TimToady: Because this doesn't really make sense in my head, it reads to me that you recommend requiring a specific interface (As defined by the role) instead of a specific class, but what I want is to handle arguments which does not support the required interface at all. Debolaz: if you keep watching Jonathan Worthington, he's adding oop stuff to rakudo :) TimToady: I may be reading you very wrong here, which is why I'm looking for examples. r27165 | particle++ | trunk: : [rakudo] "improve" test failure reporting : ~ add new --keep-exit-code option to fudge in the spectest target : ~ this makes passing fudged tests report that they pass, instead of fail : ~ also added note that eventually this option must be ripped out diff: http://www.parrotvm.org/svn/parrot/revision?rev=27165 ok, as of r27165, passing fudged test files are reported as passing in rakudo. even if they fail? awesome! * Coke has trouble reading particle's sends today, and keeps up the trend. :) Debolaz: Could you give an example? Because it keeps sounding to me like you're expecting a Dog to transform into a Cat without either having knowledge of the other. why are you frowning! :P PerlJam: In the example I used, The class Dog knows how to construct a Dog object from a Cat object. * particle prefers a more real-world example like, say, coercing a Date object from a String particle: Or a HTTP::Request object from an url string. there ya go. However, that makes it more difficult to understand why mmd seems like such a horrible solution to me, so I tried to make the example less tied to one particular situation. Debolaz: yet single dispatch is fine? PerlJam: ...? Yada yada yada hasn't been implemented yet! r27166 | bernhard++ | trunk: : Remove lib/Digest/Perl/MD5.pm. : There is Digest::MD5 in core of Perl 5. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27166 PerlJam: It's not at all implied what the problem is in that statement... % dakkar has left dakkar!~dakkar@88-149-251-148.dynamic.ngi.it % tewk has left tewk!~tewk@ekstrom.org % Andy has left Andy!~AndyL@host3130.follett.com Is there a ~~ op in Perl 5 ? Encountered in RT#53362 5.10 Ah, smart match % skids has left skids!bri@charon.clarku.edu :) barney: do we need lib/Pod/Simple.pod ? or lib/Pod/Simple/*.pod ? (... or Pod::Simple... yah, yah, I know it's not core in 5.8) r27167 | bernhard++ | trunk: : #53362: [NEW] Add a test for the sysinfo op. : Courtesy of Brad Gilbert diff: http://www.parrotvm.org/svn/parrot/revision?rev=27167 It's used in a couple of places, and in Perl 5 core only since Perl 5.9.3 right. my initial quesiton was regarding the .pod files we appear to have included when we sucked it in. Ah. Let's get rid of it. (re squaak): huh. here i was thinking it was a toy impl of squeak. (which would be cool too) that seems to be a common misconception > sub hi { say "hi" }; hi ResizablePMCArray: Can't shift from an empty array! > sub hi { say "hi" }; hi() invoke() not implemented in class 'Perl6Str' > sub hi { say( "hi") }; hi() hi hi, cognominal. comments? Butt out. I'll repeat that sentiment stronger if you haven't figured out the message yet. dealing with bots is even more hopeless tan dealing with code r27168 | bernhard++ | trunk: : Get rid of unneeded *.pod files in lib/Pod. : coke++ for suggesting this. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27168 % barney has left barney!~bernhard@dslb-084-058-123-179.pools.arcor-ip.net thanks, barney. Coke, did you see my email? :) yes. was trying to determine a reply. Only folks I know in .eu are smash and leo both of whom haven't done much recent hacking. I'll go if you fly me out. ^_^ does .uk count as .eu? r27169 | kjs++ | trunk: : [squaak] add readme file. fix my name in maintainer file. update manifest. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27169 r27170 | kjs++ | trunk: : [squaak] add svn:mime-type property to file. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27170 Coke, hehehe. Smash will be there, of course Infinoid, doesn't it? ambs: he doesn't know what your original question was. Coke, I know :D *thwap* in any case, your best bet is probably to just ask on list. yes, probably Really? Probably? Are you Certain it's not certain? Are you sure it's unsure? I think you need to look harder. * ambs slaps purl o/` Hit me baby, one more time o/` coke is also just a figurehead. okay, Coke. ambs: if so, I'm pretty sure jonathan counts too, I think he's in .uk :) (I could be wrong about that.) jonathan is in spain, moving to slovakia spain? nice :D % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net I can always ask him to get to Portugal before :) jonathan has some commitment problems. =-) * ambs coughs about his place of residence. :P :D r27171 | kjs++ | trunk: : [squaak] add a note to readme file about squaak not being Squeak. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27171 seen merlyn merlyn was last seen on #moose 35 days and 23 hours ago, saying: ... http://methodsandmessages.vox.com/library/post/the-year-of-smalltalk.html [Mar 20 15:09:20 2008] yapc? yapc::na? it has been said that yapc::na is June 16-18 at IIT in Chicago (again! bring your blankets!) or yapc::na is also Coke okay, Coke. going to yapc::na? going to yapc::na is sungo going to yapc::na is also particle okay, particle. going to yapc::na is also Coke % Andy has joined #parrot okay, Coke. no, yapc::na is June 16-18 at IIT in Chicago (again! bring your blankets!) okay, Coke. yapc::eu? somebody said yapc::eu was see YAPC::Europe yapc::Europe? yapc::Europe is Copenhagen, Denmark - 13-15AUG08 and http://www.yapceurope2008.org/ye2008/ purl, ptpw? wish i knew, ambs purl, PtPW is the Portuguese Perl Workshop (6-7 June, 2008) OK, ambs. going to yapc::na is also cotto okay, cotto_work. damn Pittsburg for stealing PPW. going to yapc::europe? going to yapc::europe is (: going to YAPC::EU 2007) goint to yapc::eu 2008 going to yapc::eu 2008? purl, going to yapc::eu 2008? ambs: bugger all, i dunno d'uh purl, going to yapc::eu 2008 is ambs, smash OK, ambs. no going to yapc::europe is See: going to yapc::eu 2008 no, going to yapc::europe is See: going to yapc::eu 2008 okay, Coke. whee. Coke, thanks % skids has joined #parrot and, night, folks % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt % Ivatar has left Ivatar!~graham@tu055.demon.co.uk % tewk has joined #parrot % grim_fandango has joined #parrot % AndyA_ has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % tetragon has joined #parrot % japhb has left japhb!~geoff@76-191-190-8.dsl.static.sonic.net % japhb has joined #parrot % iblechbot has left iblechbot!~iblechbot@48.18-dial.augustakom.net % apple-gunkies has left apple-gunkies!~chatzilla@tx-71-1-51-156.dyn.embarqhsd.net % sjansen has left sjansen!~sjansen@hq-nat2.gurulabs.com % Andy has left Andy!~AndyL@host3130.follett.com % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net nopaste? nopaste is at http://nopaste.snit.ch/ (ask TonyC for new channels) or http://rafb.net/paste or http://paste.husk.org/ or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ or don't bother me while I'm eating nopasta? purl, nopasta is http://www.news.com.au/story/0,23599,22352536-13762,00.html OK, cotto_work. % particl1 has joined #parrot % kid51 has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.wa.comcast.net % Theory has joined #parrot purl, svn st is svn: warning: '#parrot' is not a working copy % teknomunk has left teknomunk!~teknomunk@ubuntubob.residential.okstate.edu OK, cotto_work. svn st svn st "Determining whether libc has the backtrace* functions (glibc only).....yes."? I don't have use glibc. % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net that's what you think backtrace(3) is in the "BSD Library Functions Manual" (And was added to OS X in 10.5) ... which explains why on OS X 10.4, I get "no entry" for 'man backtrace' The manpage documents that it is a recent addition It's in execinfo.h Part of our problem is that we don't (as far as I know) have anyone who *primarily* develops Parrot on BSD -- not counting Darwin. "cotto_work" at 131.107.0.106 pasted "cultural sensitivity to non-glibc systems with a backtrace()" (13 lines) at http://nopaste.snit.ch/12821 So we solve Darwin problems as they occur on the laptops many/most of us use ... to access Linux servers. And, as you might expect, Apple's execinfo.h is not the same as glibc's execinfo.h They appear to be effectively the same signatures, though glibc sticks in a load of macros, though (in the declaration lines) cotto_work: I don't think we can accept that patch unless we understand that step's runstep() method better. After all, it specifically sets 'glibc_backtrace' in the P::C object. I can't say that that's 100% correct, but it was clearly the intent of the person who wrote the step. I would expect an actual commit to be made by someone more knowledgeable about that than me "kid51" at 68.237.13.171 pasted "How auto::backtrace first appeared as a separate config step class in Parrot" (6 lines) at http://nopaste.snit.ch/12822 ... and that certainly isn't me! ;-) I really should get some BSD system set up for testing Is 'backtrace' something on the order of these libraries we've been adding lately, e.g., readline, gdbm, gmp, opengl? Or is it something more fundamentally tied in with the C compiler? It's from the base C library Here's the manpage: http://developer.apple.com/documentation/Darwin/Reference/ManPages/man3/backtrace.3.html tetragon's url is at http://xrl.us/bjt5k cotto_work: I dunno know about lately, but in the past year we've had good *smoke* testing on FreeBSD and Dragonfly -- but that's not quite the same thing as active developing on the system. tetragon: Given its position in the sequence of config steps, that's what I suspected. 2 steps after auto::gcc Looks like there could be slightly different behaviour at compile-time between Linux/glibc/gcc and OS X The glibc variant makes use of gcc attributes The attributes used mean that the compiler checks calls for NULL pointers (and can adjust optimisations based upon the assumption of non-null) The three functions are otherwise equivalent, going by the OS X manpage and the comments in the header on a Linux box it sounds perfectly safe to me to remove the glibcism % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru the only thing I think we have to worry about is some other obscure OS adding a backtrace() with different parameters % Zaba has joined #parrot if execinfo.h doesn't exist, the test will barf if execinfo.h exists but doesn't contain backtrace(), it will yield a "implicit declaration" warning and succeed... but might not work correctly later is there a portable version of -Werror? I can't think of one. The Linux manpage for backtrace(3) I found claims that backtrace is a GNU extension. several things have started out that way :) but it doesn't mean someone else might have a backtrace() of their own, with different arguments/semantics (one might expect to be passed a pthread_t, for example) Here's the manpage for the glibc version: http://linux.die.net/man/3/backtrace so what I'm worried about is, we try out a new platform, detect backtrace bogusly, crash horribly at runtime for some other reason (pointer alignment perhaps), try to call backtrace, and make the problem even worse I'd prefer if it didn't get in the way of future debugging % kid51 is now known as kid51_atdinner but I suppose that isn't a big deal. just removing "glibc" from the variable names and Configure.pl output is a step in the right direction Heh, the test for supported compiler warnings is a few steps after the check for backtrace Figures (tm) % peepsalot has left peepsalot!~peeps@cpe-67-9-161-48.austin.res.rr.com I don't want to add -Werror to the standard set of compiler warnings, but it would be nice if it could compile this particular test with it % Andy has joined #parrot % ruoso has left ruoso!~ruoso@81.84.175.43 % peepsalot has joined #parrot r27172 | coke++ | trunk: : [codingstd] Fix svn:keywords diff: http://www.parrotvm.org/svn/parrot/revision?rev=27172 nice of them to say its a GNU extension but not what version it was added in Infinoid: I had already figured that out and one point and think perhaps opened a ticket. Infinoid: http://rt.perl.org/rt3/Ticket/Display.html?id=50908 Coke: Nice. Speaking of beating me to it, did you get anywhere with the ops2c flags hashification thingy? Every time I try to improve upon your version, I screw it up in an incompatible fashion. I think I might have something I can commit, checking.... I just have your version. Feel free to check yours in and get your karma. ok, I will. and I'll add a blurb to the accessor method as you suggested (in fact, I just reverted it to force you!) heh. good thing I still have a copy of the diff :) nopaste doesn't seem to keep things around for very long I had to go back through nopaste one a time to get back to yours. (this was only the following day, though) is there a way to intentionally crash parrot, in order to test whether backtrace() worked? I mean, I could tell it to sleep for a second and send it a SIGSEGV, but that isn't very sporting. (nor portable.) So no dereferencing a NULL pointer? I don't think I'm able to do that from PIR but maybe I can do it through an NCI call ... call fprintf(undef) or try to call stdout as a function or somesuch is there a CPP way to see if two literal strings are equal? C++ or C Preprocessor? latter #if (a == b) will probably work Hrm... the pointer alignment test detects a minimum alignment of one byte on my system, except based upon my (brief) look at the rules and compiler flags, it should probably be four will your system crash if you access a non-aligned location? some processors (like ARM) do. the kernel has a whole exception framework to fix those up for userspace processes I know I got alignment errors when I ran that sub test{}; test(); thing a while back I'll find out if I correctly remembered the syntax in a couple moments ok Coke: I lied. the preprocessor is all sorts of incompetent about quoted strings, it seems Hrm, I'm getting double-frees from that The slightly confusing bit is that PPC OS X supports multiple alignment modes interesting... does it depend on how the OS and/or bootloader set things up? or how the RAM is wired? or what? Compiler flags and pragmas * Infinoid blinks http://developer.apple.com/documentation/DeveloperTools/Conceptual/LowLevelABI/Articles/32bitPowerPC.html#//apple_ref/doc/uid/TP40002438 tetragon's url is at http://xrl.us/bjt66 I'm on PPC32 oh... that's just for performance (fitting into cache nicely and minimizing TLB hits and such) or does it actually crash when you get this wrong? I think the flags (or more correctly lack thereof) put me into Power mode, but the single byte would only be correct for packed Docs suggest that it's performance and that the compiler will pad things out yep, you'll find your generated assembly dotted with ".align" tags for that and there's a whole subset of linker flags related to this Although there are special rules for function parameters Non-vector parameters are four-byte Vector parameters are 16-byte * tetragon is so glad that compilers take care of this stuff that's to keep the stack working, and scannable by gdb and backtrace()-like functions I don't think any of this is ppc-specific... they all have that. :) As evidenced by the subsequent pages for i386 and amd64 there are some architectures (ARM as I mentioned before and probably MIPS), which simply aren't able to think about non-aligned access in fact, when you branch to a subroutine on ARM, the least significant 2 bits are repurposed as "flags" to tell it what mode to execute the subroutine in so you couldn't call an unaligned function even if you tried, it would round down to the next dword boundary and start executing there (sorry, this counts as "idle conversation" for me.) % donaldh has joined #parrot does t/op/sysinfo.t fail for anyone else, or did I break it? hehe, the test used by alignptrs.pm still passes if I tell it 0 Or -1 -1 nice! Hrm, well -1 changes the number to -29 I'll have to check on that % kid51_atdinner is now known as kid51 ok, I didn't break it. and it looks like a 64-bit specific error # Failed test 'sysinfo integer size' # at t/op/sysinfo.t line 53. # got: '8' # expected: '4' "Infinoid" at 75.5.241.119 pasted "backtrace: Its Not Just For Glibc Kiddies Any More" (108 lines) at http://nopaste.snit.ch/12823 that's a logical extension of cotto++'s patch. It works fine here backtrace was detected here with the patch I just wish we had a test that called it I guess that's stage 2 :) kid51: so, the patches we've been tossing around just change the name and description to avoid accusing OSX people of GNU-ness. Should I just check it in? I don't think it makes the current situation any worse... % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167935412.dsl.bell.ca I have no big personal investment in this step. Other than the 2 steps tests -- which I'm glad to see you adjusted -- I didn't have any thing to do with it. But let me see what I get on OS X 10.4. Also: how would this run on win32? it should fail to compile, and thus, say "no" I presume it already does that * kid51 svn ups I can test that on mingw in a few minutes Infinoid: Once I do 'make', what are the relevant tests? ('make test' takes too long on my iBook). I don't think there are any. [19:15] <@Infinoid> I just wish we had a test that called it There are some tests that consistently crash parrot on my box do they have nifty looking backtraces? Give me a minute I need to get it to the point of not being blocked by prove -v But there is a backtrace I'm not really sure under what conditions it does this. but it looks like "Backtrace - Obtained %zd stack frames (max trace depth is %d).\n" "tetragon" at 69.196.138.185 pasted "Nifty looking backtrace from the crash of t/imcc/syn/macro.t, test 32" (20 lines) at http://nopaste.snit.ch/12824 nifty! This particular test is one that crashes hard enough to trigger the OS X crash reporter hmm, kinda nifty. but I wonder if we need to compile with -g or something, to get symbol names Want to see the output made using the sample C code in the OS X manpage? "Infinoid" at 75.5.241.119 pasted "Linux has some symbol names, but is still missing some" (17 lines) at http://nopaste.snit.ch/12825 I get the names without fancy compiler options The crash reporter stack trace on macro 32 I get has all the function names Infinoid: change of topic: http://rt.perl.org/rt3/Ticket/Display.html?id=53270 Do you know what interface to _add_to_libs() japhb wanted? I kinda understand his point about the internals, but am unsure what he meant by $args->{default}. kid51: that doesn't look right purl That's why I am asking the question! purl, zark off OK, kid51. Infinoid: i'm not following you... purl, that's why kid51? that's why kid51 is asking the question! Dare we ask purl who's on first? its pronoun handling amuses me Oh boy kid51: IRC client alerted me ... what's up? I fear that I have done a poor job of explaining myself .... Infinoid: Your patch passed Configure.pl --test on both Linux and Darwin 10.4. backtrace correctly detected on former and correctly not found on latter. Am currently running make test on Linux only. kid51: I don't think the interface to _add_to_libs was the issue, it was the implementation I think he just cleaned it up to make it look nicer (and easier to extend in the future) Infinoid: mostly what you just said. Plus the default thing, as follows: Okay: I understand that you'd like that darwin KVP so that we could accommodate one more conversion from _handle_mswin32. And I understand that you'd prefer cascading ternary on the inside. But I'm unclear as to what you wanted for the interface for _add_to_libs(). If several different platforms have the same libs flags, it seems a shame to have to specify them all individually. And most *nix are like this. So I figured -- make the *nix case the 'default', and then ONLY specify flags for OSen that do not want those. (we out number the win32's, anyway) So we no longer have to specify win32_gcc if it's just the same as gcc on every platform. Same with darwin, fink, macports, etc. afk for just a sec bak My point was basically: why have to list the flags for every platform, when most are the same. er, s/\./?/ And how/where would the default be coded? That's the thing -- in the args to the function, one key be called 'default'; % donaldh has left donaldh!~chatzilla@host213-123-171-12.in-addr.btopenworld.com depending on the platform detected, if there is no explicit arg for that platform, it falls back to using the 'default'. So, more or less, 'default' substitutes for what I referred to as 'non_win32'? That's why the my $lib line kid51: yes, exactly. Except it gets renamed, because it now really is a default. and now we have the ability to add special cases for things other than win32, in the future, without looking really bizarre Ok. Since it's getting late here, I won't try to do this now. Will try over the weekend. japhb: if you're really motivated, you could come up with a full patch to demonstrate this :) So for example, if only VC++ is different, you would only specify { win32_other => 'foo.lib', default => '-lfoo' }. Then darwin, win32_gcc, non_win32, etc. all would use 'default' Infinoid: exactly japhb++ Infinoid: RL has been getting in the way. If I get lucky, sure. If not, hopefully kid51 understands what I mean now. :-) no problem, thanks for the help Would there be some provision for temporary flags in the sense of only added on for some platforms during certain tests, with the temporary flags being removed in both cases of failing and passing the checks? r27173 | infinoid++ | trunk: : [Ops2c] : * Make flags() into a hash reference, so we don't have to add a : little regex parser every time we want to check a flag. : * Coke++ for the idea and the help. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27173 I've been too busy in RL to do anything at all this week, until now :) tetragon: you mean like passing -Werror for the backtrace() test? I don't know, but I want it. Infinoid: The more specific case for me is '-undefined error' to darwin in the readline test I need that tacked onto the end of the parameter list so that editline doesn't trick Configure.pl into thinking the system has readline what's it do? -undefined error? is it anything like the -Werror=declaration-after-statement mentioned in RT #50908? yeah, that Sure, that. tetragon: I don't think there currently is such a facility (unless auto::readline implements it as a one-off), but that could be added later. Or auto::readline could subclass the standard methods. it sounds like a feature we both want '-undefined dynamic_lookup' is passed in the standard g++ flag list on OS X. This tells the linker that undefined symbols are to be looked up dynamically I hacked together a one-off in #52212 oh. in other words, you never get undefined symbol errors from your linker? That's right eew! I get the errors at runtime sheesh And by standard list, I mean the parrot standard list All tests passed on Linux, so, at the very least, the Infinoid backtrace patch Did No Harm there. * kid51 must sleep $kid51->sleep(8 * 3600); sleep well kid51 % kid51 has left kid51!~jkeen@pool-68-237-13-171.ny325.east.verizon.net One of the symbols in the readline test is declared in the editline headers but not implimented in the library and its referenced in the test file, which compiles, but doesn't run? Yep For the past couple of weeks I've been using my patch welp, since kid51 crosses his heart and swears that our backtrace patch is perfect and mindblowingly awesome, I'll check it in The OS X default behaviour is that of '-undefined error' tetragon: hmm. is there a good reason why parrot shouldn't leave that behavior alone? The options are 'error', 'warning', 'suppress', and 'dynamic_lookup' I'm not sure why it's touching that flag in the first place I only see it in compiler lines that use 'c++', not 'cc' (although I could have missed a case) I wonder if everything would work fine if we just ripped it out I can always realclean and find where it comes from maybe it was in there because it was hard to figure out what libs to link against, or their paths or something r27174 | infinoid++ | trunk: : [config] Backtrace: Its Not Just For Glibc Kiddies Any More. : * backtrace() and backtrace_symbol() exist on OSX 10.5 too, with : compatible prototypes and behavior. : * Change the Configure.pl description to avoid accusing OSX users (config/init/hints/darwin.pm) : of glibc-ness. : * Rename the config option from "glibc_backtrace" to "backtrace". : * Rename the header define from "PARROT_HAS_GLIBC_BACKTRACE" to : "PARROT_HAS_BACKTRACE". : * cotto++ for the original idea, kid51++ and tetragon++ for testing. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27174 % mire has left mire!~Frodo@155-174-222-85.adsl.verat.net Well, time to see if it builds without '-undefined dynamic_lookup' ok :) I take it that's also passed during configure tests. I'd be curious how many detection results change OS X linking is scary enough without that flag hopefully your readline test, at least The readline test results don't change Two reasons: 1) I pass in the location to readline (not in default search paths) 2) The patch in #52212 guess you've already killed that bug sufficiently :) hmm, brb. guacamole & Yay, the build failed without '-undefined dynamic_lookup' The failure occurred while building libglutcb.bundle that's not at all surprising. Didn't we omit the -lGL (and so forth) for glut on darwin? There still is '-framework OpenGL -framework GLUT', but I don't think that's it The symols it can't find are _Parrot_runops_fromc_args_event, _PMCNULL, and _do_panic ooh, _PMCNULL sounds familiar from months and months ago I'm going to try without -j2 ok, but I doubt it will help It will result in a more legible set build log _PMCNULL doesn't exist at all, or there were multiple instances of it? (I'm trying to figure out if this is how we fixed a bug last August.) Actually, I haven't reached where the OpenGL code builds, but it looks like omitting -j2 may help with at least one symbol hmm. if so, that's probably a -j bug But I'll have to wait and see None of the pmc objects had been built by the time the build of libglutcb was attempted % itz has left itz!~itz@62.3.198.45 tetragon: I wonder if the '-undefined dynamic_lookup' is why you found no difference before when you tried getting rid of the -framework flags ...? japhb: Doubtful. I did the test code at the command line without any flags and it worked. ah, OK, nm This time it failed during the build of libparrot The undefined symbols are _environ and _offset_fixup % rdice has left rdice!~richard_d@CPE001ff33cb98b-CM00159a01d44c.cpe.net.cable.rogers.com what was the error message from libglutcb? it shouldn't matter whether the PMCs were built, but it might need a dependency on one of their header files. "tetragon" at 69.196.138.185 pasted "make -j2 opengl ld error" (41 lines) at http://nopaste.snit.ch/12826 that library will very likely need -lparrot hmmm, I wonder if libglutcb.so needs to depend on libparrot.so ... _Parrot_runops_fromc_args_event wasn't defined in any of the objects built at that point Infinoid: both with the -lparrot, and with a make dependency, so -j2 works yeah this is definitely a difference in behavior. linux ld doesn't care about undefined symbols in shared objects, because there will always be some of those. OSX (without the ultimate-laziness cheat code) seems to be a bit stricter about resolving these at dynlib link time There's also the warning option Why bother to warn if we won't do anything about it? _Parrot_runops_fromc_args_event is from inter_run.o I'd prefer to do what it takes to make OS X happy, but barring that, no reason to have a warning appear that we are guaranteed not to do anything about. now that's optimism anyway, it sounds like -undefined dynamic_lookup was a workaround for OS X's strict default shlib linking I won't pursue the matter, because I don't want to break platforms I don't actually ever run. tetragon++ # thanks for the testing If parrot is built before the glut code, I think I can get away with using -bundle_loader on it What does that do? libglutcb.bundle is built as a bundle, and -bundle_loader tells ld to also check the executable's symbols and presumably, those of the shlibs referenced by the executable Here's the manpage I'm referring to: http://developer.apple.com/documentation/Darwin/Reference/ManPages/man1/ld.1.html tetragon's url is at http://xrl.us/bjt88 interesting. so -bundle_loader is a way of telling OS X, "look, I'm only going to be loading this library from this program over here, so don't complain about any symbols that program defines"? out of curiosity, does OS X use ELF executables? they have changed a surprising amount of stuff about how linking works. Not ELF * tetragon tries to dig out one of the quad-architecture binaries But it's Mach-O ok, thanks A document about Mach-O: http://developer.apple.com/documentation/DeveloperTools/Conceptual/MachOTopics/introduction.html tetragon's url is at http://xrl.us/bjt9a % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@e177231153.adsl.alicedsl.de % Psyche^ is now known as Patterner yapc::na talks look really good this year too bad it's 2/3 of the way across the country for me :( tetragon: thanks for that link, I understand bundles and frameworks a lot better now and I think you're right, -bundle_loader is exactly what OS X would need % Psyche^ has joined #parrot that's odd, yapc::na is 2/3rd of the way across the country for me, also :-) Infinoid: OS X can be such fun when combining Unix and OS X conventions and build techniques pmichaud: are you in california? texas :-) my "across the country" is along a different axis than yours ah. well, you have to travel 2/3 of the way across the country just to get across the state line that too :) when I got onto I-20 tonight (on my way to san angelo), it had mile marker 400 400 miles to the end of I-20 i.e., where I-20 meets I-10 and even at *that* one would still have another 120 miles to go to get out of texas. yeesh % Patterner has left Patterner!~Psyche@e177233192.adsl.alicedsl.de % Psyche^ is now known as Patterner I know the feeling. its ridiculous that I can drive 600 miles (from here to San Diego) and still be in the same state largest mile marker I've ever seen is mile marker 880 on I-10 near Orange, Texas or, when driving from corpus christi (where I used to live) to Los Angeles, El Paso is half way. heh I can't comprehend of that distance. farthest east I've ever been is Phoenix phoenix?!? east?!? ;-) I'm not sure I've been that far west I think the only states I haven't been in are Rhode Island, Connecticut, North Dakota, Alaska, and Hawaii and I'm hoping to knock Hawaii out this summer :-) Gentoo is talking about dropping parrot from their tree, since the package is outdated and in need of a maintainer I'm not so sure that's a bad thing, considering the general opinion of "oh, we don't really support make install anyway" their current package is 0.4.6, which is probably worse than nothing at all NOD time for me to get some sleep before tomorrow's symposium g'nite all sleep well pmichaud g'nite! that said, I hope we can get the installation stuff sorted out soon, so we can install a nifty looking "perl6" executable that actually works agreed I'd work on it, but I've already got the pdd13pbc stuff in my queue :) % b2gills has left #parrot Long ago I had a job writing InstallShield scripts for Windows boxen. I went insane, only cured by swearing off writing installers. ;-) wow, that's a good excuse! mine is pretty threadbare, considering I haven't done anything on pdd13pbc in a week. Would you prefer to shave yaks or specs? I'm a low level coding sort of guy, so implementing .pbc handling PMC classes is right up my alley. well there you go :-) high level stuff tends to trigger "yak overflow" exceptions in my brain more often Followed by yakking if exposure persists? it tends to lead me into things like IMCC, so generally, yes *** IMCC defense mechanism engaged, yak exception thrown. heh Urgh, I found one of the symbols the linker was complaining about lacking when linking libparrot.dylib together It's in one of the objects being linked ?! I found an _offset_fixup in exec_dep.o I'm even looking at otool's disassembly of it I don't think it's being exported Unfortunately, knowing how to manipulate export lists in AIX does not automatically mean I know how to do it in OS X % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot is _offset_fixup declared with PARROT_API? http://developer.apple.com/documentation/DeveloperTools/Conceptual/DynamicLibraries/Articles/DynamicLibraryDesignGuidelines.html#//apple_ref/doc/uid/TP40002013-SW18 Infinoid's url is at http://xrl.us/bjua4 % tetragon has left tetragon!~seneca@69-196-138-185.dsl.teksavvy.com msg tetragon http://developer.apple.com/documentation/DeveloperTools/Conceptual/DynamicLibraries/Articles/DynamicLibraryDesignGuidelines.html#//apple_ref/doc/uid/TP40002013-SW18 Message for tetragon stored. Infinoid's url is at http://xrl.us/bjua4 msg tetragon Parrot runs gcc with -fvisibility-hidden, thus, symbols you want to export must be declared with PARROT_API. ...which is defined to __attribute__ ((visibility("default")) Message for tetragon stored. goodnight all % Andy has left Andy!~Andy@64.81.227.163 % tetragon has joined #parrot r27175 | coke++ | trunk: : remove TODO comment; the opcode it's in is slated for deletion diff: http://www.parrotvm.org/svn/parrot/revision?rev=27175 r27176 | coke++ | trunk: : Remove old TODO that had nothing TODO. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27176 % AndyA_ has left AndyA_!~andy@82.152.157.85 r27177 | coke++ | trunk: : [languages/PIR] : remove some commented out code : RT #41633 - replace .IMPORT with something more standard. : (This doesn't make the file work, though, just removes this particular : piece of cruft.) diff: http://www.parrotvm.org/svn/parrot/revision?rev=27177 % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % IllvilJa has joined #parrot