r27145 | fperrad++ | trunk: : [digest] : - fix test diff: http://www.parrotvm.org/svn/parrot/revision?rev=27145 % iblechbot has joined #parrot % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % IllvilJa has joined #parrot % cosimo has joined #parrot % wknight8111 has joined #parrot % ruoso has joined #parrot % mire has joined #parrot % mire has left mire!~Frodo@148-169-222-85.adsl.verat.net % ruoso has left ruoso!~ruoso@195.23.92.2 % ruoso has joined #parrot % cognominal has left #parrot % cognominal has joined #parrot % ruoso has left ruoso!~ruoso@195.23.92.2 % Zaba_ is now known as Zaba moin % allison has joined #parrot % kid51 has joined #parrot % allison has left allison!~chatzilla@dsl-241-112-110.telkomadsl.co.za % iblechbot has left iblechbot!~iblechbot@ppp-62-216-197-208.dynamic.mnet-online.de % skids has left skids!~bri@c-71-233-204-100.hsd1.ma.comcast.net % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % kid51 has left kid51!~jkeen@70.107.9.163 moin? welcome master! % cout has left cout!~cout@c-68-58-247-49.hsd1.sc.comcast.net % cout has joined #parrot % tetragon has left tetragon!~seneca@gw-312-705.somanetworks.com % iblechbot has joined #parrot [@$foo] ?? % iblechbot_ has joined #parrot % iblechbot has left iblechbot!~iblechbot@ppp-62-216-205-183.dynamic.mnet-online.de % particle has joined #parrot % skids has joined #parrot % rdice has joined #parrot % ruoso has joined #parrot % iblechbot_ has left iblechbot_!~iblechbot@245.18-dial.augustakom.net % gryphon has joined #parrot % Andy has joined #parrot % grim_fandango has joined #parrot (ah. intentially duplicating the reference, I think. still unnecessary, but at least I see where it was going.) % UltraDM has left UltraDM!~george@dasapass.avira.com % iblechbot has joined #parrot % Andy has left Andy!~AndyL@host3130.follett.com svn st svn: warning: '#parrot' is not a working copy % Andy has joined #parrot % uniejo has left uniejo!~uniejo@langebro.adapt.dk Infinoid: converting flags to a hash, I've managed to break my build locally. hmm I've got something that seems to generate the same core_ops_cg.c as svn HEAD does * Infinoid sees if it passes any tests. "Infinoid" at 96.238.213.50 pasted "for Coke: what I've got so far" (37 lines) at http://nopaste.snit.ch/12778 tests are looking good so far * particle installs half of cpan to get App::Asciio % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net which of the thirty halfs of cpan? :) theoretically, you'd only have to install 2 applications like that, and then you have all of CPAN installed, and don't have to worry about it any more looks like it pulled in the Net::IRC::Disconnect::Randomly module App::Asciio? % Theory has joined #parrot % particl1 has joined #parrot Coke: so... I don't know how "clean" my patch is, in fact, I know very little about this codebase. But it works, and passes all tests. Is it the kind of patch you had in mind? % particl1 is now known as particle % DarkWolf84 has joined #parrot % jhorwitz has joined #parrot END failed--call queue aborted. ^--- perl 5.10.0 error. 'scuse me? % allison has joined #parrot is it talking about a here-docs marker? or an END block? i'm guessing an end block. % teknomunk has left teknomunk!~teknomunk@ubuntubob.residential.okstate.edu i'm trying to install some modules, and it seems to be an error Devel::Cover is uncovering t/eval_sub..............Cannot close C:\usr\bin\perl-5.10.0\bin\perl.exe -IC:/usr/bin/perl-5.10.0/cpan/build/Devel-Cover-0.64-JjrThS/ -IC:/usr/bin/perl-5.10.0/cpan/build/Devel-Cover-0.64-JjrThS/blib/lib -IC:/usr/bin/perl-5.10.0/cpan/build/Devel-Cover-0.64-JjrThS/blib/arch -MDevel::Cover=-select,eval3,-ignore,blib,Devel /Cover,-merge,0,-coverage,statement,branch,condition,subroutine C:/usr/bin/perl-5.10.0/cpan/build/Devel-Cover-0.64-JjrThS/tests/eval3 5: at C:\usr\bin\perl-5.10.0\cpan\build\Devel-Cover-0.64-JjrThS\blib\lib/Devel/Cover/Test.pm line 187. END failed--call queue aborted. % teknomunk has joined #parrot % sjansen has joined #parrot "cognominal" at 82.67.232.89 pasted "a proof of concept parse trimmer. use like this : ./parrot languages/perl6/perl6.pbc --target=parse ary2.p6 | trimparse" (136 lines) at http://nopaste.snit.ch/12781 % {-} has joined #parrot t/eval_sub..............ok it is less than perfect but it is a big improvement on the raw output of parse % {-} has left {-}!~sjansen@hq-nat2.gurulabs.com lib/Devel/Cover/Test.pm:187: close T or die "Cannot close $command: $!"; I think "END failed--call queue aborted" is just what it emits when an exception is thrown from an END block. the exception itself is valid sure, makes sense it's an error i've never seen before it is a bit confusing at least this: # BEGIN failed--compilation aborted at t\001_load.t line 16. tells you the line# its listed in perldiag under "%s failed--call queue aborted" 15,600,000 * 19.5/42 purl: 15,600,000 * 19.5/42 particle: huh? purl: 15,600,000*19.5/42 particle: what? grr bash-3.2$ r --target=parse g.p6 | trimparse | wc 163 883 15186 bash-3.2$ r --target=parse g.p6 | wc 327 1807 29565 15.6e6*19.5/42 1+1 2 gah. working on indentation I should probably half the size of the outptut once more 15600000 * 19.5/42 7242857.14285714 purl doesn't like commas. Infinoid: huh? ah, right! commas. still, though. 15.6e6 should have worked btw that's a calculation of 10,000 ford escape hybrids over 200,000mi each 15.6Mgal fuel *savings converting gal fuel -> barrel oil is 19.5/42 so, 7.25Mbarrel oil which is <1/2 day of US consumption (19.6Mbarrel) not a big savings those numbers are too big for me to comprehend. this all started while my wife and i were driving in hawaii i saw a fuel truck, and wondered how many miles that would get our mini were you gonna hijack it? :) estimating 30' cylinder with diameter of 7'... miles/gal for the car, etc it'll get us about 5 years of use at our current burn rate (~5k mi/yr) ... its snowing. Infinoid: (passes all tests) really? hurm. md5sum of core_ops_cg.c is identical before and after the patch it's simpler than the change I had. I would recommend $flags->{pic} instead of $$flags{pic} I do prefer the latter syntax, but I don't feel strongly about it and I am ambivalent about the choice of 1 as the default value vs. undef. I prefer undef slightly. I feel slightly stronger than you about it. =-) undef works too, I only use 1 out of habit feel free to take the patch and run with it but I'm curious, how did your version work? if there's a cleaner way, I'm all for it. I'm ignorant of how ops2c is organized I did something very similar. I ended up changing the call chain a bit as $flags is passed around. (now that it's a reference and not a simple string, trying to mimic what the arrays were doing.) what are the arrays doing? yours is fine. if "make test" passes, go for it. I guess I was trying for a barebones version, and didn't look much at the scenery the first part could just be $self->flags->{pic} , methinks. tried that, didn't work. eeet should. "my $flags" was the second attempt probably breakage from another issue I was having. it will probably work now % barney has joined #parrot but works trumps any style-like concerns. Oh, I also added a note to Parrot::Op->flags ah, documentation! that sounds like a really good idea. ... you could also eliminate the earlier $flags definition, I wager. src/ops/core_ops_cg.cCan't use an undefined value as a HASH reference at lib//Parrot/Op.pm line 391. ah. my $flags = {}; instead of my $flags; that's with if (exists($self->flags->{pic}) or is this in response to something else? a yah, that's because you have my $flags instead of my $flags = {};, I wager. coke++ ah, the first time around the loop, I guess (if you do that, and then avoid the unnecessary assignment, something like if ($4) { $flags = .... }; lemme post my patch and you can steal all the good bits. "Coke" at 72.228.52.192 pasted "my broken patch" (90 lines) at http://nopaste.snit.ch/12785 Infinoid: so ignore the bits where I'm doing the {%$flags} cargo culting. (but there's a lot of [@$foo] which is the same sort of thing; I think the goal was to have the generated OpLib file not have any shared references. but if it works without it, fine fine. =-) cognominal: interesting. i haven't run it yet, but it looks promising Coke: I have to work. I can take a look at it this evening, if you don't beat me to it :) it already fits my needs. it will be cleaner when written with a real parser oh, I'll beat you all right. ;p wait. if, in the first time around the parse loop, it isn't a hash reference, what difference would that make as to whether $flags is locally declared or not? its still not going to be a hash reference ah, right, it needs to have an if/then inside the loop. good catch. r27146 | bernhard++ | trunk: : Tell languages/Makefile about squaak diff: http://www.parrotvm.org/svn/parrot/revision?rev=27146 I try to find the code that implement the 'make' function of actions.pm % slightlyoff has left #parrot r27147 | bernhard++ | trunk: : [Squaak] : Add file MAINTAINER : Mention Squaak in LANGUAGES_STATUS.pod diff: http://www.parrotvm.org/svn/parrot/revision?rev=27147 gotit % Andy has left Andy!~AndyL@host3130.follett.com r27148 | bernhard++ | trunk: : [Eclectus] : Fix code, after accidental commit in r27146. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27148 rotty: I halfheartedly started on NQP generation. Maybe I'll find some tuits this weekend. * barney meets brian d foy tomorrow at Frankfurt.pm extra meeting tell him i said hello will do % Ivatar has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % rillian has joined #parrot % gryphon has joined #parrot % barney has left barney!~bernhard@dslb-084-058-142-065.pools.arcor-ip.net % Theory has left Theory!~Theory@64.122.198.69 jonathan: congrats on the grant! grant? grant is on the $50. someone gave jonathan a $50 grant? ;-) jonathan got a day a week for 3mo grant from vienna.pm++ congrats indeed vienna.pm++ for having a budget! proceeds from yapc::eu 2007 iiuc oh, nice! ah vienna.pm++ for making a profit on a conference 3 months and then they evaluate if they can keep giving him money to the end of the year. vienna.pm++ indeed press release or announcement? I missed it I think I read about it in someone's use.perl journal http://socialtext.useperl.at/woc/index.cgi?work_1_day_per_week_on_rakudo Infinoid's url is at http://xrl.us/bjqim Having jonathan work on rakudo one day a week might bring an early christmas this year :) oh, hey, I'm on the use.perl front page :-) % Theory has joined #parrot pm: isn't that the same day as the "Texas Open Source Symposium"? texas open source symposium is this saturday (apr 26) dfw.pm is next tuesday (apr 29) r27149 | chromatic++ | trunk: : [OO] Added "vtable overrides in parents" cache to Class PMC. This is an : experiment and it doesn't get flushed on parent class modifications, but it : speeds up vtable override searching by about 500% and speeds up the those darn 6s and 9s look so much alike! :) : Rakudo-building benchmark by 5.87%. : Vtable overriding probably needs some more design thought though. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27149 r27150 | chromatic++ | trunk: : [PMC] Minor cleanup to make_hash_key() in the Hash PMC, especially its metadata. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27150 r27151 | chromatic++ | trunk: : [JIT] Cleaned up several warnings about null parameters passed to JIT : functions. All tests still pass on x86, where I saw the warnings. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27151 now "parrot Perl6Grammar.pir PGE/Grammar.pg" in "compilers/nqp" fails with "FixedIntegerArray: Can't resize" % ruoso has left ruoso!~ruoso@195.23.92.2 % skv has left skv!~skv_@87.242.97.68 % skv_ has joined #parrot % skv_ is now known as skv phone % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % tg has left tg!tg@digit.drk.hu % tg has joined #parrot % Donald has joined #parrot % Donald has left #parrot % donaldh has joined #parrot % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167935412.dsl.bell.ca % ambs has joined #parrot % jhorwitz has left jhorwitz!~chatzilla@96.245.16.45 % skv has left skv!~skv_@87.242.97.68 % skv_ has joined #parrot % skv_ is now known as skv % jalbo has joined #parrot Hello. hi! purl: what is saint george? wish i knew, jalbo It must be the only one here that doesn't. Patterner: that smells like a GC bug. % ambs has left ambs!~ambs@255.92.54.77.rev.vodafone.pt jalbo: southern utah it has been said that southern utah is beautiful. but the worst food ever. southern connecticut? I'm from Spain, we don't kill dragons here. % jan has left jan!~chatzilla@89-253-66-101.customers.ownit.se allison@perl.org | Concurrency Tasks: link: http://www.perlfoundation.org/parrot/index.cgi?concurrency_tasks dalek's url is at http://xrl.us/bjqpy % jan has joined #parrot % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % skids has left skids!bri@charon.clarku.edu % wknight8111 has joined #parrot % Limbic_Region has joined #parrot % purl has left purl!purl@sentient.life % ruoso has joined #parrot HI, in another channel of another server there are some people who asks if the source of good purl is available and where. thanks no idea, we don't maintain it. purl, owner? ENOPURL purl: where is the source? I think Masque runs it I have this article : http://www.foo.be/docs/tpj/issues/vol3_2/tpj0302-0002.html maybe writing some lines to Kevin Lenzo .. thanks anyway .. sorry I can't be more help thats ok .. infobot? % mire has joined #parrot yay - parrot building completely on Win32/Cygwin and Win32/MinGW again % iblechbot has left iblechbot!~iblechbot@141.16-dial.augustakom.net is there a policy on what kind of information can be sent by make smoke? I think it would be a good idea for it to send test results, in one format or another are you asking about the format? or the content? or about security/privacy? security/privacy I'm going to be setting up an automated Parrot smoke test machine (or more?), and my boss has to be certain that nothing compromising is being sent out I don't know if the policy is formally defined or documented. maybe we can intercept a smoke report and see exactly what it is sending nothing that's currently being sent out looks dangerous there may be some risk of a fail log containing the filesystem path of your local parrot checkout is this something we need to define formally? I'm just concerned about future changes well, you're right, its very much in flux, but I'm sure we could set some ground rules paco: http://www.infobot.org/ a lot of it is just common sense though. thanks donaldh .. yes, and I trust that the people with commit bits won't be malicious I don't want to see my /etc/passwd in a smoke report any more than you do. :) % donaldh has left donaldh!~chatzilla@host213-123-171-12.in-addr.btopenworld.com something formalized might be a good idea http://www.perlfoundation.org/parrot/index.cgi?rfp_parrot_needs_better_smoke_reports is the beginnings of a spec Infinoid's url is at http://xrl.us/bfeof I'll see what my boss says about what's there already s/already/currently/ until then, there's no reason to be add yet another tuit sink % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % allison has left allison!~chatzilla@dsl-241-112-110.telkomadsl.co.za % skids has joined #parrot % rdice has joined #parrot Coke: it has been said southern connect is the place people from the rest of New England stop to pee on their way to NY. oops. You can thank my cat for all the spaces in my buffer. jajaja hahaha I think you're looking for #whitespace Nice language. You can write very clean code with it. not good from a DRY perspective tho clean but not concise And even cats can code in it. cats can code in befunge too :) Just avoid to keep open a file called curiosity. that's where proper exception handling comes in % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net catch it before it kills the cat :) You can write the handler in Intercal: PLEASE DON'T KILL THE CAT well, that simplifies Shrödinger's problem significantly Never understimate the power of esotheric languages. s/Shrödinger/Schrödinger/ I don't mean austrian. Say you want to do something like this, but efficiently -- is there a perl6 way? : class g { has $.offset; has $.owner handles foo } class f is Array of Int { method foo () { do_something_to( @.self[$.offset] ) } method FETCH () { return g.new(offset => $^i, owner => .self) } } my f @f = (1,4,6,7,9,$blah); $f[3].foo(); That is essentially store data in a packed array but make your own autoboxing for it? % tetragon has joined #parrot % purl has joined #parrot purl, owner? i guess owner is Masque Or to put it another way, what does "Array of ( Int does bar )" create, assuming there's a way to dwim those parens legally. (for bar a role with or without attributes) yay, mandelbrot set in PIR % Ivatar has left Ivatar!~graham@tu055.demon.co.uk so I was inspired by allison's talk at lugradio to mock up a postscript interpreter in parrot but I'm unclear where to start any suggestions on (a) what to use for the stack and (b) what compiler tools to use? I see there's a forth implementation, which seems to code the stack directly in PIR rillian, have your read parrotblog.org? that should answer many of your questions the recent tutorials you mean? yes yes, that's a great starting point though it does presume some familiarity with perl6 great thanks the problem is to get used to the subset supported by nqp. * rillian is not a perl person * Infinoid is not a number, he is a free womble. ... weird. I initially read that as "* rillian is not a real person" bias is always with us :) % bradleh has joined #parrot it wasn't intentional! :P maybe people who don't know perl are not for real.. anyway, so you'd recommend nqp over the regex stuff? nothing is real but perl "the regex stuff" meaning PGE, I'm guessing? yeah, that Sure, that. you use both hrm. I seem to be missing some big picture still you have a grammar file which defines the grammar and the action file in NQP which defines that associated action s/action/actions/ ok, so parser in PGE and the associated implementation in NQP it is like a yacc file where you have separated the grammar rules from the associated actions so you have two files rillian: yes the grammar breaks down your syntax, NQP is where you implement your keywords and operators and such ome neat thing about it is that you can have an action file for a compiler, a second one for a beautifier and so on ... with the same grammar ok, and you could also implement the operators in PIR directly, NQP is just higher level? yes thanks * rillian also isn't an language person :) is her talk recorded anywhere? we have several example languages in the subversion, using various combinations of these tools so this is all new to me subversion *repo* cotto_work: there was a guy recording and selling DVDs at the event I've not seen anything posted online A good way to learn is to read compiler/nqp. So you get to learn the grammar of the language you will use for actions ok, I see. You call pge on grammer.pg to compile the grammar pir nqp on actions.pm to generate the actions pir and then dynpmc.pl merges the two and npq and pge are both parrot hosted? cotto_work: looks like the slides are available at http://www.lohutok.net/talks/compiler_tools.pdf yes the source are under the compiler/ folder ok, thanks, that helps a lot compilers/nqp/src/Grammar.pg compilers/nqp/nqp.pir loads the grammar and the actions % sjansen has left sjansen!~sjansen@hq-nat2.gurulabs.com rillian, thanks that looks like the talk I attended (separate from lugradio live) skids: you're much more likely to get perl 6 questions answered in #perl6 on freenode problem is most of my questions are really aimed at getting an idea of what is going on behind the scenes, so it ends up with a pugs-centric answer. and my problem is, I'm usually on floor 3 or 4 of the parrot building, and I rarely take the elevator up to floor 10 (rakudo) third floor: cage cleaners, bytecode emitters, test files. going up! % kid51 has joined #parrot to get to the GC in the basement, you have to take the stairs. :D % davidfetter has joined #parrot % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % kid51 has left kid51!~jkeen@pool-71-247-42-133.nycmny.east.verizon.net % rdice has left rdice!~richarddi@CPE001ff33cb98b-CM00159a01d44c.cpe.net.cable.rogers.com % mire has left mire!~Frodo@148-169-222-85.adsl.verat.net % tetragon has left tetragon!~seneca@69-196-138-185.dsl.teksavvy.com % tetragon has joined #parrot When does work on the GSOC stuff begin? June? % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net http://code.google.com/opensource/gsoc/2008/faqs.html#0.1_timeline cotto_home's url is at http://xrl.us/bispn % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot r27152 | pmichaud++ | trunk: : [docs]: : * Fix pod error in LANGUAGES_STATUS.pod . diff: http://www.parrotvm.org/svn/parrot/revision?rev=27152 Community Bonding Period. * Infinoid bonds with dalek * pmichaud bonds with cyanoacrylate group hug I'm a little surprised purl didn't have a response for that. you sound like a volunteer to add one :) I'm trying to think of something fitting. r27153 | pmichaud++ | trunk: : [core]: : * Remove user stack opcodes (RT#52842) : (save, restore, lookback, entrytype, depth, rotate_up) : * Update NEWS : * There is still dead code and structures to be removed -- this : just eliminates the opcodes. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27153 % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@e177239138.adsl.alicedsl.de % Psyche^ is now known as Patterner % DarkWolf84 has left DarkWolf84!~dwolf@89.215.234.147 r27154 | pmichaud++ | trunk: : [core]: dead code removal - PDB_print_user_stack() diff: http://www.parrotvm.org/svn/parrot/revision?rev=27154 % bradleh has left bradleh!~chatzilla@121.223.246.122 % peepsalot has left peepsalot!~peeps@cpe-67-9-161-48.austin.res.rr.com r27155 | pmichaud++ | trunk: : [core]: : * Remove what's left of the user stack. diff: http://www.parrotvm.org/svn/parrot/revision?rev=27155 % uniejo has joined #parrot % peepsalot has joined #parrot % TonyC has left TonyC!~tony@202-154-105-237.people.net.au % nopaste has left nopaste!~opaste@202-154-105-237.people.net.au % nopaste has joined #parrot % TonyC has joined #parrot % allison has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net