r26226 | allison++ | pdd17pmc: : [pdd17pmc] Missed the continuing slashes on the end of some macro lines. diff: http://parrotvm.org/svn/parrot/revision/?rev=26226 % Ademan has joined #parrot % DarkWolf84 has joined #parrot % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % IllvilJa has joined #parrot Can someone briefly explain to me what it is that headerizer is doing with __attribute__nonnull__($) ... or at least point me to some documentation (just a search term for Google would be quite helpful) about it. % shorten has left shorten!~xrl@203.141.139.231.static.zoot.jp * lathos points at Andy. He's the headerizer man. Found it :) If I'm understanding correctly, it just makes GCC throw a warning if you pass NULL for that arg. % ejs has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot % ruoso has left ruoso!~ruoso@mail.verticalone.pt % slightlyoff has left slightlyoff!~slightlyo@66.116.112.8 % mdiep has left mdiep!~mdiep@v-adsl-fh-178-170.umnet.umich.edu % mdiep has joined #parrot % ruoso has joined #parrot katie_d: that sounds like it exactly. (varying by compiler, not GCC only) % ejs has left ejs!~ejs@115-192-124-91.pool.ukrtel.net % ejs has joined #parrot % kid51 has joined #parrot % gabriel has left gabriel!~gabriel@c-76-126-210-9.hsd1.ca.comcast.net % pjcj has left pjcj!~pjcj@84-73-177-217.dclient.hispeed.ch % pjcj has joined #parrot % kid51 has left kid51!~jkeen@pool-68-237-1-18.ny325.east.verizon.net % Coke has joined #parrot % ask_ has joined #parrot % petdance has joined #parrot % petdance has left petdance!~Andy@64.81.227.163 % gryphon has joined #parrot * Coke fixes the build on pdd17pmc. whee. * Coke wonders why it doesn't seem to be broken for chromatic or allison. anybody here looked @ SMOP? r26227 | coke++ | pdd17pmc: : [build] : add missing headers... diff: http://parrotvm.org/svn/parrot/revision/?rev=26227 seen barney? barney was last seen on #parrot 1 day and 18 hours ago, saying: particle: mailed report [Mar 3 12:56:44 2008] % jdporter has joined #parrot davidfetter: i'm familiar with smop where would I find #p5p? i don't see it on irc.perl.org particle, i'm curious as to your thoughts on this. i spoke recently with daniel ruoso, but of course, his PoV is biased in its favor davidfetter, hi david... heh have you seen http://www.perlfoundation.org/perl6/index.cgi?smop ? * davidfetter bookmarks bookmarks is a convenience term for that or unneeded in Congress... they just bend over the pages Where's the code? i guess the code is actually compiled - but it's added incrementally to the environment lathos, smop's? Mmm. jdporter: you want irc.freenode.net http://www.perlfoundation.org/perl6/index.cgi?smop_hacking iirc particle, jdporter, is it? I'm in #p5p at this server... Interesting, reading. lathos: the code is in pugs repo, under v6/smop/ I know, I'm reading it. :) aha it's a nice read :) re #p5p, i don't hang out there, so maybe i'm not the best to ask thanks; see ya there % jdporter has left jdporter!~chatzilla@208.49.215.218 I know what this reminds me of. Objective C runtime source. % rdice has joined #parrot Which is a good sign, because they're in a very similar problem space. SMOP is being compared to a lot of runtimes lately... erlang, smalltalk, io Well, it's all a very similar problem space. :) ruoso, is there someplace we're supposed to post our slides? allison: ping % mncharity has joined #parrot % ask_ has left ask_!~ask@pat-tdc.opera.com % ask_ has joined #parrot davidfetter, I think you must send it to cog email? i heard email was a view. davidfetter, yes... % RichiH has left RichiH!richih@62.111.103.25 % iblechbot has joined #parrot % uniejo has left uniejo!~uniejo@langebro.adapt.dk % sjansen has joined #parrot in pdd17, ../../parrot tcl.pbc -e "puts [concat {expand}[lindex {bar baz} 1]]" generates an error that seems to come from PGE. % parrot-poke has joined #parrot ah. no, it's from inter_call.c .oO(intercal.c?) % Patterner has joined #parrot % barney has joined #parrot % jjore is now known as zz_jjore % zz_jjore is now known as jjore coke: ping pong % skv has left skv!~skv_____@87.242.97.68 ... but not for long. % skv_____ has joined #parrot % skv_____ is now known as skv % Psyche^ has joined #parrot no really.. coke: s/does/provides/ after pmclass before { % Patterner has left Patterner!~Psyche@e177115249.adsl.alicedsl.de % Psyche^ is now known as Patterner particle: Saw your email. that's what chromatic fixed in the revision number in that thread. ... and I already replied to the email. (you'll get two copies, sorry) ah. saw your email, now :) Has DYNSELF changed to SELF in pdd17 ? barney: yes % slightlyoff has joined #parrot r26228 | bernhard++ | pdd17pmc: : [Plumhead] : DYNSELF -> SELF for PDD17 compliance. diff: http://parrotvm.org/svn/parrot/revision/?rev=26228 allison: PHP looks now mostly fine with pdd17 barney: excellent, thanks! tcl, on the other hand... =-) -> lunch what's pdd17? pdd17 is new, and we're implementing it in the branch purl++ the branch name is pdd17pmc % stephen has joined #parrot % stephen has left #parrot the pdd17pmc branch is for the PMC re-implementation % Psyche^ has joined #parrot what is changing? changing is probably *much* easier than adding forget changing cognominal: I forgot changing iirc, ppd17 changes the base structure and implementation of PMCs but I don't know the full details ok on the surface, the syntax for defining pmcs changes below the surface, it opens the door for role-based composition of pmcs (not yet implemented) hope this will somehow fix the bugs I filed today. you can svn co the branch and see for yourself :) yeah, I just did that. roles certainly are pervasive well, I prefer to wait the merge. % Patterner has left Patterner!~Psyche@e177230049.adsl.alicedsl.de % Psyche^ is now known as Patterner allison: i'm rebuilding pdd17pmc branch now particle: great i hope to make the call today, but may miss it particle: hi. could you give me some guidance on when parrot might be able to provide ast yaml dumps of its p6 parsing? I realized the calendar has slid past when I assumed it would exist, but I never asked you for an actual estimate. Do you currently think it more like 1 week, 4, something else? Thoughts? My thanks. mncharity: what does the yaml buy you? a p6 parser. oh, you've got something that groks yaml and generates code? yes. that part is very easy. as long as one is only trying to "have something which works, and can be used for simple p5-style p6". rather than being full p6. but enough for people to start being able to write and run significant p6 code. the more p6, the better is what I say. currently one simply can't run non-trivial p6 code. having a parser willing to dump yaml (and including oo info, unlike pugs), would allow that to finally, easily, be changed. "non-trivial" meaning - uses objects. rakudo uses objects mncharity: i haven't had tuits to finish, sorry i hope to hand the task to coke it's pretty close pm: does it do regex (at least to the extent that PGE allows)? allison: same failure pj: not quite yet, but we're fairly close on that allison: i can fire up the debugger in 15min or so if you're around to walk through it it does anonymous regex, and named regex re tuits, ah, so it's actually stalled out, rather than simply being more difficult than anticipated? ok. I guess that clarifies things. glad I asked, rather than continuing to wait. :) it doesn't yet do grammar, token, or rule (it will parse token/rule, but they don't yet work) mncharity: yes, just ENOTUITS particle: I'm free now. i *have to* shower. bbi15m perhaps I'll look at that aspect of rakudo if/when I get some time it requires a change or two in PCT r26229 | bernhard++ | trunk: : [doc] : Update imcfaq.pod. Some more replacements IMC -> PIR. : Mention PAST and the PIR tutorial. diff: http://parrotvm.org/svn/parrot/revision/?rev=26229 particle: I'll be free in 15 minutes too mncharity: does parrot dump something already which you'd want from the yaml but not in that format? we already have --target=parse it dumps the parse, albeit not in yaml Write past2yaml and you're there! :) pmichaud: re "rakudo uses objects", yes. But if the question is "so why would one need any other backend?", the answer is "because building on a high level langauge (p5 or ruby), one gets lots of things for free". So which achieves rakudo's goal of "p5 programmer can hack happily" is more like 3 days away, rather than... somewhat further. I wasn't taking a position against other backends, I was simply pointing out that there is something that "uses objects" (which was your definition of "runs non-trivial p6 code") hmm, particle? so the only issue is format, you weren't also having to clean up the tree? /me looks at --target=parse % slightlyoff has left slightlyoff!~slightlyo@65.160.18.38 re definition, ahhh, ok. It was intended as necessary, not sufficient. :) a delta against pugs. tt/w 17 gah mm, `make' never works after svn up % Psyche^ has joined #parrot hmm. is there anything existing which can parse the --target=parse output format? to pull it into p5, say I'm not aware of anything ok. what handles the --target emitting? Parrot's Dumper.pbc and PGE::Dumper runtime/parrot/library/PGE/Dumper.pir % Patterner has left Patterner!~Psyche@d121053.adsl.hansenet.de % Psyche^ is now known as Patterner http://sial.org/pbot/30425 * mncharity gets a current version of parrot... So, if I want to implement IO stuff in Rakudo, am I going to need to create a PMC, or just add class methods in src/classes/IO.pir ? ...and particle committed runtime/parrot/library/yaml_dumper.pir for yaml emitting looking... tnx... the IO stuff for Rakudo would likely need to be mapped to Parrot's IO objects allison: i've got about 20m to debug "particle" at 24.19.3.148 pasted "patch to enable yaml output with pct" (31 lines) at http://nopaste.snit.ch/12444 that patch allows you to emit yaml instead of dumper format % slightlyoff has joined #parrot however, the pmc types need a helper function to emit yaml appropriately particle: okay, first thing that would be useful is to find out where it's segfaulting likely that just means that the base past object type needs that helper function there isn't a base past object type (well, it's Capture_PIR) but the other pmc types are just the Parrot PMC types right now, if i type >perl 6 --target=past > say 1; --- { "past" : pmcPAST::Block !PAST::Block { ... }, } it's calling the pmcDefault sub in runtime/parrot/library/YAML/Dumper/Default.pir pmichaud: can you tell me more about what that mapping would mean, exactly? phone (bbiab) however, it should recognize that past nodes are hashes, and call that func allison: Parrot_unmake_COW % ruoso has left ruoso!~ruoso@195.23.92.2 there's trouble with mem_sys_memcopy purl: 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 Tene: well, I'm not very familiar with Parrot's IO subsystem. (And I think it's changing, anyway.) But I know that there's a class called "ParrotIO", and it has a variety of opcodes/methods for doing I/O types of things so, a Rakudo IO object would need to map its methods and functions into an equivalent ParrotIO object, or a wrapper object that can forward to a ParrotIO object, or something like that So just a bunch of wrapper methods, right? it could be done that way, yes. PAST::Node is more than just Hash sorry particle: PAST::Node is more than just Hash PAST::Block isa PAST::Node isa Capture_PIR isa Hash+ResizablePMCArray actually pmichaud: okay, then it needs a helper function called 'yaml' PAST::Block isa PAST::Node isa Capture_PIR Capture_PIR has Hash has ResizablePMCArray has Scalar feel free to create a 'yaml' function for Capture_PIR :-) (function or method?) I need to go get lunch for Paula, bbl I may also miss today's phone -- lots of errands i'm hoping coke can backlog, see what's up, and continue heh, or tene particle: since you've gotten to the point that parrot.exe is compiled, could you run some other tests on it? particle: make test won't work, but a 'prove' with a specific test file will sure pmichaud: thanks for your help % slightlyoff has left slightlyoff!~slightlyo@65.160.18.38 % Coke has left #parrot "mncharity" at 76.24.29.201 pasted "irc comments re dumping yaml version of --target=parse" (95 lines) at http://nopaste.snit.ch/12445 crappity, i've gotta run :( i'll be offline for the next 6h or so. hope to make the design call in ~75m. particle: thanks for your help. not sure how to proceed. pondering. % peeps[work] has joined #parrot r26230 | bernhard++ | trunk: : [docs] : s/Perl/Perl 5/ diff: http://parrotvm.org/svn/parrot/revision/?rev=26230 % kismet has left #parrot I had a weird problem with PGE yesterday, but everything seems to be just fine today... r26231 | bernhard++ | trunk: : [doc] : Spelling and markup fixes. r26232 | bernhard++ | trunk: : [docs] % davidfetter has left davidfetter!~davidfett@start.fetter.org % slightlyoff has joined #parrot % Ron has joined #parrot % Coke has joined #parrot % slightlyoff has left slightlyoff!~slightlyo@65.160.18.38 % barney has left barney!~bernhard@dslb-084-058-170-023.pools.arcor-ip.net r26233 | bernhard++ | trunk: : [docs] : Fix POD. diff: http://parrotvm.org/svn/parrot/revision/?rev=26233 phone % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % Theory has joined #parrot % stephen has joined #parrot % stephen has left #parrot % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com r26234 | chromatic++ | pdd17pmc: : [Plumhead] Fixed mark() so that it marks *all* hash entries, not every other : bucket. diff: http://parrotvm.org/svn/parrot/revision/?rev=26234 heh. I found that bug too while doing some other debugging seen barney barney was last seen on #parrot 3 hours and 37 minutes ago, saying: allison: PHP looks now mostly fine with pdd17 % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % Theory has joined #parrot % Ron has left Ron!rblasch@M1703P026.adsl.highway.telekom.at r26235 | chromatic++ | pdd17pmc: : [PMC] Changed ParrotLibrary PMC creation so that they are now constant, as is : their metadata. : When performing full global destruction, occasionally a ParrotLibrary PMC would : get destroyed before the dynpmc which had vtable entries from the shared : Now that ParrotLibrary PMCs are constant, they get destroyed only after all : non-constant PMCs. diff: http://parrotvm.org/svn/parrot/revision/?rev=26235 % silug has left silug!~steve@ppp-70-225-69-94.dsl.covlil.ameritech.net exit % davidfetter has joined #parrot % Andy has left Andy!~AndyL@host3130.follett.com % Ademan has left Ademan!~dan@h-67-101-97-83.snfccasy.dynamic.covad.net % ejs has left ejs!~ejs@131-141-124-91.pool.ukrtel.net % Ademan has joined #parrot % Coke has joined #parrot % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com fyi, from #perl6, misc/winter_jig/ast_rakudo/parse_t_spec.t: Created. Runs rakudo --target=parse against pugs t/spec/ .t files. Currently 35 of 128 files are successfully parsed. One non-terminates (S29-conversions/ord_and_chr.t). % iblechbot has left iblechbot!~iblechbot@ppp-62-216-206-50.dynamic.mnet-online.de particle and everyone: I suspect addressing the parsefails should be higher priority than finishing the yaml dumper. Unless the two tasks are non-conflicting. % japhb has joined #parrot % sjansen has left sjansen!~sjansen@64-205-130-223.client.dsl.net % Ademan has left Ademan!~dan@h-67-101-97-83.snfccasy.dynamic.covad.net % Limbic_Region has joined #parrot % parrot-poke has left parrot-poke!~mollusk@user-112vvlr.biz.mindspring.com % Andy has joined #parrot % Ademan has joined #parrot % slightlyoff has joined #parrot % japhb has left japhb!~geoff@208.201.228.107 any windows devs around? might be able to scare one up. what's shakin'? % silug has joined #parrot is this guide at all up-to-date? http://www.perlfoundation.org/parrot/index.cgi?parrot_development_on_windows % slightlyoff has left slightlyoff!~slightlyo@65.160.18.38 hrm. i know from other windows developers that the cygwin section probably doesn't belong there * davidfetter checks further it suggests strawberry perl, then notes that strawberry perl doesn't work yeah % peeps[work] has left peeps[work]!~peepsalot@bwext.kpimdp.com which leads me to suspect this isn't the process most current windows devs are using (also, it fails with an error about missing 'ar') the windows devs i know tend to go with the msvc toolchain the alternative, README_win32.pod still refers to the microsoft compiler from 2003, so again, I suspect it's out of date I've got msvc 2008 express I'm retrying with active perl, which seems to be working better * davidfetter hasn't scared up any more windows developers as yet ah-ha! success! I'm able to duplicate particle's segfault istr flavio was developing on windows for awhile excellent! :) % shorten has joined #parrot % shorten has left shorten!~xrl@203.141.139.231.static.zoot.jp % shorten has joined #parrot % buildbot has left buildbot!~buildbot@smtp.matisse.net % buildbot has joined #parrot % x___ has joined #parrot % x___ is now known as x % LimbicRegion has joined #parrot w % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % LimbicRegion is now known as Limbic_Region % wknight8111 has joined #parrot % kid51 has joined #parrot % gabriel has joined #parrot % Alias has joined #parrot % Alias_ has left Alias_!adam@124.188.112.79 % Coke has joined #parrot % Alias_ has joined #parrot % Alias has left Alias!adam@CPE-124-188-112-79.nsw.bigpond.net.au purl tell allison I build on Win32/MinGW daily and have access to Cygwin if necessary - but I am in no way a developer :-) OK, Limbic_Region. hrm, did I do that right? Limbic_Region: particle had a segfault on MSVC in the PMC implementation branch, so I was trying to duplicate it Limbic_Region: The instructions for what I think you were trying to do are here: http://www.perlfoundation.org/parrot/index.cgi?internet_relay_chat_irc_parrot kid51's url is at http://xrl.us/bg8u6 Let 's try that out msg Limbic_Region the instructions are here: http://xrl.us/bg8u6 Message for limbic_region stored. Ta-daaaah! % particl1 has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net r26236 | petdance++ | trunk: : Switch to size_t where appropriate. Switch to some snprintf()s diff: http://parrotvm.org/svn/parrot/revision/?rev=26236 r26237 | jkeenan++ | trunk: : Correct one typo and one punctuation error in POD. Reformat one line to < 80 chars. diff: http://parrotvm.org/svn/parrot/revision/?rev=26237 % kid51 has left kid51!~jkeen@pool-68-237-9-59.ny325.east.verizon.net % Coke has left #parrot oh, the splintyness is getting good r26238 | petdance++ | trunk: : cleaned up lots of splint warnings diff: http://parrotvm.org/svn/parrot/revision/?rev=26238 seen barney barney was last seen on #parrot 9 hours and 45 minutes ago, saying: allison: PHP looks now mostly fine with pdd17 % teknomunk has left teknomunk!~teknomunk@kerr-dip0.nat.okstate.edu % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net I'm starting to try to grok the Parrot sources, and I was thinking about writing a set of guides for beginners who want to learn how things work, as I go along. As far as using snippets from trunk/docs/ -- what are the licensing requirements? As long as the information on my site is released under the same terms, with a link o the Artistic license that Perl uses, I am allowed to use them whereve,r I want, correct? I believe so. But why not put the guides back into the source tree? @lathos: I'd like to, but I'm not sure if they would be wanted there. They will be much less concise than what I've seen in there -- more geared towards less experienced programmers who need a bit more hand-holding. And I'd like to have some illustrations as well. Then again, since they would be released under the same terms, any parts that were wanted could be snipped and put into the source tree, if they were wanted. So, I'll just get them written up, put them on my site, and then let people pick what they like out of there. % grim_fandango has joined #parrot % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net katie_d, ping % x has left x!~chatzilla@host86-157-9-49.range86-157.btcentralplus.com % x___ has joined #parrot % x___ is now known as x r26239 | petdance++ | trunk: : added many source files back to the splint target diff: http://parrotvm.org/svn/parrot/revision/?rev=26239 cotto: pong I'd be willing to help you with the documentation and tutorials you mentioned It's going to take me a bit of time to get a handle on it myself before I really begin working on it. But if I see you around in the channel here, I'll PM you when I start. Thanks for the offer :) glad to help r26240 | chromatic++ | pdd17pmc: : [Lua] Ported the Lua PMC to PDD 17 standards. Somehow I missed this one : yesterday. diff: http://parrotvm.org/svn/parrot/revision/?rev=26240 % DarkWolf84 has left DarkWolf84!~dwolf@89.215.234.147 % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167934128.dsl.bell.ca % Andy has left Andy!~Andy@64.81.227.163 % TimToady has left TimToady!~larry@host01a.appflux.net % TimToady has joined #parrot % diakopter has left diakopter!~diakopter@host01a.appflux.net % TimToady has left TimToady!~larry@host01a.appflux.net % uniejo has joined #parrot % teknomunk has joined #parrot