% iblechbot has joined #parrot % Zaba has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru perl6: say $_ for 1..5; OUTPUT[too few arguments passed (0) - 1 params expected␤current instr.: '_block11' pc 0 (EVAL_12:3)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub ..'parrot;PCT::HLLCompiler;command_line' pc 1267 (src/PCT/H... perl6: for 1..5 { say $_ } OUTPUT[1␤2␤3␤4␤5␤] for statement modifier doesn't create an implicit block in rakudo and $_ at the top level block is b0rked thanks % jjore is now known as zz_jjore % zz_jjore is now known as jjore % askie has left askie!~askie@81.171.100.208 % askie has joined #parrot % cotto_yapc has left cotto_yapc!~cotto@209.9.237.164 % TonyC has joined #parrot % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % bacek has left bacek!~bacek@mcas-151.usr.optusnet.com.au % cognominal has left cognominal!~cognomina@82.67.232.89 % Casan has left Casan!~IceChat7@users163.kollegienet.dk % barney has joined #parrot r28571 | bernhard++ | trunk: : Remove trailing whitespace. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28571 heh, recursive functions dont work out so well if you implement functions as inline r28572 | bernhard++ | trunk: : [Plumhead] : Switched the PCT variant over from TGE to NQP actions. : Simplify the parsing grammar and the NQP actions. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28572 * barney is checking out the libs4php branch % Ademan has left Ademan!~dan@h-67-101-43-203.snfccasy.dynamic.covad.net % kj has joined #parrot % Ademan has joined #parrot % kj is now known as kjs_ % kjs_ is now known as kj r28573 | bernhard++ | trunk: : [Plumhead] : Merge in the 'libs4php' branch by fperrad++. : Skip the test files with failures. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28573 % ank has left ank!~ank@ppp59-167-200-77.lns1.hba1.internode.on.net % clunker3_ has joined #parrot % clunker3 has left clunker3!~IRC@procura.xs4all.nl % bacek has joined #parrot % pjcj has left pjcj!~pjcj@84-73-177-217.dclient.hispeed.ch % pjcj has joined #parrot % DietCoke has joined #parrot % pjcj has left pjcj!~pjcj@84-73-177-217.dclient.hispeed.ch % ruoso has joined #parrot % pjcj has joined #parrot % clunker3_ is now known as clunker3 % Ademan has left Ademan!~dan@h-67-101-43-203.snfccasy.dynamic.covad.net % iblechbot has left iblechbot!~iblechbot@ppp-62-216-204-11.dynamic.mnet-online.de % mj41 has left mj41!~chatzilla@pc-jurosz.ro.vutbr.cz % mj41_ has joined #parrot % mj41_ is now known as mj41 % cognominal has joined #parrot % barney has left barney!~bernhard@p549A2486.dip0.t-ipconnect.de % cognominal has left cognominal!~cognomina@82.67.232.89 % MeGaMiC has joined #parrot % MeGaMiC has left MeGaMiC!~megamic@ppp59-167-56-85.lns1.cbr1.internode.on.net % Ademan has joined #parrot % cognominal has joined #parrot % clunker9__ has joined #parrot % clunker3 has left clunker3!~IRC@procura.xs4all.nl % iblechbot has joined #parrot is there any way to make a temp var in PAST without naming it? at the moment im using lexically scoped vars inside blocks but its terribly inefficient its a list/resizablepmcarray so i cant just nest it, because i need to push things onto it % Andy has joined #parrot % cognominal has left cognominal!~cognomina@82.67.232.89 http://rafb.net/p/1fmyug10.html thats my current action. its not great but i cant seem to think of how to fix it. i dont think PAST was really designed to work like this wow that site uses large tab indentation % Casan has joined #parrot % Andy has left Andy!~Andy@64.81.227.163 TiMBuS: what do you try to do? not sure, but if you want to create a list, you could use the parrot calling conventions for that check out how it's done in languages/squaak (and pynie does it too I think) well my current convention works fine it just creates a whole lotta useless subs which creates a whole lotta useless overhead when the language pretty much runs on lists ok. but you're trying to create a list object with values inside? yes [1 2 [3 4 +]] etc ok, then it's much easier to take advantage of the built-in calling conventions of parrot check out languages/squaak, and the creation of arrays. It's really easy and short and efficient, as it's implemented in C i did look at squaak's one but i only say it implement keyed arrays but [1 2 3 4] creates a list with [0] = 1, [1] = 2 etc, right? yes so, when creating a PAST for that, just create a PAST::Op( :pasttype('call'), :name('@some_array_constructor_pir_sub') ) and push the PAST nodes for 1, 2, 3 and 4 as children on that PAST::Op, so they're passed as arguments and the @some_array-constructor_pir_sub should take a :slurpy argument, which will be a ResizablePMCArray which you then just return (or if you want to convert it into soething different, do it there, and return that) % uniejo has left uniejo!~uniejo@langebro.adapt.dk wow, didnt even think of making a pir sub to do it for me neat huh? :-) % uniejo has joined #parrot there should be a 'makearray' method on array pmc's % barney has joined #parrot % AndyAway is now known as Andy % kj has left kj!~IceChat7@193.1.100.110 % cognominal has joined #parrot wow bernhard.schmalhofer@gmx.de | Plumhead: link: http://www.perlfoundation.org/parrot/index.cgi?plumhead so that worked way too easy now to turn pretty much the entire stack generation code into the same thing r28574 | bernhard++ | trunk: : [Plumhead] : Unskip the failing tests and mark them as TODO instead. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28574 % Whiteknight has joined #parrot % donaldh has joined #parrot r28575 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] update to trunk r28574 diff: http://www.parrotvm.org/svn/parrot/revision?rev=28575 % Zaba has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru Aigh. Left my notes regarding tcl on pct that I wrote on the plane in my bag again. * DietCoke wanted to get that email out to patrick today. % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru seen pmichaud? pmichaud was last seen on #parrot 2 days and 19 hours ago, saying: RakudoRuby? RakudoPHP? [Jun 17 12:12:23 2008] is there a way at the moment to -declare- code should be run before an existing invoke? I am expecting I'd need to inject some code into the beginning of my sub by hand. r28576 | bernhard++ | trunk: : [Plumhead (Pipit)] : Rename Plumhead.pg to grammar.pg as in most other PCT based languages diff: http://www.parrotvm.org/svn/parrot/revision?rev=28576 % jhorwitz has joined #parrot mdiep? mdiep is Matt Diephouse http://matt.diephouse.com/parrot or . % davidfetter has joined #parrot % uniejo has left uniejo!~uniejo@langebro.adapt.dk % clunker9__ is now known as clunker3 DietCoke, you can use an inline PIR node to write the code you want inserted, and when you process a subroutine make sure to push that in to the sub's node first % barney has left barney!~bernhard@p549A0162.dip0.t-ipconnect.de % Limbic_Region has joined #parrot % toddr has joined #parrot Whiteknight: well, I'm used to writing ONLY handrolled pir, so that sounds plausible. =-) Whiteknight: i was wondering more from the PIR level, though, not PCT. for example, given an existing entry in an namespace, can I say "whenever someone tries to invoke this, invoke this other thing first." function hooks DietCoke: i have code that resolves subs in interpolated namespaces before calling them. it's for rakudo, so it's PCT, but all the execution happens at runtime. it uses the method Whiteknight was talking about yes, but you need to build in that support at -compile- time, neh? which doesn't work for pre-existing subs. -> meeting DietCoke: right. re * jhorwitz waves at davidfetter % cjfields has joined #parrot what's new & good, jhorwitz ? my flight out of o'hare was on time yesterday. miracles can happen. so was mine. can't say the same about the one out of denver but my upgrades came through :) sweet yeah, they have nice seats % TiMBuS has left TiMBuS!~Hurf@123-243-167-27.static.tpgi.com.au % toddr has left toddr!d82f83e2@67.207.141.120 % toddr has joined #parrot % cosimo has left cosimo!~cosimo@pat-tdc.opera.com jhorwitz: I'll be in PHL tomorrow and sunday, and in KoP until the next Friday. Tene: oh yeah i'm putting up adam kennedy for a few nights. PHL.pm is likely having a dinner monday or tues night if you'd like to attend. I might. but i'm up for dinner/beer in KOP too. :) KOP? that's right in my back yard thank adam for the picture he took with my iphone. =-) adam kennedy? somebody said adam kennedy was Alias or ADAMK or http://search.cpan.org/~adamk/ Ah. blueberry? hmmm... blueberry is CanyonMAD's favorite pie. purl++ strawberry? i guess strawberry is a Perl for Windows that works just like Perl everywhere else. See http://win32.perl.org/wiki/index.php?title=Strawberry_Perl yeah, sometimes i forget to use his, um, alias. :) % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru I didn't know that was he. (until yapc) er, he was him? * DietCoke barbies, "Grammar is Haaaard". This might be an interesting trip. I found out on monday that I might suddenly not have a place to stay for tonight and tomorrow. LOL tene: uhoh. worst case, i have a second bed in the guest room. Eh, I think I have some relatives near there I can harass. Thanks for the offer. I'll keep it in mind. :) Oops, boardingnow. alias++ # my stupid perl app works on windows, it seems. % Zaba has joined #parrot generic pong * jhorwitz waves at pmichaud r28577 | pmichaud++ | trunk: : [rakudo]: : * Update spectest-progress.csv (65 files, 792 passing) diff: http://www.parrotvm.org/svn/parrot/revision?rev=28577 pmichaud: pong. Infinoid: you wrote an svn-bisect tool, right? % Patterner has left Patterner!~Psyche@e177229138.adsl.alicedsl.de yeah, I did ah, there it is. cpan was sucking for a moment. I've got some outstanding todos for that tool, should have a new release out this weekend if I can find a spare timeslice I'm updating my module (now that jerry's an author and someone is watching). wanted to make sure that I pointed to your module in the SEE ALSO. awesome. I will reciprocate, thanks for the reminder. DietCoke: got your message re: tcl on pct -- will be looking at it in detail in a bit (trying to catch up on messages from yesterday) wifi at iit was just about useless for me yesterday morning, and the rest of the day was mostly travel-related stuff. this morning I have $otherjob things to take care of :-| pmichaud: I got a couple of things done yesterday, just roles and types things plus a bit of refactoring to improve the code. That's breif summary. :-) jonathan: yes, I read the details and looked at the diffs already. Very impressive work. Hopefully, it's correct too. :) I'm very happy to see ::T implemented. most of what I saw looked quite sane (and cleaned up some cruftiness from before) so I'm pretty comfortable with these patches. % jq has left jq!~jquelin@merlin.mongueurs.net It's one of the many things leading to parametric roles. one question -- did the dynop really need to be a dynop? Could it have been a method? Got some of how to do that worked out. Other bits, I still need the "bingo" moment. Method on? I dunno It needs writing in C. methods can be written in C Yeah, I didn't know either, thus why it felt more op-ish. perhaps Class what's ::T? Hmmm. Maybe, but the point is that it's an operation on an object rather than a class - it's changing the object's class. I know that for many other things (e.g., "add_parent") we do them as methods, so I'm wondering why this one wouldn't fit that model. Zaba: sub foo(::T $x) { ... } # you can now use T in the sub anywhere you'd use a type, and it's same type as $x had I'm fine with the dynop -- I'm just thinking in terms of other similar features. ah, so like C++ templates? :> In that both provide ways to do parametric polymorphism, yes. (parametric polymorphism aka parameterized types aka generics...) I think the feature should ultimately reside in the Parrot core, and I have a feeling that it's easier to justify as a method than as an opcode. (but yes, the question of "method on what" still remains.) anyway, fantastic work. I am truly impressed. Knowing the object model guts kinda helped. ;-) yes, but also getting it into the actions.pm and other compiler components is also a significant part of it. * Zaba svn ups Yeah. It's was amongst the trickier stuff that I've put in. Parametric roles will be harder still, mind. parametric roles? (harder still) well, that's why I'm glad you're here. :-) role Foo[::TypeParam, ::Another] { ... } ah can classes be like that too? No, just roles. why not classes? because the spec doesn't say you can do it for classes so for each class that takes a parameter I will need to make a role? Well, you specify the parameters as you compose it into a class *marketing mode on* so implement it as an extension to the standard, so more people will use rakudo! *hides* "implement as extension" --> "create a module for" :-) Zaba: I don't really have a Good Answer to your question, right now - I'll think on it some. Of course, perl6-langauge is the best place for "why is Perl 6 the way it is" style questions. one nice thing about Perl 6 is that "embrace and extend" is a part of the language itself. :-) pmichaud, nono, it must be hardcoded, enforced and warned about if not used! *hides further* warn "OMG you didn't use parameteric polymorphism in your program you're doing it wrong n00b!" exactly :> pmichaud, yeah, it's a nice feature indeed but it can lead to confusion when overused.. well, it's "embrace and extend" with good boundaries. :-) it's like with perl5, I guess. Niceness of the code entirely depends on the coder :> somewhat, but perl6 has better fences. ("strong fences make good neighbors") it's harder to write obfuscated code in perl6 <_shane> If I am trying to get started helping with parrot, what exactly should I be doing? I'm very interested after attending yapc. _shane: are you interested more specifically in parrot or in perl 6? <_shane> More parrot. * jhorwitz was hoping for mod_parrot. :) heh <_shane> But whereever help is needed, I'd love to lend a hand. I'm thinking about a journal post on mod_lightning. That was still very cool. <_shane> The main thing I understood is you need tests writen? spread the hype, pmichaud. :) <_shane> That seems the most accessible for a newbie to the project? jhorwitz: are you attending yapc::eu? and if not, perhaps I could present mod_lightning there? no, i'm not at YAPC::EU perl 6 needs tests, yes. parrot can also use tests, definitely. _shane: what sort of C background do you have? you could present mod_lightning -- i have notes i made for myself so you can do it too. :) <_shane> pmichaud: I've coded a bunch of things in C, but never anything beyond a hash tree. It's not something I code with on a daily basis. _shane: I'd be interested in seeing someone pick up the new implementation of Parrot strings but my guess is that we should get you with chromatic, allison, particle, or DietCoke as far as where Parrot could use the most help right now oh! you could always search the RT queue for tickets (especially those marked "[CAGE]") that's also a good place to get started <_shane> OK. * Zaba has more C++ experience than C % donaldh has left donaldh!~chatzilla@proxy-sjc-2.cisco.com * Zaba wrote a few patches to one C++ program :> the [CAGE] tickets are parrot cleanup efforts -- places where we know that the code needs some improvement but no real functional change. <_shane> That sounds like my style. It's a good way to get to know the codebase. <_shane> Yeah. Yes. NotFound++ started by doing some cleanups and has been submitting some very useful/important improvements to Parrot Indeed. I'd be very happy to see more of that. :-) OK, time for me to go study some Slovak, eat dinner and watch soccer. afk for a while. % jq has joined #parrot DietCoke: Perhaps a good FAQ: "I'd like to contribute to Parrot. Where should I start?" % Patterner has joined #parrot % iblechbot has left iblechbot!~iblechbot@163.4-dial.augustakom.net pmichaud: i will send you my notes and the apache configs for mod_lightning mmm...lightning :d btw, where are we supposed to send slides from yapc::na? you can link to them from the wiki * jhorwitz still needs to convert to PDF or do a slideshare jhorwitz++ % jjore is now known as zz_jjore % zz_jjore is now known as jjore * DietCoke ~~ at jeff. pmichaud: added to my todo list. pmichaud: do my tcl ramblings look sane to you? what I've read thus far, yes. I need to read them more closely for comprhension, though. * jhorwitz ~~ back hokay. DietCoke: flight ok? anybody here have an "in" with OSDC/Syndey? http://www.confz.com/index.php/au/2008 * davidfetter looking to exert undue influence ;) % cotto_yapc has joined #parrot * davidfetter waves to cotto_yapc * cotto_yapc waves back % cotto_yapc is now known as cotto_home jhorwitz: I got there insanely early, had to throw out some toiletries to check in, but fine. cool % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % paco has left paco!~chatzilla@139.Red-80-36-122.staticIP.rima-tde.net r28578 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] rearrange sweep phase to be more incremental, update related flags, macros, and functions diff: http://www.parrotvm.org/svn/parrot/revision?rev=28578 % paco has joined #parrot r28579 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] fix a few bugs, including some I just created. Refactor some code, and fill in some basic increment rules. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28579 % iblechbot has joined #parrot % masak has joined #parrot % Ivatar has joined #parrot r28580 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] a few more small fixes, comments, move header stuff into the header. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28580 % peepsalot has joined #parrot % Zaba has joined #parrot % rdice has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % peepsalot has left peepsalot!~peepsalot@bwext.kpimdp.com r28581 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] Fix all function declarations to be headerizer-approved, add function prototypes as created by headerizer. Misc cleanup diff: http://www.parrotvm.org/svn/parrot/revision?rev=28581 r28582 | coke++ | tcl_pct: : Simple rename of language shell's 'say' to 'puts' diff: http://www.parrotvm.org/svn/parrot/revision?rev=28582 % contingencyplan has left contingencyplan!~contingen@cpe-76-186-27-146.tx.res.rr.com % cjfields has left cjfields!~cjfields@cjfields.igb.uiuc.edu r28583 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] Adding a suspiciously missing file that was killing my manifest check in configure. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28583 re warn "para poly": "but, but, sure i used parametric polymorphism! look, '3 + 4'!" r28584 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] update MANIFEST to include the new files I've added diff: http://www.parrotvm.org/svn/parrot/revision?rev=28584 % cotto_home has left cotto_home!~cotto@96-26-202-243.sea.clearwire-dns.net % cognominal has left cognominal!~cognomina@82.67.232.89 % cognominal has joined #parrot % japhb has left japhb!~geoff@76-191-190-8.dsl.static.sonic.net morning everyone r28585 | japhb++ | trunk: : [OpenGL] shapes.pir: Temporary fix for broken OpenGLs : * For now, don't enable GL_POINT_SMOOTH, because it's broken on many systems diff: http://www.parrotvm.org/svn/parrot/revision?rev=28585 % toddr has left toddr!d82f83e2@67.207.141.120 seen pmichaud pmichaud was last seen on #parrot 3 hours and 26 minutes ago, saying: what I've read thus far, yes. I need to read them more closely for comprhension, though. % rdice has left rdice!~richarddi@CPE001ff33cb98b-CM00159a01d44c.cpe.net.cable.rogers.com % ruoso has left ruoso!~ruoso@201.45.49.162 % japhb has joined #parrot % slightlyoff has joined #parrot % donaldh has joined #parrot donaldh: While I've got you here ... can you test the regenerated version of your OpenGL / cygwin patch that I attached to RT #55978? ( http://rt.perl.org/rt3/Ticket/Display.html?id=55978 ) The one dated June 18 sure thanks japhb: I'm just reinstalling cygwin, so give me 5 mins np % grim_fandango has joined #parrot % pjcj has left pjcj!~pjcj@84-73-177-217.dclient.hispeed.ch % pjcj has joined #parrot % masak has left masak!~user@130.238.45.242 % slightlyoff has left #parrot % Andy has left Andy!~AndyL@host3130.follett.com % teknomunk has joined #parrot japhb: sorry, I can't resolve a link problem I have on Vista. japhb: I've been chasing a glut link problem for a while. It's not specific to parrot/opengl japhb: I can't verify the patch here. I have cygwin on Windows XP at work, but am off for a week now. % kid51 has joined #parrot % donaldh has left donaldh!~chatzilla@host213-123-171-12.in-addr.btopenworld.com % iblechbot has left iblechbot!~iblechbot@77.16-dial.augustakom.net r28586 | jkeenan++ | trunk: : Test 157 does not need to be TODO-ed as it has a 'skip:' trailer in t/op/sprintf_tests. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28586 % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % Ivatar has left Ivatar!~graham@tu055.demon.co.uk % Whiteknight has joined #parrot r28587 | jkeenan++ | trunk: : Improve POD formatting. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28587 % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % jhorwitz has left jhorwitz!~chatzilla@96.245.16.45 % TiMBuS has joined #parrot % bacek_ has joined #parrot % japhb has left japhb!~geoff@208.201.228.107 % toddr has joined #parrot % AndyA has left AndyA!~andy@82.152.157.85 % Whiteknight has joined #parrot % davidfetter has left davidfetter!~davidfett@start.fetter.org % AndyA has joined #parrot % davidfetter has joined #parrot % bacek_ has left bacek_!~bacek@pa58-109-187-28.pa.nsw.optusnet.com.au % japhb has joined #parrot % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net * DietCoke works on binary search, version 0.2 sadly, it's blocking on a bug in Iterator atm. =-) % kid51 has left kid51!~jkeen@68.237.11.250 % Whiteknight has joined #parrot % Auzon has joined #parrot % toddr has left toddr!412ad086@67.207.141.120 % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % Whiteknight has joined #parrot % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % kid51 has joined #parrot % cotto_yapc has joined #parrot grumble. Perl::Critic latest doesn't like how we're using it. % tetragon has joined #parrot % gmansi has left gmansi!~gmansi@190.55.35.246 % kid51 has left kid51!~jkeen@68.237.11.250 % Zaba has joined #parrot % kid51 has joined #parrot % kid51 has left #parrot % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % kid51 has joined #parrot DietCoke: Yes. I just upgraded and got a message to the effect that there were no standards in force. % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru "kid51" at 71.247.46.29 pasted "Perl::Critic our $VERSION = '1.086': "There are no enabled policies"" (14 lines) at http://nopaste.snit.ch/13332 % Andy has joined #parrot % Andy has left Andy!~Andy@64.81.227.163 message => 'There are no enabled policies.', Sorry, I've never seen => before. yup. sent a list to the P::C mailing list with a diagnosis and asking what they'd recommend. I suspect "completely redo your test this way" will be the answer. just hoping they can save me some effort on the rewrite. gnite, jim -> zzz r28588 | pmichaud++ | trunk: : [rakudo]: : * Update tools/test_summary.pl to summarize skipped tests. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28588 r28589 | chromatic++ | trunk: : [IMCC] Cleaned up SymReg handling in IMCC, partially: : - removed some unused and duplicate functions : - tidied the code : - added some function documentation diff: http://www.parrotvm.org/svn/parrot/revision?rev=28589 % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % kid51 has left kid51!~jkeen@pool-71-247-46-29.nycmny.east.verizon.net r28590 | jkeenan++ | trunk: : Number of tests in SKIP block should have been 3, not 2. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28590 rakudo: my ($a, $b); $a=42; say $a wrong window. Scope not found for PAST::Var '$a' bacek: that works here with the name 'perl6:' Tene, thanks perl6: my ($a, $b); $a=42; say $a OUTPUT[Scope not found for PAST::Var '$a'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 156 (src/PCT/HLLCompiler.pir:103)␤called from Sub 'parrot;PAST::Compiler;post_children' pc 1692 (src/PAST/Compiler.pir:364)␤called from Sub 'parrot;PAST::Compiler;call' pc 3067 ..(src/PAST/Compiler.pir:823)␤called from Sub 'parrot;PAST::Compiler;post_chil... (infix:,)-- There's also perl6.parse:, perl6.past:, perl6.pir:, and perl6.paste: perl6.paste? sends output ot pastebin instead of here. perl6.paste: for 1..1000 { say $_ } "polyglotbot" at 193.200.132.146 pasted "perl6 paste" (1000 lines) at http://nopaste.snit.ch/13333 Tene, ok. Thanks again :) perl6.past: my ($a, $b); "polyglotbot" at 193.200.132.146 pasted "perl6 past paste" (64 lines) at http://nopaste.snit.ch/13334 Tene: Can you make aliases for the language names that polyglotbot recognizes? So rakudo := perl6, plumhead := php, and so on? That will tend to DWIM instead of have people wondering which is the right thing to use ... Any cygwin users around? Right now it just uses the names in languages/ because that reduced my typing. I doubt I'll actually get around to fixing that in the near future, but it's on feather3 if you want to change it yourself. * japhb once had feather access, but cannot for the life of him remember username/password there It's been a year and a half since I used it, I think. japhb: I can reset your password on feather(1), but not feather3 Just harass Juerd to set up an account for you on feather3. diakopter: yes, would you mind resetting me? I may be japhb or geoffb or just geoff, I don't remember. r28591 | chromatic++ | trunk: : [src] Fixed a memory leak; I forgot to free the const string cache previously. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28591 I need to get around to putting a password safe on a thumb drive somewhere .... how about japhy japhy is engaged. diakopter: nope, that's not me. The one variant that isn't. nope, geoffb yeah Juerd: Can I get my feather account copied to feather3, so that I can help Tene with polyglotbot? Tene has sudo access on feather3; he can create an acct for you there :P Oh, I have sudo, I could give you... yeah, that. I'll do that now. heh thx what username? username is the first entry? Tene: how about 'japhb' ? Juerd: I just set up an account for japhb and gave him sudo access. Tell me if that was inappropriate. japhb: it's in my home directory, currently running inside a screen session. OK, fair enough * japhb is a big fan of screen oh, that's interesting hm? I can't take your screen, because you don't have permission to affect my tty ... yeah just chmod your tty or setfacl it, if that filesystem has acls ah, no setfacl. It's an old debian box, I doubt it's running ACLs unless Juerd did it manually yeah, looks like chmod to the rescue! % Andy has joined #parrot * japhb going crazy without 'less' Word to the wise -- do not use 'more' on pbot's TODO while inside a screen ... ==> locked window, ctrl-A K required perl6: my $a; my $a; $a=42; say $a; OUTPUT[42␤] yak... Yay, the Unicode newline character Dunno why, but I've never been able to see that one. I'm mildly curious which Debian font has it, if anyone knows ... I'm not certain which fonts in Debian have that range, but one of the fonts on my box with SYMBOL FOR NEWLINE is "Arial Unicode MS" Do you have it in any fixed-width (and preferably programmer-friendly) fonts? Christoph Otto | Plumhead: link: http://www.perlfoundation.org/parrot/index.cgi?plumhead I'm not certain about how well Monaco would work And then there's also the ugly "Ming(for ISO10646)" that I was using for xelatex/Template::Latex trials japhb, 'Monospace' bacek, doesn't seem to work for me Is your client set up for Unicode? japhb, strange. Works for me in xchat. tetragon: It's xchat-gnome. Should work. bacek: hmmm, I wonder if Monospace is just a symlink ... japhb: With xchat aqua I had to set a preference before it would $ fc-match Monospace Courier_New.ttf: "Courier New" "Normal" heh japhb: I had to set the server character set VeraMono.ttf: "Bitstream Vera Sans Mono" "Roman" ... and that would be the problem, I guess tetragon: hmmm japhb: The Aqua port at the very least doesn't default to UTF-8 tetragon: nod. I'm looking around for something obvious Christoph Otto | plumhead_renaming: link: http://www.perlfoundation.org/parrot/index.cgi?plumhead_renaming dalek's url is at http://xrl.us/d2gpk tetragon: found it; it was already set to UTF-8 msg barney Take a look at http://www.perlfoundation.org/parrot/index.cgi?plumhead_renaming when you have a minute or two. Message for barney stored. cotto_yapc's url is at http://xrl.us/d2gpk msg fperrad Take a look at http://www.perlfoundation.org/parrot/index.cgi?plumhead_renaming when you have a minute or two. Sorry, I've never seen fperrad before. cotto_yapc's url is at http://xrl.us/d2gpk yes you have % cotto_yapc is now known as cotto_home % japhb has left japhb!~geoff@76-191-190-8.dsl.static.sonic.net % japhb has joined #parrot ␤ % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % tetragon has left tetragon!~seneca@76-10-148-120.dsl.teksavvy.com perl6: my ($a,$b); my(1,2); OUTPUT[Scope not found for PAST::Var '$a'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 156 (src/PCT/HLLCompiler.pir:103)␤called from Sub 'parrot;PAST::Compiler;post_children' pc 1692 (src/PAST/Compiler.pir:364)␤called from Sub 'parrot;PAST::Compiler;call' pc 3067 ..(src/PAST/Compiler.pir:823)␤called from Sub 'parrot;PAST::Compiler;post_chil... perl6: my ($a,$b); say 'hey' OUTPUT[Scope not found for PAST::Var '$a'␤current instr.: 'parrot;PCT::HLLCompiler;panic' pc 156 (src/PCT/HLLCompiler.pir:103)␤called from Sub 'parrot;PAST::Compiler;post_children' pc 1692 (src/PAST/Compiler.pir:364)␤called from Sub 'parrot;PAST::Compiler;call' pc 3067 ..(src/PAST/Compiler.pir:823)␤called from Sub 'parrot;PAST::Compiler;post_chil... % mateo319 has joined #parrot % mateo319 has left mateo319!~mateo319@cpe-71-72-83-99.columbus.res.rr.com % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167932960.dsl.bell.ca er: make: *** No rule to make target `src/pmc/version.pmc', needed by `src/pmc/version.dump'. Stop. % Andy has left Andy!~Andy@64.81.227.163 % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@f054002223.adsl.alicedsl.de % Psyche^ is now known as Patterner okay, make didn't care on attempt 2 but this is interesting perl6: my $a = 'foo'; $a.say; OUTPUT[foo␤] perl6: $_ = 'foo'; $_.say; OUTPUT[too few arguments passed (0) - 1 params expected␤current instr.: '_block11' pc 0 (EVAL_7:3)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub ..'parrot;PCT::HLLCompiler;command_line' pc 1267 (src/PCT/HL... $_ only work within loops so far? perl6: say ~(1..10).grep({$_ % 2}) OUTPUT[Method 'grep' not found for invocant of class 'Range'␤current instr.: '_block11' pc 63 (EVAL_14:25)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub ..'parrot;PCT::HLLCompiler;command_line' pc 1267 (sr... perl6: say ~<1..10>.grep({$_ % 2}) OUTPUT[Method 'grep' not found for invocant of class 'Perl6Str'␤current instr.: '_block11' pc 45 (EVAL_12:22)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub ..'parrot;PCT::HLLCompiler;command_line' pc 1267 ... perl6: say ~(<1..10>).grep({$_ % 2}) OUTPUT[Method 'grep' not found for invocant of class 'Perl6Str'␤current instr.: '_block11' pc 45 (EVAL_12:22)␤called from Sub 'parrot;PCT::HLLCompiler;eval' pc 806 (src/PCT/HLLCompiler.pir:469)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 (src/PCT/HLLCompiler.pir:598)␤called from Sub ..'parrot;PCT::HLLCompiler;command_line' pc 1267 ... perl6: say ~grep {$_ % 2}, 1..10; OUTPUT[1 3 5 7 9␤] but it is not '$_' is it faked as $^_? wow that was some line noise perl6: say ~grep {$^_ % 2}, 1..10; OUTPUT[1 3 5 7 9␤] Eevee, looks like... haha, that's so gross okay % Zaba has joined #parrot % zarchne has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru Juerd: ping % davidfetter has left davidfetter!~davidfett@start.fetter.org msg Juerd Do you have any objections to apt installs on feather3 -- like, for instance, 'less'? Message for juerd stored.