% iblechbot has joined #parrot % cognominal_ has left cognominal_!~cognomina@82.67.232.89 % Alias_ has joined #parrot % bgeron_ has joined #parrot % mj41_ has joined #parrot % skv_ has joined #parrot % cognominal_ has joined #parrot % d4l3k_ has joined #parrot % jq- has joined #parrot % klapperl_ has joined #parrot % c9s_ has joined #parrot pmichaud++ # for suceeding to spread the word about rakudo % dwave_ has joined #parrot % iblechbot has left iblechbot!~iblechbot@ppp-62-216-200-194.dynamic.mnet-online.de % AndyA has left AndyA!~andy@82.152.157.85 % marmic has left marmic!~chatzilla@89-253-66-101.customers.ownit.se % c9s has left c9s!~c9s@163.26.225.208 % Alias has left Alias!~adam@CPE-124-188-112-79.nsw.bigpond.net.au % bgeron has left bgeron!bgeron@toad.stack.nl % rafl has left rafl!~rafl@62.75.161.67 % dwave has left dwave!~asksolem@pat-tdc.opera.com % skv has left skv!~skv@87.242.97.68 % dalek has left dalek!dalek@feather.perl6.nl % mj41 has left mj41!chatzilla@pc-jurosz.ro.vutbr.cz % ilbot2 has left ilbot2!moritz@faui2k3.org % lathos has left lathos!~simon@morison.arjam.net % Maddingue has left Maddingue!~Maddingue@profane.mongueurs.net % jq has left jq!~jquelin@merlin.mongueurs.net % klapperl has left klapperl!~k@franz.ak.mind.de % nopaste has left nopaste!~opaste@202-154-105-237.people.net.au % AndyA has joined #parrot % d4l3k_ is now known as dalek % marmic has joined #parrot % nopaste has joined #parrot % Maddingue has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % wknight8111 has joined #parrot % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % broquaint has left broquaint!brookd@danvsdan.vm.bytemark.co.uk % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % UltraDM has left UltraDM!~george@dasapass.avira.com % kid51 has joined #parrot % integral has left integral!bsmith@adsl-212-20-244-147.lumison.co.uk % integral has joined #parrot % wknight8111 has joined #parrot % mncharity has joined #parrot % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % kid51 has left kid51!~jkeen@pool-71-247-47-217.nycmny.east.verizon.net % Coke has joined #parrot % jq- is now known as jq % Andy has left Andy!~Andy@64.81.227.163 % orbiscerbus has joined #parrot % orbiscerbus has left orbiscerbus!~orbiscerb@nat1.oglasnik.hr % gryphon has joined #parrot % AndyA has joined #parrot % ilbot2 has joined #parrot % rafl has joined #parrot % lathos has joined #parrot % Andy has joined #parrot mdiep: ping r26056 | particle++ | trunk: : [runtime] build yaml dumper pbc file during make all diff: http://parrotvm.org/svn/parrot/revision/?rev=26056 % ruoso has joined #parrot morning all morning, Andy Tene: pong % ruoso has left ruoso!~ruoso@194-79-73-159.net.novis.pt % ruoso has joined #parrot hi all * jonathan has made it to Holland, after a great time in the Ukraine. % po_boy has joined #parrot salut jonathan cognominal_: hi :-) how was the weather in Ukraine? jonathan: we're totally on the same page. i just migrated t/spec/S12-methods/indirect_notation.t % particl1 is now known as particle particle: I actually discovered this half-implemented on my laptop when I got to Ukraine...I'm still not sure I remember starting the patch. r26057 | jonathan++ | trunk: : [rakudo] Implement indirect method calls of forms $x.'foo'() and $x.$foo(). diff: http://parrotvm.org/svn/parrot/revision/?rev=26057 cognominal_: I got lucky and had, for Ukraine in Feb, great weather. The worst day was Saturday, which was the conference, so I was indoors most of that. particle: You got many OO tests done? no, just starting for the day Oh, cool. This will be helpful, thanks. well, your patch will be helpful, because now i don't have to implement what that tests :) Got a whole load of ideas for stuff to hack on for Rakudo. great. let me know what it is. Did you see Zev's patch for letting us write bits of the runtime in Perl 6? it's one of my 35 open windows atm (write bits of the runtime in Perl 6)++ i'd like to apply it with a real function in there, rather than Dummy.pm something like List.max() seems appropriate or steal something from the kp6 runtime % uniejo has left uniejo!~uniejo@langebro.adapt.dk I don't think it will work too well writing classes that are part in PIR, part in Perl 6. In fact, I *know* that won't work. well, we can steal a whole class from kp6 Yes, that we can do. http://svn.pugscode.org/v6/v6-KindaPerl6/src/KindaPerl6/Runtime/Perl6/ particle's url is at http://xrl.us/bgqec oops: http://svn.pugscode.org/pugs/v6/v6-KindaPerl6/src/KindaPerl6/Runtime/Perl6/ particle's url is at http://xrl.us/bgqee how about Signature? Signature is, like, invalid We don't have various stuff it needs implemented yet. :-( well, it's a target to shoot for. however, List.pm is a good start ?? !! for one. we don't have ?? !! ? are you sure? that's easy to implement, it's in PAST. OK. Ah, bike ride time... back in a bit... r26058 | particle++ | trunk: : [rakudo] remove deprecated compiler directives replaced by t/spec/fudge diff: http://parrotvm.org/svn/parrot/revision/?rev=26058 tene, timtoady: ping - there's a user in #perl6 to kickban % jjore is now known as jjore_away % jjore_away is now known as jjore already did well, I just kicked, didn't ban probably good enuff if not, I'll drag out my bin of bans didn't look malicous, just broken. agreed probably some harvester bot though if so, they'll get a lot of grief from other channels too the behavior wasn't malicious, the intent may have been so still probably won't return, except as a lurker presuming they fix the bug what user? alc if you suspect it's a harvester, or publisher bot, and don't want it, just let me know, I'll get it glined. Those are removed by request. and I need, to use, a few less, commas well, the name was jobsearc which is a bit odd muh-god I've become James Kirk. jonathan: I'm curious about why you used $S1000 instead of %r in your inline find_method call in your latest indirect method patch. ... oh, nevermind, I just need to read. kismet: thanks, but that user/chan is on freenode ...not sure if you're an op there. % sjansen has joined #parrot nope. but I didn't see a reference to freenode either, so I assumed it was for here. My fault for assuming. no, harm, done. well, #perl6 implies freenode, but not very hard :) % iblechbot has joined #parrot % mdiep has left mdiep!~mdiep@v-adsl-fh-178-170.umnet.umich.edu % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % gryphon has joined #parrot % grim_fandango has joined #parrot * Coke gets go ahead from his boss for the time off in yapc::na. (good thing as the flight is booked.) and an indirect nod on yapc::eu. % kj has joined #parrot % Theory has joined #parrot % davidfetter has joined #parrot re anybody in lisbon atm? anybody else* .pt or .ct.us ? .pt * davidfetter managed to miss all the parrots @ FOSDEM :P nope. (I could drive to .ct.us in a pinch.) heh are you in .ct? * davidfetter used to live in madison... born and raised in .ct; currently living in .ny (upstate) You can probably see most of the places I've lived from the top of the hotel at the mohegan sun. =-) heh * davidfetter has lived varied enough places that you can't really see them all at once from space ... what an excellent idea. I'm going to put in a few of the most geographically disparate ones, and see how high I have to go in google earth to see them all! heh % ruoso has left ruoso!~ruoso@194-79-73-159.net.novis.pt does petergibbs show up on IRC? SELECT clue FROM davidfetter; --- 0 Rows seen kid51? kid51 was last seen on #parrot 15 hours and 32 seconds ago, saying: must sleep opbots, names % teknomunk has left teknomunk!~teknomunk@kerr-dip0.nat.okstate.edu % teknomunk has joined #parrot Hi, could I get a reality check? I'd like to have a script which takes a file with p6 grammar code (grammar Foo {...}), a grammar name (Foo), a start rule, and an input file, and runs the start rule with the input, yielding a Match tree. I'd then like to dump the Match tree to stdout, ideally as yaml. My impression of how to go about this is use compilers/pge/ , and then... (hmm, ok, what i was thinking now seems invalid)... suggestions? demo.pir mutant if it can (be made to)? accept a full grammar? download nice CPAN module? use rakudo? anybody seen flavio? mncharity: if we get file IO supported in rakudo, it should be a pretty short Perl 6 script. Or you could write it in PIR using PGE the thing missing is all the pair syntaxes but one can get away with :key( 'value' ) Tene: do you have a feel for when IO might be supported? say, {February, March, later}? % davidfetter has left davidfetter!~chatzilla@start.fetter.org mncharity: I haven't looked to see if Parrot supports it yet or not. I was planning on working on it tonight or tomorrow night. ooo, nifty. ok, I'll wait then. re 'you could write it in PIR using PGE', given, say, a grammar and input fed as single lines, does it seem like this would be a two-ish line change to demo.pir? one to do grammar(s?) rather than a rule, and one to invoke the grammar rule? or is it "more interesting" than that? Tene, I don't see io specified in http://perlcabal.org/syn/S29.html on the other hand I see some tests in pugs ho, http://search.cpan.org/~lichtkind/Perl6-Doc-0.35_1/lib/Perl6/Doc/Design/S16.pod cognominal_'s url is at http://xrl.us/bgqng not on dev.perl.org :( cog: http://perlcabal.org/syn/S16.html -- IO mncharity: we don't have a way to dump a match tree in yaml yet i'm working on something that'll dump AST as yaml. don't we have json? re 'dump a match tree in yaml', ok. I could always post-process another format into yaml. we've decided to use a subset of yaml that'll look much better than json it's basically json+ re 'dump AST as yaml', yay. That's a separate objective, but perhaps the code can be applied to Match's as well. yes, the yaml dumper is generic :) % Ademan has joined #parrot json does not handle cicurlarity while yamld does if I recall correctly yes, however i haven't addressed circularity yet json doesn't address typing well with yaml i can say: !PAST::Op { ... } docs/ops/io.pod looks good. also json requires strings to be quoted, which is ugly imo and unnecessarially verbose Should be pretty straightforward to add some basic IO functions to rakudo it'd be great to have spectests available before having the implementation Yes, it would. mncharity should do it. some are in pugs looks like there's t/spec/S16-* already yes however, some smartlinked tests here (http://perlcabal.org/syn/S16.html) are not in t/spec/ yet problem is that rakudo does not have pairs yet search for "Show t/" If there are tests for 'open', 'read', and friends by tonight, I'll spend an hour or two working on implementing them tonight. these tests use them intensively * particle wonders if kp6 has Pair.pm http://svn.pugscode.org/pugs/v6/v6-KindaPerl6/src/KindaPerl6/Runtime/Perl6/Pair.pm yay! particle's url is at http://xrl.us/bgqn5 we need to parse them too % barney has joined #parrot cognominal_: they're not in spec/S16-* yet. let's see if i can hack zev's patch to include Pair.pm yes, we need to parse them too, but they're in STD What do we need pairs for specifically right now? I would be curious how you do it, I tried to no avail... * barney needs Pairs for Eclectus in French, paire means balls too :) time for particle to prove he have some. I'm curious about what 'method true' in that Pair.pm is for. s/have/has/ .true returns Bool::True in Pair What... what is that good for? defined testing Oh. btw, I have token noun { 'True' {*} #= True || 'False' {*} #= False || {*} #= colonpair # | {*} #= fatarrow but I don't know what to do for boolean actions I find strange that booleans litterals starts by a capital because it is reserved for namespaces % lichtkind has joined #parrot pmichaud: cheers how is doing rakudo? you should whack TimToady over the head with that q. that was for cog, not lichtkind allrigth :) as for boolean actions for True|False... true() is a function so what is True? True is an enum, which is both a type and a value ...Bool class sets up globals for True and False enums are primarily considered singleton types so, my True $x; # automatically contains True? in the sense of representing only one value yes don't need to say my Bool::True $x ok pmichaud: where are lieing the userdocs on parrot you told me about er, i guess that'd be my Bool $x = True and in signatures, values are even considered types in that sense so you can have a parameter of "42" that has to match which one uses all the time in recursive multis for the end condition each time I hit TimToady with an apparent inconstency, he hits me back with a deeper consistency :) we've been thinking about this a while now :) it's not entirely consistent yet, but it can never be completely consistent on all levels lisp begs to differ lisp only has one level and no syntax but when you do my $x = True, you get a type or a value? yes now you're just having fun :) It's mainly a value pretending to be a type or maybe it's the other way around... it's not just a typed value? depends on the way you use $x? $x isn't constrained only to hold True, though. with "my True $x;" it is yes, but that's a container type, not a value type it's effectively constant right. there's it's using True as a real subset type in "my $x = True" you get the container typed because it's value is. subset True is Bool where {.true} or some such % peeps[work] has joined #parrot subset February of Month where 2; an enum is just a list of those it was just a matter of time that in scripting lanuguage everytin become a role. The only thing hopefully missing is the casting. a type that is constrained to a single value may be used as that value and protoobjects are constrained to be undefined perl 6 breaks the mold, so there's no casting :P the only question is whether its toxic mold... *it's we'll know if programmers come down with sick language syndrome Use of uninitialized value in hash element at c:/usr/local/parrot/clean/languages/perl6/t/spec/fudge line 184, <> line 117. hrmm. how can i have too many windows and not enough windows open at the same time? % x has joined #parrot from the dict but that could be Dilbert " take the marzipan and mold it into a cone shape." * particle wants a test harness that works better for fudge results * particle wished *nix supported negative exit status codes % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1096741185.dsl.bell.ca % grim_fandango has joined #parrot % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1096741185.dsl.bell.ca % grim_fandango has joined #parrot % parrot-poke has joined #parrot cognominal_: wrt 'True' action, it'd be something like 'self' the Bool class creates globals you can do inline pir to '%r = get_global ...' in fact it should not be a noun it must be in the hndling of typename neither should 'self' or 'undef' be a noun hum, in the last svn checkout I don;t get a prompt when starting rakudo :( r26059 | bernhard++ | trunk: : [Plumhead] : Remove abandoned variant 'yacc' diff: http://parrotvm.org/svn/parrot/revision/?rev=26059 I lost hope to get parrot working with svk hum inlining pir in actions, still new to me % schmalbe has joined #parrot % barney has left barney!~bernhard@dslb-084-058-143-156.pools.arcor-ip.net % schmalbe has left schmalbe!~bernhard@dslb-084-058-177-183.pools.arcor-ip.net % barney has joined #parrot % arbingersys has joined #parrot % mire has joined #parrot r26060 | bernhard++ | trunk: : #51056: [PATCH] coding style consistency and doc fix : Courtesy of Christoph Otto. diff: http://parrotvm.org/svn/parrot/revision/?rev=26060 particle: self is a noun for now because it should be a term, but a term should be a noun, and if you try and do that you get the parser into some infinite recursion. Or something. There's a comment in the grammar about this. sure, my point was that we cheat. working trumps good. zev's patch isn't working as-is Ah? :-S a few small problems system.pir doesn't exist, np, just remove it from the patch Ah, OK. but 'echo "" > foo.pir' is actually putting "" in the file when it should be blank so, i need to find a portable way to create an empty file looking at ExtUtils::Command now hoping 'touch' will do it particle: what if you create a pir file with a comment in it? would that help? particle: touch won't work on win32? ExtUtils::Command's touch will work, with perl win32 doesn't have a 'touch' command in the shell kj: trying now % barney has left barney!~bernhard@dslb-084-058-177-183.pools.arcor-ip.net kj: no, echo still displays the quotes no quotes seems to work on linux and win32 particle: that's a file with "\n" in it ? echo > file; wc file has one character -- not empty echo "# foo bar" > file ## displays "\"# foo bar\"" on windows the quotes end up inside the file what if you also echo a backspace char :-) did you want an empty file or a file with no quotes in it? try `>file` echo # foo bar > file ## displays "# foo bar" on windows and linux yeah, but that's not empty doesn't need to be empty just needs to be a portable command something that's parsable pir ok, thought you started with `touch` empty, or a comment, or noop * ewilhelm $lurk = 1 yes, because an empty file is parsable pir. sorry that wasn't clean s/n$/r/ particle: a few days ago you mentioned auto generating nci stubs, in relation to a c parser. I didn'tand don't quite understand what you meant (as I now have c99 running, I might as well see what I can do on the nci stub stuff) ok, see for example runtime/parrot/library/SDL.pir dlfunc sdl_function, libstl, ... if we could parse the header files and generate those lines, it'd make creating nci libraries much easier kj: pdds/draft/pdd16_native_call.pod Look at the SD... yeah, what particle said. also if we could generate things like _set_Color_layout the structs defined in the c headers mm.ok what header files are you referring to? so, I fail to see what needs to be parsed, and what needs to be generated grab the libSDL package and look at SDL.h i guess you mean the sdl code from sdl.org rpm -qa | grep SDL Looks like kj is on windows yes he is ;-) ah, right. windows. That's always disorienting to me. libsdl.org yeah got it http://pleasedieinafire.net/~tene/SDL.h so, for instance, consider: extern DECLSPEC void SDLCALL SDL_QuitSubSystem(Uint32 flags); from sdl.h what kind of PIR is needed for this example? ah i see (scrollback; missed that) Look at... SDL_video.h look for extern DECLSPEC SDL_Surface * SDLCALL SDL_SetVideoMode (int width, int height, int bpp, Uint32 flags); That matches up with: dlfunc sdl_function, libsdl, 'SDL_SetVideoMode', 'piiil' in SDL.pir the first character in the last item is the return type pointer then the types of the arguments int, int, int, long tene: i see.thanks is that really a pain to have to write manually? [tene@kupo ~]$ find /usr/include/ -name '*.h' | wc -l 4476 yeah, but obviously you're not going to invoke ALL functions on your system. are you? :-) Simultaneously. simultaneously is pleased and scared r26061 | kjs++ | trunk: : [c99] fix grammar rule to parse structs : have # directives skipped for now through whitespace rule. not sure how to handle preprocessor; inline or as a separate parser. diff: http://parrotvm.org/svn/parrot/revision/?rev=26061 % jjore is now known as jjore_away % jjore_away is now known as jjore % cj has left cj!~cjcollier@66.152.65.2 % Andy has left Andy!~AndyL@host3130.follett.com % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl (generating an empty file) we already do this in pge, I think. hurm. I see TOUCH in the makefile, but it's not where I thought it as. % Limbic_Region has joined #parrot Limbic_Region: hey, Joshua. Someone was looking for you in the past week. ... ooh, we have logs you can scan. =-) % IllvilJa has joined #parrot any idea who it might have been? I got an email from robert concerning piper haven't had a chance to provide a patch other than that, no idea they didn't leave a message for me via purl Coke - where is the search functionality? I can only seem to find the raw logs * Limbic_Region can't be bothered to wait and decides to write some WWW::Mechanize instead % wknight8111 has joined #parrot Coke - found it Coke - it was jmcadams on 2008-02-22 " Conrad Schneiker or Joshua Gatcomb hang out here?" % iblechbot has left iblechbot!~iblechbot@ppp-62-216-207-138.dynamic.mnet-online.de % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net so are the logs searchable or not? % peeps[work] has left peeps[work]!~peepsalot@bwext.kpimdp.com % mire has left mire!~Frodo@249-168-222-85.adsl.verat.net % iblechbot has joined #parrot % kid51 has joined #parrot % x has left x!~chatzilla@host86-139-25-133.range86-139.btcentralplus.com % cj has joined #parrot % mire has joined #parrot r26062 | jonathan++ | trunk: : [rakudo] Make $.x used away from declaration with has do something closer to the right thing. diff: http://parrotvm.org/svn/parrot/revision/?rev=26062 % sjansen has left sjansen!~sjansen@75-169-113-12.slkc.qwest.net % iblechbot has left iblechbot!~iblechbot@ppp-62-216-198-74.dynamic.mnet-online.de % slightlyoff has joined #parrot % gryphon has joined #parrot % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % lichtkind has left lichtkind!~chatzilla@d213-101-254-179.cust.tele2.de % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % lathos has left lathos!~simon@morison.arjam.net % ilbot2 has left ilbot2!moritz@faui2k3.org % rafl has left rafl!~rafl@62.75.161.67 % AndyA has left AndyA!~andy@82.152.157.85 % IllvilJa has joined #parrot % AndyA has joined #parrot % ilbot2 has joined #parrot % rafl has joined #parrot % lathos has joined #parrot "kid51" at 70.107.2.179 pasted "from: http://svn.perl.org/parrot/branches/tcif/lib/Parrot/Configure/Options/Test.pm" (24 lines) at http://nopaste.snit.ch/12395 nopaste's url is at http://xrl.us/bgrbk Hmm, wrong channel for that paste. % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % Theory has left Theory!~Theory@dsl093-038-250.pdx1.dsl.speakeasy.net % Andy has joined #parrot % silug has left silug!~steve@ppp-70-225-44-146.dsl.covlil.ameritech.net % kid51 is now known as kid51_at_dinner % jjore is now known as jjore_away % jjore_away is now known as jjore % Theory has joined #parrot % Theory has left Theory!~Theory@dsl093-038-250.pdx1.dsl.speakeasy.net % cj has left cj!~cjcollier@66.152.65.2 % DarkWolf84 has joined #parrot r26063 | petdance++ | trunk: : a little consting diff: http://parrotvm.org/svn/parrot/revision/?rev=26063 3yay me! yay andy! For c99, we can steal the locally installed C preprocessor. We don't care about supporting platforms with no C preprocessor, right? ;) % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % mire has left mire!~Frodo@15-171-222-85.adsl.verat.net % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1096741185.dsl.bell.ca % kid51_at_dinner has left kid51_at_dinner!~jkeen@70.107.2.179 % cj has joined #parrot % Patterner has joined #parrot % slightlyoff has joined #parrot % parrot-poke has left parrot-poke!~mollusk@user-112vvlr.biz.mindspring.com % mire has joined #parrot Hmmm. I'm noticing that my PHPArray PMC has more loc than the biggest of the built-in PMCs, and I've still got about 20 methods to implement. Something's not quite right. Is anyone doin' work in Eclipse? % grim_fandango has joined #parrot % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % x has joined #parrot % nina29 has joined #parrot % nina29 has left nina29!~nina29@ANantes-257-1-39-117.w90-25.abo.wanadoo.fr % mire_ has joined #parrot % mire has left mire!~Frodo@15-171-222-85.adsl.verat.net % Theory has joined #parrot % Andy has left Andy!~Andy@64.81.227.163 r26064 | petdance++ | trunk: : Modified some function parameter modifiers diff: http://parrotvm.org/svn/parrot/revision/?rev=26064 % DarkWolf84 has left DarkWolf84!~dwolf@89.215.234.147 % mire_ has left mire_!~Frodo@85.222.171.225 % Theory has left Theory!~Theory@dsl093-038-250.pdx1.dsl.speakeasy.net % Theory has joined #parrot % Theory has left Theory!~Theory@dsl093-038-250.pdx1.dsl.speakeasy.net % Ademan has left Ademan!~dan@h-68-167-207-248.snfccasy.dynamic.covad.net % Ademan has joined #parrot % zostay has left zostay!~Hanenkamp@wsip-70-184-233-108.ks.ks.cox.net % mire_ has joined #parrot % mire_ has left mire_!~Frodo@225-171-222-85.adsl.verat.net % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1096741185.dsl.bell.ca % x has left x!~chatzilla@host86-139-25-133.range86-139.btcentralplus.com % uniejo has joined #parrot % slavorg has left slavorg!~tomi@windmill.london.pm.org % cognominal has left cognominal!~stef@82.67.232.89