% verve has joined #parrot r29548 | allison++ | pdd25cx: : [pdd25cx] Disabling the graph coloring register allocator, which is incorrectly : ignoring 'local_branch' and 'local_return'. See RT #57028. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29548 r29549 | cotto++ | trunk: : [pmc] strerror strings don't need to be freed; remove comment questioning this : as part of RT#46679 diff: http://www.parrotvm.org/svn/parrot/revision?rev=29549 % iblechbot has joined #parrot r29550 | chromatic++ | pdd25cx: : [src] Ported merged code to use new exception throwing functions. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29550 what's the syntax to concatenate strings in pir? cotto_home: $S0 = concat $S1, $S2 thanks. % uniejo has left uniejo!~uniejo@193.88.64.250 % lafille has joined #parrot % lafille has left lafille!~lafille@ANantes-257-1-8-146.w90-31.abo.wanadoo.fr r29551 | cotto++ | trunk: : [pmc] add error condition tests to t/pmc/file.t to increase code coverage : and make testing #46681 more reliable diff: http://www.parrotvm.org/svn/parrot/revision?rev=29551 % tuxdna has joined #parrot % lauanana has joined #parrot r29552 | allison++ | pdd25cx: : [pdd25cx] Skipping two tests instead of TODOing them. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29552 % lauanana has left lauanana!~lauanana@ANantes-257-1-8-146.w90-31.abo.wanadoo.fr % barney has joined #parrot % Whiteknight has joined #parrot % bacek has left bacek!~bacek@mcas-151.usr.optusnet.com.au % Debolaz has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % uniejo has joined #parrot % iblechbot has left iblechbot!~iblechbot@ppp-62-216-196-88.dynamic.mnet-online.de % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % TiMBuS has joined #parrot % ruoso has left ruoso!~ruoso@201009026237.user.veloxzone.com.br % kid51 has joined #parrot r29553 | jkeenan++ | trunk: : When subs complete successfully, explicitly return 1. Change documentation to : reflect this. Cf.: RT 57026. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29553 kid51++ % TiMBuS has left TiMBuS!~Hurf@123-243-167-27.static.tpgi.com.au % TiMBuS has joined #parrot % barney has left barney!~bernhard@p549A3252.dip0.t-ipconnect.de % tewk has joined #parrot % tewk_ has left tewk_!~tewk@ekstrom.org % ruoso has joined #parrot % s1n has left s1n!~s1n@75-16-180-101.lightspeed.allntx.sbcglobal.net % Whiteknight has joined #parrot % iblechbot has joined #parrot % s1n has joined #parrot % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % bacek has joined #parrot g'localtime good bacek-time ;-) moritz: It's always a good time for a beer in Australia :) what should I say? I'm in Bavaria ;-) ho-ho-ho! :) pmichaud: around? perl6.pir: multi sub log ( $x, :$base ) { log($x) / log($base); }; 1; "polyglotbot" at 193.200.132.146 pasted "perl6 pir paste" (115 lines) at http://nopaste.snit.ch/13599 message pmichaud I resurrected patch from #49173, but it doesn't help to because of :immediate block after compiling .pm to .pir (as in http://nopaste.snit.ch/13599). I've got something like 'Cant find List' during compilation to PBC Sorry, I've never seen pmichaud before. stupid bot... Stupid human. WOW % kj has joined #parrot % tuxdna has left tuxdna!~tuxdna@122.163.251.219 % bacek has left bacek!~bacek@pa58-111-24-27.pa.nsw.optusnet.com.au % kid51 has left kid51!~jkeen@pool-71-247-43-146.nycmny.east.verizon.net % rurban_ has joined #parrot % rurban has left rurban!~chatzilla@212-183-50-205.adsl.highway.telekom.at % rurban_ is now known as rurban % gmansi has left gmansi!~gmansi@190.55.35.246 % barney has joined #parrot % gryphon__ has joined #parrot % gmansi has joined #parrot generic pong role Pong[::T] { ... } :) jonathan: bacek brings up a good point -- using :immediate may be difficult if the types aren't defined yet in fact, as it stands now, I think I'll be completely blocked on getting precompiled modules to work if we have to use :immediate (unless we can make sure that :immediate doesn't require the p6 types.) ack % gmansi has left gmansi!~gmansi@190.55.35.246 r29554 | bernhard++ | trunk: : [docs] news about removal of opcode 'getfd' diff: http://www.parrotvm.org/svn/parrot/revision?rev=29554 pmichaud: I think we just need to make sure that perl6.pbc is loaded at the time we try to run the :immediate's. so everything we produce has an ":immediate" to load perl6.pbc if needed? Which means doing the load_bytecode in a :immediate rather than a :load :init? I *still* feel like this is the wrong approach. We must load it somewhere when we spit out PIR to compile, I think? I'm busy with other stuff. We'll talk tomorrow, when I can focus on Rakudo. we must load it somewhere, yes, but loading it as part of :immediate is a far different beastie to me than loading it at runtime yes, we can talk tomorrow FWIW, the :immediate's can become :load :init. Once the :outer with :load :init is fixed okay, then I don't have an issue with that. (Except I was hoping to have precompiled modules before OSCON.) (as in, pdd25cx is merged) Ah, hmm. could I disable :immediate until after the pdd25cx merge? precompiled modules is _way_ important Basically what's in the :immediate just needs to get hold of the sub that it is to apply the props to, and it does that now by finding it as it's :outer We don't have to have it that way. okay. I won't be doing anything much on it until tomorrow anyway, so let's wait until tomorrow I'll even get up a bit early if I can If we can re-work it to attach the properties to the correct sub in any other way, that will work too. ok, sounds good :-) % nq has joined #parrot moritz: ping % MaW has joined #parrot r29555 | coke++ | trunk: : use more 'vague'; # release number not entirely certain yet. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29555 % Debolaz has left Debolaz!~root@195.159.114.206 % jhorwitz has joined #parrot % TiMBuS has left TiMBuS!~Hurf@123-243-167-27.static.tpgi.com.au % Andy has joined #parrot % gmansi has joined #parrot Is it possible to use threads in Parrot yet? I think that's part of the concurrency implementation, about to be merged into trunk. (Or perhaps the thing to be merged is just prerequisite for that.) % parrot-poke has joined #parrot I'll keep an eye on that then, I've got a potential use for Parrot in mind but it's going to need threads. How are malloc'd strings used in exceptions free'd? Or are they? % Limbic_Region has joined #parrot they aren't part of the normal gc? c strings, not Parrot STRINGs. pmichaud - mail received? I don't know then. cotto_home: re #46681: ENOPATCH l_r: I wasn't here yesterday so I haven't seen yesterday's mail. I expect it will likely come in today's mail. particle, I was referring to the earlier patch in that thread my mistake for not making that clear http://rt.perl.org/rt3/Ticket/Attachment/323062/143836/strerror_3.patch But our regional post office can be very slow at times. I've tracked packages that came in from Oregon to the regional post office in 12 hours, and then sat in that post office for twelve days before finally being delivered to me. pmichaud - please let me know - I get paranoid - like people who can't go to sleep without making sure they shut off the stove, I always think somehow that I forgot to put stamps on letters or something r29556 | julianalbo++ | trunk: : rename make target installable_pdb to installable_parrot_debugger diff: http://www.parrotvm.org/svn/parrot/revision?rev=29556 l_r: as soon as it arrives I'll send email. thanks oh, and remind me not to send you cookies of course, if it doesn't arrive today or tomorrow then I won't get it until next friday. 12 day old cookies would be bad most things do get here in a reasonable time frame, though :-) a letter from here to there should day 2 or 3 days - no more correct. I expect it today or tomorrow. pmichaud: pong 2.5 weeks from Spain to Oregon was not that bad after all, then. % nq has left nq!~user@77.as-24.nienschanz.ru moritz: I wasn't quite ready to apply the Str.trans patch yet -- I wanted to review it a bit more. (more) moritz: but in that particular case it had been sitting for a while in the queue, so it's probably okay to have applied it pmichaud: ok; next time maybe just add a note "will review later" to the ticket okay in the case of patches that add new significant features, it might be better to wait until I approve/review the patch (more) it's okay to ping me frequently to make sure I do that allright in the longer term it'll be less important for me to review, but we're still getting basics in place in a few areas speaking of which, there's a patch from bacek in the queue that refactors duplicate codo out (junction stuff) is real_exception smart enough to deal with Parrot strings? pmichaud: have you had a chance yet to look at it? yes. I don't know why we have those in the code in the first place. the functions that are there should be automatically handled by the dispatch mechanism -- we shouldn't have to write them again separately. (perhaps we chose to implement them for now until autothreading is implemented) but in truth they really should all be going away looks like it was cargo-culted from kp6, which handled junctions that way meh. It looks like not. I'll reply to the ticket cotto_home: no, real_exception is not smart :( okay, particle. r29557 | bernhard++ | trunk: : [Pipp] Clarify string docs on top of quote_expression.pir. : Add three tests for octal and hex escapes, including a todo test for "ABC \501\502\503" diff: http://www.parrotvm.org/svn/parrot/revision?rev=29557 purl: i'm not talking to you particle: sorry... reply to ticket #56630 sent. I left it open in case there are further replies, though. ok % MaW has left #parrot r29558 | bernhard++ | trunk: : [Pipp] Add two TODO tests, where octal and hex escapes are followed by digits. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29558 I'm not becoming a fan of strerror_r. % uniejo has left uniejo!~uniejo@193.88.64.250 time to do what I do best and put it off until later can i help you with that? i'm good at it, too I'd help but I don't feel like doing it now. % barney has left barney!~bernhard@p549A3252.dip0.t-ipconnect.de particle, sure. Everyone can put it off! procrastination is highly parallelizable noop -j % wknight8111 has joined #parrot % wknight8111 has left wknight8111!~chatzilla@66.252.102.37 % gryphon__ has left gryphon__!~gryphon@dsl-209-221-185-54.zipcon.net % jan has left jan!~chatzilla@89-253-66-101.customers.ownit.se r29559 | coke++ | pdd25cx: : [tcl] - update implementation of tcl ops in this branch to be more like 'die' diff: http://www.parrotvm.org/svn/parrot/revision?rev=29559 % braceta has joined #parrot % braceta has left braceta!~Braceta@83.240.229.38 % gryphon__ has joined #parrot % Limbic_Region has left Limbic_Region!www-data@feather.perl6.nl % gmansi has left gmansi!~gmansi@190.55.35.246 % wknight8111 has joined #parrot % Andy has left Andy!~AndyL@host3130.follett.com % Nebster has joined #parrot Hey, I have a question about pir. I couldn't find the answer in the docs I've got a .sub which I wish to return multiple values how do I go about it? % Theory has joined #parrot would it be .return($return1, $return2, $return3)? And how would I get it from bit calling the sub? Sorry, it was in the docs, I found it! How? .return($return1, $return2, $return3) ? ($I0, $I1, $I99) = foo(7, 8, "nine") I just emailed the bug system about it, but I'll say it here too: the error+segfault thing I found yesterday is because of the move from Bool.pir to enums.pir .sub foo .return( 10, 11, 12 ) .end ah, of course didn't see the subs folder! bug #57014, that is % masak has left masak!~user@130.238.45.242 masak++ # bisecting btw, the win32 package doesn't work properly. It quits with Can't read 'D:/fperrad/Parrot/trunk/runtime/parrot/include/config.fpmc': Is a directory for the pbc_to_exe.exe that is And it doesn't automatically load the runtimes error:imcc:No such file or directory in file 'C:\Parrot\share\doc\parrot\httpd.pir' line 94 ¿doc? That was part of the examples but I moved it there because I compiled the html docs and placed them there. It didn't work in the original location either davidfetter, sent cotto_work, thanks :) Who is supposeed to update the parrotcode.org website for 0.6.4? Nebster: I think that the problem may be that handling windows absolute paths is not working yet. you're welcome. It only took three false starts. one other thing though, I compiled it myself and it works fine Just the one on the website doesn't work And where did that D:\... path come from? Also, is there a way to convert from Perl5 to Perl6? Looks like the package need some revision. Nebster: Sure Cos my code comes up with a few errors, some I fix with adding to brackets to stuff like shift; Is there an easy way? one thing that I couldn't figure out how to fix was: my $listener = IO::Socket::INET->new(LocalAddr => DEFAULT_PROXYADDR, LocalPort => DEFAULT_PROXYPORT, Listen => 200, Proto => "tcp", Those black boxes are tabs Nebster; I've documented the P5-6 ways at http://www.perlfoundation.org/perl5/index.cgi?optree_guts#example Thanks I'd need some legal advise about http://www.perlfoundation.org/contributor_license_agreement My employer does not let me work during work hours for perl, so I do it enterily afterwards. So I won't get my emplyoyers agreement, which is not needed. which country do you live in? Austria, Graz I do it with my own private equipment. Maybe I should add this to this document somewhere. perhaps send your question to the list first, because the people that ar good with these questions (chromatic, allison iirc) aren't on IRC all that often but I doubt that they know very much about austrian IP laws My last employer was an open source house. There I got all the papers. Now I'm working in a Windows-only house... Ok, I'll ask the list rurban, you can also ask at the next #parrotsketch, although it won't be until a week from next Tuesday because of OSCON Do you know what this will convert to? print LOG sprintf("%s%s", @_, CRLF); perl5 to perl6? rumour has it perl5 to perl6 is not is not? Is too. rurban: if your employer owns your IP for every moment of your employment, it may be a problem Nebster: ignore that stupid bot ;-) ok, lol if they don't care what you do during your off hours as long as it doesn't compete with their business, then you're ok what's CRLF in perl5? purl: forget perl5 to perl6 moritz: I forgot perl5 to perl6 CRLF is a constant My constant use constant use constant is, like, my friend { DEFAULT_LOGFILE => "&STDOUT", DEFAULT_LOGLEVEL => 2, DEFAULT_PROXYADDR => "localhost", your sprintf looks like you'd actually need join() or something similar or simple string concatenation but there's also an sprintf() in Perl 6 (iirc) I thought that was the point of sprintf? Join strings and convert integers to string/etc dietcoke or chromatic or allison have the ability to update parrotcode.org to point to the new release % rurban has left rurban!~chatzilla@212-183-58-212.adsl.highway.telekom.at % rurban has joined #parrot Nebster: $a . $b (in Perl 5) and $a ~ $b (in Perl 6) also join string, and automatically convert them to strings first if they aren't yet so like: print LOG @_ ~ CRLF; That doesn't work either Statement not terminated properly at line 69, near "@_ ~ CRLF;" you're mixing Perl 5 and Perl 6 Am I? What with? print LOG @_, CRLF; # perl 5 $LOG.print: @_, CRLF; # perl 6 Oh, thanks Would it be: LOG.print: @_, CRLF; or have a $ there? With the $ It's opened like: open LOG, ">".DEFAULT_LOGFILE or printf("Couldn't open log%s", CRLF); in perl 6 you wouldn't use a bareword file handle Oooh, a lot more for me to change then But it seems to work like I put it? but you can also use file handles with sigils in perl 5 (and it's recommend, in fact) it may parse, but it shouldn't run afk Ok, how do I declare it cos it's global Ok, sorry, knew how to do that Are threads implemented? in parrot? i guess in parrot is false. yeah, perl6 bit I've got: threads->new(\&HandleClient, $client)->detach; not yet threads will work in parrot this weekend Ok, changed to single-threaded That's great :) % rurban has left rurban!~chatzilla@212-183-58-212.adsl.highway.telekom.at but perl 6 thinks about concurrency a little differently that perl 5 concurrency? i guess concurrency is a bitch If +purl is a bot, why is he still here and not been banned? How come shift; needs to be shift();? % jan has joined #parrot purl is a pet botsnack thanks cotto_work :) * Infinoid pats purl don't mess with me % iblechbot has left iblechbot!~iblechbot@ppp-62-216-204-153.dynamic.mnet-online.de haha, lol So how come shift; needs to be shift();? % sjansen has joined #parrot This line causes an error too: select((select($Client), $| = 1)[0]); # Disable Buffering at the , % rurban has joined #parrot % rurban has left rurban!~chatzilla@212-183-58-212.adsl.highway.telekom.at % rurban has joined #parrot Has $| changed between versions? yes, there is no $| in perl 6 % cjfields has joined #parrot What do you use instead to disable buffering? i want to point you to the perl 6 synopses, but the site i use is down Where woud that be for future reference? ah, this is up, though: http://dev.perl.org/perl6/doc/synopsis.html http://spec.pugscode.org % rurban has left rurban!~chatzilla@212-183-58-212.adsl.highway.telekom.at % rurban has joined #parrot concurrency, Nebster, to answer your question comes in various flavors other than threads and perl6 is designed to have the capacity to be used for most known forms of concurrency, though all that seems a bit soft at the moment (disclaimer: I'm just an observer of all this) Nebster: you'll get better answers to perl 6 language questions on irc.freenode.net#perl6 Ok, thanks parrot-0.6.4 is released, but the web page link is still at 0.6.3 ... is there direct way to get it? % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot parrot-poke, http://search.cpan.org/~bschmal/parrot-0.6.4/ % Andy has joined #parrot % DietCoke has joined #parrot % cjfields has left cjfields!~cjfields@newrad.igb.uiuc.edu web site updated. I was getting false negatives on the CPAN download which is why I'd held off. Once I figured out the issue, whee. particle: thanks for the irc ping reminder. * DietCoke vanishes again. % DietCoke has left DietCoke!~coke@cpe-72-228-52-192.nycap.res.rr.com % Andy has left Andy!~Andy@host1100.follett.com % Theory has left Theory!~Theory@c-67-160-131-113.hsd1.or.comcast.net % cjfields has joined #parrot % iblechbot has joined #parrot % Khisanth has left Khisanth!~Khisanth@pool-151-205-125-14.ny325.east.verizon.net % Khisanth has joined #parrot % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % silug has left silug!~steve@ppp-70-225-32-179.dsl.covlil.ameritech.net % slightlyoff has joined #parrot % slightlyoff has left #parrot % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl Hey again, how would I go about converting .Net to PIR There's been a project to run .Net bytecode on parrot, but I haven't seen it maintained in quite a while. I believe that converter went from .Net bytecode to Parrot Bytecode, I dont think it translated to PIR Translates .Net bytecode to PIR. SHown in: http://www.parrotcode.org/languages/ http://www.parrotcode.org/languages/ is empty purl: forget http://www.parrotcode.org/languages/ Tene: I forgot http://www.parrotcode.org/languages/ 0.4.15? does it even still run? Dunno, how do I test? ambigious is correct english? I'm gonna build it and run 'make test' Yay, lots of test failures! a few test successes, though! failed 24/43 haha, guess it's very old then I would love it if it works cos most my code is in .net languages and I'd love to change the language Oh well, guess it won't work :P Did you just run make dotnet? nope % rlb3 has left rlb3!~robert@ng1.cptxoffice.net How did you do it? cd languages/dotnet ; perl Configure.pl ; make oh, much simpler :) % rlb3 has joined #parrot sort of :S or cd languages ; dotnet erm cd languages ; make dotnet ok, thanks % Zaba has joined #parrot % Theory has joined #parrot Is it better to get the latest SVN version than the releases for personal use? Not dev % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru Nebster: depends on what you plan to use it for and how active you want to be about following the changes. If I notice a bug that affects me, I will update instantly otherwise every 1 or 2 weeks Usage, whenever I need to code something :P Nebster: also, depending on what you're working with, there might be updates that would affect you. Look at the NEWS for the past few releases to see the amount of changes in a month. Yeah, I've seen, lots Whenever I update, do I have to do a make clean; svn update; make 'make realclean' is your friend thanks So would I run "perl Configure.pl --without-icu --profile=gcc" or is there a better one to use? with icu is better if you have icu installed ;-) IMHO perl6: say uc("Ä") OUTPUT[Malformed UTF-8 string␤current instr.: 'parrot;PCT::HLLCompiler;evalfiles' pc -6078 ((unknown file):-1)␤called from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1070 (src/PCT/HLLCompiler.pir:605)␤called from Sub 'parrot;PCT::HLLCompiler;command_line' pc 1267 ..(src/PCT/HLLCompiler.pir:699)␤called from Sub 'parrot;Perl6::Compiler;main' pc 1345... ok, the bot screws up the utf-8 Hehe, is icu just for unicode? is there any more args that I should append the the Configure command? "just for unicode" suggests that you're a native English speaker ;-) yeah, lol nearly every other language isn't transcribed in pure ASCII, so you'd care So I should get it? Where from? And which version? which version are you running, and how does it fail? what OS do you use? Windows XP http://www.icu-project.org/download/ Yeah, I was there, is there no precompiled binaries for mingw? And is it ICU 4.0 I want? dunno. I have 3.6 installed, and no problems with it I've just been reading http://perl6.cz/wiki/Build_Parrot_with_MinGW and it says that I can just get the MSVC binaries even though I'm using mingw, is this true? brb anyone on OSX or Windows mind trying a patch? % Andy has joined #parrot "cotto_home" at 96.26.202.243 pasted "use strerror_r in file.pmc" (113 lines) at http://nopaste.snit.ch/13604 apply that, make and run perl t/pmc/file.t let me know if all tests pass % wknight8111 has left wknight8111!~chatzilla@66.252.102.37 r29560 | coke++ | pdd25cx: : [tcl] Remove the opcodes tcl_error_p and tcl_error_s ; with the addition : of standard flow control exceptions to parrot, these are now equivalent to : die; So just use die in their place. : Sadly, don't pass any more tests in the branch. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29560 r29561 | julianalbo++ | trunk: : [pdb] catch exceptions while tracing diff: http://www.parrotvm.org/svn/parrot/revision?rev=29561 r29562 | coke++ | pdd25cx: : [codingstd] remove trailing whitespace diff: http://www.parrotvm.org/svn/parrot/revision?rev=29562 r29563 | coke++ | pdd25cx: : [tcl] remove an apparently unused tcl op. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29563 % rurban has left rurban!~chatzilla@212-183-58-212.adsl.highway.telekom.at % cjfields_ has joined #parrot % cjfields has left cjfields!~cjfields@newrad.igb.uiuc.edu % ruoso has left ruoso!~ruoso@201.45.49.162 % gmansi has joined #parrot % Whiteknight has joined #parrot r29564 | moritz++ | trunk: : [rakudo] added S04-statements/for.t to spectest_regression, Auzon++ : +23 pass, +19 todo/skip tests diff: http://www.parrotvm.org/svn/parrot/revision?rev=29564 % Zaba_ has joined #parrot % Theory has left Theory!~Theory@207.173.77.239 % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % iblechbot has left iblechbot!~iblechbot@ppp-62-216-197-221.dynamic.mnet-online.de % joelnackman has joined #parrot % rlb3 has left rlb3!~robert@ng1.cptxoffice.net % rlb3 has joined #parrot % nq has joined #parrot % purl has left purl!~purl@florence.kuiki.net % purl has joined #parrot % Theory has joined #parrot % joelnackman has left #parrot r29565 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] Temporarily remove the t/op/gc.t file. It's messing up like crazy and I dont know that my GC properly implements the interface yet. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29565 Hey, is there regex in PIR? natively, I don't think so PGE is written in PIR % nq has left nq!~user@77.as-24.nienschanz.ru which is a regex compiler right, but that's a P6 regex compiler, and I dont think it's full-featured yet aye. It doesn't do many modifiers, for example I'm writing a beatnik interpreter There is a pcreg pmc or something, it isn't? I basically want to use: /[^A-Za-z]+/ Basically split on the spaces and get rid of everything that isn't A-Z or a-z pcre, I mean. Look for this in configure output: Determining if your platform supports pcre % donaldh has joined #parrot I just got C:/Dev/parrot\src\parrot_config.o(.text+0xc):parrot_config.c: undefined reference to `mcount' When compiling I dont see a pcre pmc or dynpmc Is a pir library See examples/library/pcre.pir oh, okay. i see that now % teknomunk has joined #parrot Yes, thanks, I'll try that in a moment Is there a simpler way? % japhb has left japhb!~geoff@76-191-190-8.dsl.static.sonic.net cos there's stuff like: func= find_global 'PCRE', 'compile' It would be better with a nice OO interface, that's for sure .local pmc regex = new 'PCRE' regex.compile(...) PIR is assembly - don't expect too much nice syntax from it ;-) Ok, how's the easiest way to split a string where there's spaces and remove all non-alphabetic characters? There is a split opcode on strings so split " ", mystring $P0 = split " ", mystring And getting rid of the extra characters? what do you mean "remove"? cut them out of the string entirely? Well, out of the result is this for the beatnik grammar? string is basically disacarded Yeah % Limbic_Region has joined #parrot Use PGE instead, it parses out whitespace automatically using the <.ws> rule How? It uses recursive descent parsing. <.ws> is a default rule for whitespace you can redefine it to include non-alphabetic characters too, although I dont know the best way to do that offhand probably use an inverted character class. I dont know the exact syntax, but the equivalent of the P5 [^a-zA-Z] would do the trick Sorry, I meant, how do I use pge? It says run all.pir There isn't one in the folder so I can't see how it works "Whiteknight" at 71.230.33.251 pasted "example beatnik grammar" (9 lines) at http://nopaste.snit.ch/13605 check out that link and http://www.parrotblog.org/2008/03/targeting-parrot-vm.html it's a lot of reading, but it will be well worth it for you! you'll have the compiler up and running in no time THanks, I'll read through it Parrot won't compile for me though oh, that's a bigger problem! what platform are you on? % nq has joined #parrot C:/Dev/parrot\src\parrot_config.o(.text+0xc):parrot_config.c: undefined reference to `mcount' Windows xp I'm trying with mingw and using ICU Are you on windows? % bacek has joined #parrot Cos I need a copy of mingw ICU libraries. I think it's cos of the ones I'm using that it isn't working I'm not on windows anymore, I used to be Do me a favor, can you write up the errors your getting, along with a note about what platform you are using to parrotbug@perl.org? That will open a ticket so people can work on it Nebster - first confirm that you can compile without ICU using just MinGW here are some steps you want to follow 1. ensure that msys is NOWHERE in your path does ICU cause problems on MinGW? Whiteknight - I am not sure, but I would like to rule it out or in * Limbic_Region builds Parrot on Win32 using both MinGW and Cygwin regularly without problems but I stopped using ICU aeons ago * moritz feels guilty for imposing that idea on Nebster Nebster - are you still there or am I chatting with dead air? moritz - ICU provides Win32 binaries which should work fine except the probing to automatically find them in Configure.PL is broken moritz - my guess is you just have to explicitly point to the libraries/directories we have such a complex build system! I'm here :P but I would like to confirm that Nebster can build a vanilla parrot I haven't got msys msys? i think msys is http://www.mingw.org/msys.shtml Nebster - ok, most people download msys and MinGW together r29566 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] update to trunk r29564 diff: http://www.parrotvm.org/svn/parrot/revision?rev=29566 Whiteknight - minimal system I haven't got it ...neither does that link ok - do a mingw32-make realclean && svn up && perl Configure.PL && mingw32-make That's why I haven't replied though, I'm trying to build a vanilla then if it doesn't compile, paste the entire output purl paste paste is (see: nopaste) or like glue but a little safer to sniff. or http://nopaste.snit.ch:8001/ or http://scsys.co.uk:8001/ anywhere shadowpaste is or mmm, sticky paste or You there! Eating the paste. or 2 girls, 1 paste I've just done a make svnclobber to make sure * moritz heads off to bed sleep well moritz thanks L~R, and happy hacking ;) * Limbic_Region is building now to ensure the problem is just you :P ditto % cjfields_ has left cjfields_!~cjfields@cjfields.igb.uiuc.edu I've just done a perl Configure.pl --cc=gcc --profile=gcc --without-icu Running make now * Limbic_Region doesn't pass any options to Configure.pl fwiw Christ, it's slow on a laptop :S define slow - I am using a dual core laptop with 1 GB of memory without too much trouble though Configure.PL always seems to take a long time Pentium 4 3.4Ghz with 2GB, lol My Configure takes about 5-10 secs Might be cos I specify those things % Zaba has joined #parrot % japhb has joined #parrot * Whiteknight has a PIII with 512Mb RAM % gryphon__ has left gryphon__!~gryphon@dsl-209-221-185-54.zipcon.net % gryphon__ has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru yep, parrot builds fine on Win32/MinGW when ICU is not being considered (nor other arguments to Configure.pl) Mmm, I have a Core Quad 2.4 GHz and parrot builds in a couple of mins. make -j 8 is good. Oops, forgot I could make it run on multiple cores On a laptop the disk will be the problem. Nebster - if this build fails, paste the output so I can compare it with mine Oooh, error % kid51 has joined #parrot g++ -o pbc_to_exe.exe "pbc_to_exe.o" C:/Dev/parrot/libparrot.dll -lmsvcrt -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion C:/Dev/parrot\src\parrot_config.o C:/Dev/parrot\src\parrot_config.o(.text+0xc):parrot_config.c: undefined reference to `mcount' collect2: ld returned 1 exit status linking failed I haven't got the whole output cos of cmd chopping off all but the last 300 lines Cygwin builds too I built the 0.6.3 one earlier and it worked fine -lmsvcrt looks wrong Yep. just got there on cygwin too. of course, I was an idiot and closed the window I built parrot in Nebster - can you paste the entire output I will rebuild odd that it's be looking for mcount. that's a gprof function, and I don't see -pg on your g++ command line s/ be// Do you want me to rebuild or just post the last 300 or so lines? purl paste hmmm... paste is (see: nopaste) or like glue but a little safer to sniff. or http://nopaste.snit.ch:8001/ or http://scsys.co.uk:8001/ anywhere shadowpaste is or mmm, sticky paste or You there! Eating the paste. or 2 girls, 1 paste iwould like from the output of connfigure afk for a few Just in case: "Nebster" at 88.108.157.112 pasted "make output" (298 lines) at http://nopaste.snit.ch/13606 % donaldh has left donaldh!~chatzilla@host213-123-171-12.in-addr.btopenworld.com "Nebster" at 88.108.157.112 pasted "configure output" (88 lines) at http://nopaste.snit.ch/13607 There Parrot compiles for me in 18.2 seconds. 23s for rakudo Tene has some fast machines! Is that from a make svnclobber? Nebster - the only difference I can see on the line that fails for you from mine is -lgmp % teknomunk_ has joined #parrot % Andy has left Andy!~AndyL@host3130.follett.com 8-way opteron % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net shame I can't do a parallel spectest. r29567 | jkeenan++ | revisionpm: : Creating revisionpm in https://svn.perl.org/parrot/branches diff: http://www.parrotvm.org/svn/parrot/revision?rev=29567 r29568 | jkeenan++ | revisionpm-29566: : Tagging trunk at r29566 so that the revisionpm can later be synched to it. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29568 So how come it's not there on mine? "Limbic_Region" at 68.49.236.220 pasted "Output of working Win32/MinGW build configure + make" (491 lines) at http://nopaste.snit.ch/13608 Nebster - that's why I wanted to see the output of Configure I have GMP libraries and you don't but that shouldn't be causing this problem oh duh you pasted that sorry was dealing with 7 month old It's fine, but other than that, only difference is I'm using 3.4.2 not 3.4.5 right did you remember to hold your tongue right? ? % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru an expression my mother uses Meaning... meaning is in the individual, whether a definition of a word, connotation of a symbol, or impression of a painting. people make a screwed up face - often with their tongue sticking out to one side of their face, when working on something requiring great dexterity if it doesn't work, it is because you didn't hold your tongue right lol I am doing a realclean;configure;make again now I want to check why you have output in your paste that I don't on mine r29569 | jkeenan++ | revisionpm: : Commence work on refactoring Parrot::Revision. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29569 Oh, I didn't do a realclean I did a make svnclobber so I only have the base then svn up * Limbic_Region is an svn neophyte and has no idea what svnclobber would or wouldn't do that is accomplished with a realclean but I can tell you this - periodically we get problems that can only be fixed with a fresh checkout because realclean doesn't cut the mustard ok, finished going to compare output again make svnclobber erases all files that are in the parrot folder that aren't in the svn "Cleaning:" " clean: Basic cleaning up." " archclean: Remove any platform dependent files." " realclean: Removes also files generated by 'Configure.pl'" " distclean: Removes also anything built, in theory." ok, well, I give up file a ticket hehe, lol How long does the paste stuff stay there for? Or should I just copy and paste that into the message? % bacek has left bacek!~bacek@122.110.73.185 Limbic_Region: the problem is that fixing that way is not fixing at all. Nebster - probably want to use a txt attachment NotFound - I counter with, with enough eyes, all problems are shallow filing a ticket will let lots of folks look at it, and a man needs to know when family time is more important ;-) % bacek has joined #parrot Limbic_Region: but the only eyes available are those from the people that have that problem. hehe, I'll file that report in the morning, I gotta go for now. I'll try the latest version of mingw too My pc is seriously buggered though, virtual registry got accidentally merged with my real registry so I got a hell of a lot of things wrong! Took ages to figure out what I had to change to get all my favourites and stuff back It was trying to create my user profile in C:\WINDOWS\systm32 % pjcj has left pjcj!~pjcj@84-73-177-217.dclient.hispeed.ch % daxelrod has joined #parrot % sjansen has left sjansen!~sjansen@75-169-83-227.slkc.qwest.net % Nebster has left Nebster!~None@88-108-157-112.dynamic.dsl.as9105.com r29570 | jkeenan++ | revisionpm: : Simplify control flow inside _get_revision(). diff: http://www.parrotvm.org/svn/parrot/revision?rev=29570 "failed manicheck(), missing files: <<<<<<<< ======== >>>>>>>>" so... I've got a bad merge in my manifest apparently perl tools/dev/mk_manifest_and_skip.pl ... which i do so often that I use a shell alias: mkms % bacek has left bacek!~bacek@122.110.10.34 % gryphon__ has left gryphon__!~gryphon@dsl-209-221-185-54.zipcon.net % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % bacek has joined #parrot % nq is now known as NordQ % NordQ has left NordQ!~user@77.as-24.nienschanz.ru % Zaba has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % AndyA has left AndyA!~andy@ca93nt.hexten.net % AndyA has joined #parrot % parrot-poke has left parrot-poke!~mollusk@user-112vvlr.biz.mindspring.com Does anyone know what I'm supposed to do if t/codingstd/perlcritic.t flags a file for having a 'TODO' comment? # Flag comment 'TODO' found at lib/Parrot/Harness/Smoke.pm line 100 # Flag comment 'TODO' found at lib/Parrot/Harness/Smoke.pm line 108 I think those usually end up being converted to tickets Yeah, create a ticket for them, and replace the "TODO" with the rt# of the ticket Yeah, but I can't commit Michael Peters' patches for Smolder because one of the files is itself failing perlcritic.t nice So it looks like I'll first have to commit the file -- even though it will cause a test failure. do that. People will find a solution for it maybe post a ticket to the mailing list alerting people r29571 | jkeenan++ | trunk: : Eliminate trailing whitespace. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29571 r29572 | jkeenan++ | trunk: : Committing Michael Peters' most recent patches for Smolder testing : (http://rt.perl.org/rt3/Ticket/Display.html?id=55954). NOTE: : lib/Parrot/Harness/Smoke.pm is failing perlcritic.t policy re comments with : 'TODO' -- a failure I found out by running make smolder_test itself! diff: http://www.parrotvm.org/svn/parrot/revision?rev=29572 r29573 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] Cut out sweep code for now, works better without it. Fix merge error in MANIFEST diff: http://www.parrotvm.org/svn/parrot/revision?rev=29573 Whiteknight: okay, I posted to http://rt.perl.org/rt3/Ticket/Display.html?id=55954 ... and the files are committed. good and good % verve has left verve!a5847f73@67.207.141.120 r29574 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] Reintroduce short-circuiting to pobject lives by creating a new list for marked objects. Also, a few unrelated minor changes. diff: http://www.parrotvm.org/svn/parrot/revision?rev=29574 % kid51 is now known as kid51_at_dinner % kid51_at_dinner is now known as kid51 "kid51" at 68.237.13.124 pasted "RT 56948: try this patch: make realclean;perl Configure.pl --test=configure" (311 lines) at http://nopaste.snit.ch/13610 % Theory has left Theory!~Theory@c-67-160-131-113.hsd1.or.comcast.net % Zaba_ has joined #parrot % jhorwitz has left jhorwitz!~chatzilla@96.245.16.45 % kid51 has left kid51!~jkeen@pool-68-237-13-124.ny325.east.verizon.net % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru NotFound++ #I didn't know real_exception was smart enough to do that. particle, apparently you underestimated real_exception. Is E_SystemError one of those deprecated errors? cotto_home, what are you talking about? What cool stuff does real_exception do? r29575 | Whiteknight++ | gsoc_pdd09: : [gsoc_pdd09] Lots of changes: : * Headerizer updated all my function defs : * Add ARGMOD places to shut headerizer up : * Removed unused state from the GC : * Remove code to sweep pools that shouldn't be swept : * Added post-sweep cleanup diff: http://www.parrotvm.org/svn/parrot/revision?rev=29575 Whiteknight, format strings that can use Parrot STRINGs. oh really? cool real_exception(interp, NULL, E_SystemError, "%Ss", errmsg_pstring) % Zaba has joined #parrot It's funny because I was looking at that function earlier but still missed the ... % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru if a spectest is failing but shouldn't be, and it's in the spectest_regression.dat, should it be marked as SKIP? % Whiteknight has left Whiteknight!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % baest has left baest!~baest@2206ds1-suoe.0.fullrate.dk s1n: skip or todo bacek: which would be better? bacek: the tests that i'm adding should probably be passing, but i'm guessing there's a bug that's preventing it s1n: depends. If it a bug in rakudo: todo, if something not implemented: skip then todo, AFAIK it's a new test in range, but it looks like some of it isn't working, it's hard to say whether it's a bug or hasn't been implemented the test is currently being fudged, so i'd have to dig in a figure out % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru which file? i guess which file is that error in S02-builtin_data_types/range.t well, there's no p6eval bot in here #?rakudo skip 'infinite ranges not implemented' ? no, i'm adding some new tests can you provide sample test? yeah, try out 5..1 or 'd'..'a' if you want, i can pastebot the tests if needed % Zaba has joined #parrot (i.e. use the p6eval bot in #perl and try that out, compare it to 1..5 or 'a'..'d') polyglotbot knows rakudo cotto_home: as 'perl6' :) % daxelrod has left daxelrod!~daxelrod@ool-43565e97.dyn.optonline.net % baest has joined #parrot % TiMBuS has joined #parrot s1n: yes there is perl6: say 'hi s1n' OUTPUT[hi s1n␤] % s1n has left s1n!~s1n@75-16-180-101.lightspeed.allntx.sbcglobal.net % s1n has joined #parrot s1n: it *is* specced, S03:2641 % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru I've gotten 14 copies of NotFound's response to RT#46681. % cotto_work has left cotto_work!~cotto@tide534.microsoft.com % grim_fandango has joined #parrot % wolverian has left wolverian!wolverian@feather.perl6.nl % wolverian has joined #parrot % leo has left leo!lt@feather.perl6.nl % leo_ has joined #parrot % zostay has left zostay!~Hanenkamp@adsl-75-39-130-213.dsl.tpkaks.sbcglobal.net % Psyche^ has joined #parrot % s1n has left s1n!~s1n@75-16-180-101.lightspeed.allntx.sbcglobal.net % Patterner has left Patterner!~Psyche@e177228085.adsl.alicedsl.de % Psyche^ is now known as Patterner % Ademan has joined #parrot % Ademan has left Ademan!~dan@h-67-101-41-197.snfccasy.dynamic.covad.net % davidfetter has left davidfetter!~davidfett@start.fetter.org % vhold has left vhold!~vhold@adsl-67-114-158-146.dsl.sntc01.pacbell.net % tuxdna has joined #parrot gah! I got another two. Who's in charge of rt.perl.org? perlbug-admin@perl.org (which is Robrt, I think) I hack on RT, maybe I can help you with something? % Debolaz has joined #parrot cotto_home: I send only one, I promise X-) And in the ticket in RT there is no dupes. Sartak: he'e receiving duplicates of my message to RT#46681 oh Is a good message, but one copy must be enough for anything X-) :) I don't see anything wrong on the ticket display page. might be config? anyway, yeah, you'll have to ask Robrt % uniejo has joined #parrot % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@e177234056.adsl.alicedsl.de % Psyche^ is now known as Patterner % iblechbot has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % Zaba has joined #parrot % grim_fandango has left grim_fandango!~matt@bas2-kingston08-1167935462.dsl.bell.ca % barney has joined #parrot