% skv_ has left skv_!~skv_@87.242.97.69 % HG` has joined #parrot % marmic has left marmic!~chatzilla@89-253-66-101.customers.ownit.se % skv__ has joined #parrot % marmic has joined #parrot % skv___ has joined #parrot % uniejo has left uniejo!~uniejo@langebro.adapt.dk % skv has left skv!~skv_@87.242.97.68 % skv___ is now known as skv % uniejo has joined #parrot % skv__ has left skv__!~skv__@87.242.97.69 % jonathan has joined #parrot who broke the build? http://perlpunks.de/paste/show/47b2afa5.4b18.3e5 % HG` has left HG`!~wells@user-5445566c.lns5-c11.dsl.pol.co.uk % Coke has left Coke!~coke@cpe-72-228-52-192.nycap.res.rr.com % alvar has joined #parrot % kj has joined #parrot % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % cognominal_ has left cognominal_!~cognomina@82.67.232.89 % ruoso has left ruoso!~ruoso@mail.verticalone.pt % ruoso has joined #parrot r25690 | fperrad++ | trunk: : [build] : - macro argument with parentheses diff: http://parrotvm.org/svn/parrot/revision/?rev=25690 r25691 | kjs++ | trunk: : [docs] fix line length which was too long. diff: http://parrotvm.org/svn/parrot/revision/?rev=25691 % avar has joined #parrot % alvar has left alvar!~alvar@airdisaster.gate.uni-erlangen.de % wknight8111 has joined #parrot % rdice has joined #parrot % jq has left jq!~jquelin@merlin.mongueurs.net % jq has joined #parrot % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % davidfetter has left davidfetter!~davidfett@start.fetter.org % krumms_ has joined #parrot % krumms_ has left krumms_!~tom@d122-105-220-63.sun13.vic.optusnet.com.au does anybody know of some decent documentation on code generation for a register-based VM such as parrot? krumms: there's a lot of literature on compilers the dragon book for instance by aho et al. and I'm sure 15 minutes of googling will yield enough to read the whole afternoon :-) kj: not compilers in general, just code generation for register-based machines. I've got a super basic little language cooked up using lex/yacc, but I'm more accustomed to generating code for stack-based machines (the JVM, Python's VM) so on a conceptual level I'm struggling a little :) % alvar has joined #parrot ok.usually there's always a chapter on code generation, and I'm pretty sure the dragon book does discuss register based machines but as said, there's much to be found in articles on the web kj: sure google this: register based machine code generation at least it will get you up and running with basics. registers can just be seen as stack positions.. except that they are numbered kj: cheers. I think PIR should make it a little easier to deal with, too. % lidden has joined #parrot krumms: especially because PIR has an infinite amount of registers no need for an allocator; this is already handled by the pir compiler kj: fantastic even better: depending on what you want: running your language on parrot or learning about code generation, you can also use the Parrot abstract tree nodes abstract tree nodes? then you just need to create these PAST nodes abstract tree. that's a data structure that parsers generally create during a parse it's just a bunch of nodes linked together, representing the program you compile for instance, a node representing if then should probably have 2 children: the node representing and one to represent the so the syntax is stripped off, and you just end up with the stuff that matters kj: familiar with ASTs, I just didn't realize this stuff was built in :) great to hear it gets even better than this ;-) *sighs* I need more time in my day, it's already midnight here :( but I don't want to give away too much haha sure today, for simple languages, you only need to create a parser, and write some straightforward Perl 6 code to implement a compiler targeting parrot oh; i forgot the word "syntax" there with the abstract tree. sorry, that must have been the confusing part :-) % davidfetter has joined #parrot % alvar has left alvar!~alvar@airdisaster.gate.uni-erlangen.de % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl % rdice has left rdice!~richarddi@CPE001217e365c7-CM00159a01d44c.cpe.net.cable.rogers.com % ruoso has left ruoso!~ruoso@mail.verticalone.pt % ruoso has joined #parrot % alvar has joined #parrot % HG` has joined #parrot % alvar_ has joined #parrot % alvar__ has joined #parrot % alvar_ has left alvar_!~alvar@airdisaster.gate.uni-erlangen.de r25692 | jonathan++ | trunk: : [rakudo] Big refactoring to the objects implementation to remove a lot of inline PIR from the actions file and to make it earlier to allow different metaclasses to give meaning to various keywords later, as we'll need to do S12. No doubt we'll need futher clear-ups later, but this is further in the right direction. diff: http://parrotvm.org/svn/parrot/revision/?rev=25692 % alvar has left alvar!~alvar@airdisaster.gate.uni-erlangen.de % alvar__ has left alvar__!~alvar@airdisaster.gate.uni-erlangen.de % alvar has joined #parrot % alvar_ has joined #parrot % alvar has left alvar!~alvar@airdisaster.gate.uni-erlangen.de % Andy has left Andy!~Andy@64.81.227.163 % alvar_ is now known as alvar % alvar has left alvar!~alvar@airdisaster.gate.uni-erlangen.de % alvar has joined #parrot % alvar has left alvar!~alvar@airdisaster.gate.uni-erlangen.de % alvar has joined #parrot % alvar has left alvar!~alvar@airdisaster.gate.uni-erlangen.de % alvar has joined #parrot % gryphon has joined #parrot % alvar_ has joined #parrot % alvar has left alvar!~alvar@airdisaster.gate.uni-erlangen.de r25693 | jonathan++ | trunk: : [rakudo] Remove another bit of inline PIR in favor of generating PAST nodes. diff: http://parrotvm.org/svn/parrot/revision/?rev=25693 % alvar_ has left #parrot % iblechbot has joined #parrot % IllvilJa has joined #parrot jonathan: are you in Erlangen right now? moritz: Yeah. jonathan: where? Second row, extreme left. Guy with messy shoulder-lengh-ish hair and over-sized beard who can't speak German. ;-) ah, I saw you hacking with parrot im' on your right, one row behind you hi! r25694 | jonathan++ | trunk: : [rakudo] Fix accessor/mutator generation for attributes, which got broken. diff: http://parrotvm.org/svn/parrot/revision/?rev=25694 jonathan++ # rakudo hacking, coming to Germany Yeah, braving the cold! ;) you're being very productive; maybe we should send you to Deutschland more often :) ;) perl6 seems to hang on t/spec/S03-operators/assign.rakudo it used to produce a syntax error, so I added a #?rakudo 2 skip "not implemented" no it loops :/ somebody shout "Schnell, schnell!" at him:) avar: bad idea, would interrupt the talk ;) American media has led me to believe that shouting unparsable sentences at people is acceptable in all social situations in Germany s/in Germany// well, "Schnell, schnell" _is_ parsable ;) If your german is parsable I think you need to work on your shouting:) you just need a mutable parser :) % contingencyplan has left contingencyplan!~contingen@cpe-76-186-27-146.tx.res.rr.com then you would misunderstand "Ich bin ein Berliner." perfectly... * davidfetter turns into a jelly donut TimToady: Any Perl event where I don't understand the language of the talks will do. ;-) I would say it doesn't have to be in a country this cold, but I've got the Ukranian one come up in a week and a bit... % AndyAway has left AndyAway!~AndyL@host3130.follett.com % jhorwitz has joined #parrot % rdice has joined #parrot % Andy has joined #parrot Morning all. afternoon, Andy r25695 | petdance++ | trunk: : removed PARROT_MALLOC from a bunch of functions that actually just snag stuff from pools diff: http://parrotvm.org/svn/parrot/revision/?rev=25695 r25696 | jonathan++ | trunk: : [core] Role composition using the v-table method ignored resolve_method list; fix this. diff: http://parrotvm.org/svn/parrot/revision/?rev=25696 r25697 | jonathan++ | trunk: : [rakudo] Fix role composition so methods in the class resolve conflicts and get priority over methods from roles. diff: http://parrotvm.org/svn/parrot/revision/?rev=25697 % marmic has left marmic!~chatzilla@89-253-66-101.customers.ownit.se % marmic has joined #parrot % uniejo has left uniejo!~uniejo@langebro.adapt.dk r25698 | petdance++ | trunk: : consting & macroing diff: http://parrotvm.org/svn/parrot/revision/?rev=25698 % PerlJam has left PerlJam!duff@feather.perl6.nl % PerlJam has joined #parrot % leo has left leo!lt@feather.perl6.nl % jonathan has left jonathan!jonathan@feather.perl6.nl % jonathan has joined #parrot % pmichaud has left pmichaud!pmichaud@feather.perl6.nl % pmichaud has joined #parrot % Coke has joined #parrot * Coke ~~ % leo has joined #parrot guten tag, leo. hi salut, leo. % particl1 has joined #parrot % contingencyplan has joined #parrot % particle has left particle!~particle@c-24-19-3-148.hsd1.mn.comcast.net % paq has left paq!~bot@139.Red-80-36-122.staticIP.rima-tde.net % dwave has left dwave!~asksolem@pat-tdc.opera.com % contingencyplan has left contingencyplan!~contingen@cpe-76-186-27-146.tx.res.rr.com r25699 | petdance++ | trunk: : consting diff: http://parrotvm.org/svn/parrot/revision/?rev=25699 % mdxi has left mdxi!~mdxi@adsl-074-244-064-228.sip.asm.bellsouth.net % dwave has joined #parrot opbots, names opbots, trust Tene Ok Ok % mj41_ has joined #parrot % jjore has left jjore!~jjore@c-24-16-241-176.hsd1.mn.comcast.net % mj41 has left mj41!chatzilla@pc-jurosz.ro.vutbr.cz % mj41_ is now known as mj41 % cout_ has left cout_!~cout@c-68-58-247-49.hsd1.sc.comcast.net % cout has joined #parrot % cognominal_ has joined #parrot % krumms has left krumms!~tom@d122-105-220-63.sun13.vic.optusnet.com.au some recent change broke parrot on my intel macbook. It compiles with the i386 _and_ ppc architecture but I unicode library is i386 only should I be obliged to compile a Universal parrot by default? % krumms has joined #parrot % jrockway has left jrockway!~jrockway@dsl092-134-178.chi1.dsl.speakeasy.net nope. I think the default for now should not be a fat binary. % parrot-poke has joined #parrot cognominal_: note that fat binary was the default for some time. ls how come it hurs me know? ho, it works anyway, I just did not notice the message before being able to compile a fat parrot is good anyway. So that was just a warning tell me that icu was not fat s/warning/warning message/ ah. did you recently start linking against icu? cage task: add a tool that runs all the coding standards tests against a particular file. (each codingstd test should take an optional list of files to check, and just quit if the file doesn't make sense to test.) no, I just did not notice the message before. btw: as a warming I try to translat Getopt/Obj.pir in Perl6 once done, I guess that will lead me to handle class/package/module loading by long names % japhb has left japhb!~geoff@76.191.190.8 % peeps[work] has joined #parrot % Ron has joined #parrot seen chromatic? chromatic was last seen on #parrot 14 hours and 34 minutes ago, saying: One creates a new string, I think. % cotto has joined #parrot phone & i'll be there as soon as possible. so far I'm the only one... % cognominal_ has left cognominal_!~cognomina@217.128.1.3 % particl1 is now known as particle If I were going to implement a PHPArray PMC, how much of the current code could in Parrot (esp src/hash.c) could I reuse? My main concern is the ability of PHP arrays to be ordered. take a look at src/pmc/orderedhash.pmc see if that fits your needs thanks % jrockway has joined #parrot % japhb has joined #parrot % sjansen has joined #parrot % Ademan_ has left Ademan_!~dan@h-68-164-171-186.snfccasy.dynamic.covad.net % cotto has left cotto!~cotto@tide532.microsoft.com % cotto has joined #parrot Andy: know a good way to list the dirs in a svn working copy without the crud? i don't think ack handles that :( ack -fa dirs, not files oh, no, ack doesnt' do anything with dirs at all. once you have the dir list, you can pipeline it. er, file list. not for empty dirs particle: find . -type d | grep -v .svn ? <--windows particle;gimmie a minute. yeah, that's one where find | grep is the best way to go. i do have unix utils on windows, so find | grep works for me, but not in general particle: perl -MFile::Find -e 'find(sub { -d $_ && print }, @ARGV);' # untested :) nopaste? i guess 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 if file::next was taught to deal with dirs, it'd be an easy add to ack, but i don't know if you want to go there. of course you still need to add the part that ignores the "crud" I don't want ack to do anything with directories. yeah, i'd like to take the crud-ignoring parts of ack and have a utility for dirs particle: time for you to create App:Dack or something particle: DIR /B /S /A:D | find /V ".svn" (tried here with a local CVS repo and "CVS" instead of ".svn", works great. Coke++ that's some serious windows command line fu And in Windows no less * Coke actually got paid to do that sort of thing once. for a week or so. "you don't have perl. GO!" yeah, i hate windows find I'm too lazy to learn all of that dreck so I just use cygwin or some other thing to make windows look like unix if I have to use windows here, it's the same name as the unix util, but works totally different. have fun. on windows, it's more like grep. particle: that work with the svn? it would, except here 'find' is the unix command so, find | grep works but yep, your solution will work on my other win box, thx! You can probably force the issue with FIND.EXE particle: check out this bare bones ModPerl6::Registry. it works! or .bat or something. "jhorwitz" at 68.163.18.104 pasted "particle: ModPerl6::Registry" (13 lines) at http://nopaste.snit.ch/12319 but as long as it works. =-) whee! jhorwitz++ just in time for frozen perl... % Ron has left Ron!rblasch@M103P009.adsl.highway.telekom.at % iblechbot has left iblechbot!~iblechbot@ppp-62-216-201-135.dynamic.mnet-online.de % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com -> afk % Andy is now known as AndyAway % jhorwitz has left jhorwitz!~chatzilla@68.163.18.104 % parrot-poke_ has joined #parrot % parrot-poke has left parrot-poke!~mollusk@user-112vvlr.biz.mindspring.com % jonathan_ has joined #parrot % jonathan has left jonathan!jonathan@feather.perl6.nl % PerlPilot has joined #parrot % PerlJam has left PerlJam!duff@feather.perl6.nl % pmichaud_ has joined #parrot % pmichaud has left pmichaud!pmichaud@feather.perl6.nl hi piper % Theory has joined #parrot % mj41 has left mj41!~chatzilla@pc-jurosz.ro.vutbr.cz % leo_ has joined #parrot % leo has left leo!lt@feather.perl6.nl purl: Piper? diakopter: i haven't a clue % silug has left silug!~steve@ppp-70-225-74-37.dsl.covlil.ameritech.net % HG` has left HG`!~wells@user-514d7f33.l2.c2.dsl.pol.co.uk % mj41_ has joined #parrot % mj41_ is now known as mj41 % workbench has left workbench!abuse@adsl-068-213-211-142.sip.bct.bellsouth.net % davidfetter has left davidfetter!~davidfett@start.fetter.org % peeps[work] has left peeps[work]!~peepsalot@bwext.kpimdp.com % sjansen has left sjansen!~sjansen@hq-nat2.gurulabs.com % workbench has joined #parrot % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % skids has left skids!bri@charon.clarku.edu % apple-gunkies has left apple-gunkies!~chatzilla@tx-71-48-165-85.dyn.embarqhsd.net % apple-gunkies_ has joined #parrot % apple-gunkies_ is now known as apple-gunkies % davidfetter has joined #parrot % sjansen has joined #parrot % skids has joined #parrot % peeps[work] has joined #parrot % jonathan_ is now known as jonathan Lot of disconnects today... :-S % slightlyoff has joined #parrot % mdiep_ has joined #parrot % mdiep has left mdiep!~mdiep@v-adsl-fh-178-170.umnet.umich.edu % mdiep_ has left mdiep_!~mdiep@v-adsl-fh-178-170.umnet.umich.edu % mdiep has joined #parrot r25700 | jonathan++ | trunk: : [rakudo] Remove now-unused regex.pir. diff: http://parrotvm.org/svn/parrot/revision/?rev=25700 % kid51 has joined #parrot * kid51 cannot reach svn.perl.org. Anyone know anything about that? kid51: I checked something in less than 10 mins ago and it worked fine... :-S % Andy has joined #parrot jonathan: Am getting nothing from 'svn up' to kid51: Oddness. It works here. % peeps[work] has left peeps[work]!~peepsalot@bwext.kpimdp.com Okay, now I'm able to svn up again. Dunno what happened. Strange. But true. Ho hum, sleep time here, but I'm on my way to rules/grammars in Rakudo. purl: Age before beauty. kid51: excuse me? * jonathan is young and ugly * jonathan sleeps g'night, jonathan % Limbic_Region has joined #parrot % wknight8111 has joined #parrot r25701 | jkeenan++ | tcif: : Restore all parts of test to uncommented-out status. r25702 | jkeenan++ | tcif: : Fix semantic error: Should have been 'system and croak', not 'system or croak'. diff: http://parrotvm.org/svn/parrot/revision/?rev=25702 % silug has joined #parrot % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % AndyA has left AndyA!~andy@82.152.157.85 % japhb has left japhb!~geoff@208.201.228.107 % AndyA has joined #parrot % jjore has joined #parrot % japhb has joined #parrot purl, Piper is the logbot for #parrot ...but piper is |er... (fixed) purl: piper? piper is the logbot for #parrot % jjore has left jjore!~jjore@mail0.w3data.com r25703 | jkeenan++ | trunk: : 1. Someone forgot to regenerate the MANIFEST after deleting a file. : 2. Add docs/embed.pod to list of skipped files in linelength.t. Its : POD has 2 '=item' entries which necessarily exceed 100 characters. diff: http://parrotvm.org/svn/parrot/revision/?rev=25703 r25704 | coke++ | trunk: : [codingstd] : We have a list of files here that isn't checked against : MANIFEST, so there were a few files that got deleted : from the repo but not deleted here. r25705 | jkeenan++ | trunk: : Applying corrected version of patches submitted in : https://rt.perl.org/rt3/Ticket/Display.html?id=50302. Most of internals : of t/harness refactored out into lib/Parrot/Harness/DefaultTests.pm, : Options.pm and Smoke.pm. Four test files added in t/pharness directory % Theory has left Theory!~Theory@dsl093-038-250.pdx1.dsl.speakeasy.net r25708 | coke++ | trunk: : [codingstd] : Several files were being skipped during the linelength test that : are passing. Don't skip those. diff: http://parrotvm.org/svn/parrot/revision/?rev=25708 % diakopter has left diakopter!~diakopter@host01a.appflux.net % diakopter has joined #parrot opbots, names evening ayup. Coke: IIRC, you were looking into something about t/codingstd/pir_code_coda.t. (It's failing.) % jjore has joined #parrot % jjore has left jjore!~jjore@c-24-16-241-176.hsd1.mn.comcast.net Yes, which is why I removed it from t/harness. % Theory has joined #parrot % jjore has joined #parrot It is now checking more PIR files that are using a non-standard coda, as well as files that are *claiming* to be PIR but aren't (and therefore don't have any coda) I should open a ticket about that. Yes, please. I hate it when I get to the end of make test and get failures in the 6 final tests. ... but I removed it from the harness. It shouldn't be run unless you're running it manually. ... oh. you just refactored the harness. did you not track the remove in the refactor? [li11-226:parrot] 557 $ grep -n pir_code t/harness [li11-226:parrot] 558 $ That's what you want, correct? or is it the other way around? ... presuming that check is still done in the actual t/harness script, yes. errrr, that's probably no longer true lib/Parrot/Harness/DefaultTests.pm yah. you appear to have re-added that back in. NBD; just remove that line from that file for now. k ticket opened. The file in which to make adjustments to the list of tests is now: lib/Parrot/Harness/DefaultTests.pm r25709 | jkeenan++ | trunk: : Temporarily removing t/codingstd/pir_code_coda.t from @developing_tests. Changes made elsewhere are causing this to fail on too many files to be useful. diff: http://parrotvm.org/svn/parrot/revision/?rev=25709 kid51: Yes, I added that to the ticket. * kid51 must sleep $kid51->sleep(8 * 3600); % kid51 has left kid51!~jkeen@pool-71-247-53-113.nycmny.east.verizon.net (so whoever closes it out will know what to re-enable.) Thanks! % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % parrot-poke_ has left parrot-poke_!~mollusk@user-112vvlr.biz.mindspring.com % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net wow. configure --cage sure is noisy. =-) r25710 | coke++ | trunk: : [cage] : Eliminate two unused C variables from a code generator. diff: http://parrotvm.org/svn/parrot/revision/?rev=25710 Andy: ping yessir compilers/imcc/pbc.c:187: warning: 'old_blocks' declared 'static' but never defined ... but it *is* defined, starting on line 327. can you 'splain it to me? % apple-gunkies has left apple-gunkies!~chatzilla@tx-71-48-165-85.dyn.embarqhsd.net There seem to be several warnings of this type. % Theory has left Theory!~Theory@69.30.86.231 also, wtf is "return reason=4, 0;" % Andy has left Andy!~Andy@64.81.227.163 -> afk % Daveman has joined #parrot % Dave has left Dave!~dave@pool-141-150-16-151.mad.east.verizon.net % c_otto has joined #parrot % iblechbot has joined #parrot % uniejo has joined #parrot % iblechbot has left iblechbot!~iblechbot@ppp-62-216-205-152.dynamic.mnet-online.de % cotto_ has joined #parrot