% cotto_home has joined #parrot r28163 | pmichaud++ | trunk: : [rakudo]: : * Make C and C into named unaries. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28163 pmichaud: re try *, does this ever DWIM? oh no, it was {*}, not * moritz: it works for things like try { ... }; * moritz tries to wake up entirely is type checking guarantueed to be at run time? I mean a clever compiler could try to do some type inference and prove at compile time that there well be a clash so shouldn't it be eval_lives_ok in the test case anyway? I don't know. That might be a good followup to my original post. ok, I'll write something anyway, sleep time bbl moritz, I don't think, that even clever compiler should check content of string... good night, pmichaud bacek: did you read the mail on p6c? moritz, which one? btw, #55438 :) t/spec/S02-builtin_data_types/type.t and 'try' statement in process yeah... There is a _LOT_ of such usage of try/grep/whatever... % iblechbot has joined #parrot I just thinks, that priority of 'infix:,' is too high * bacek still thinks that this handled in overcomplicated EXPR rule... are there still statement likes like 'a(), b() while c()' in perl 6? moritz, no idea. % DietCoke has left DietCoke!~coke@cpe-72-228-52-192.nycap.res.rr.com Probably EXPR/expect_term combo handles this, adverbial closure and much more... moritz, can you make me a favour? Test test.t/Test.pm from #55438? (most recent test.t from ticket :) don't you mean #55304? moritz, no :) but there is a patch for 'eval()' in 55304. It required to apply before test. eval2.diff If test passed, try to comment out line 119 in Test.pm and rerun test... I've got very nasty error... ok, wait a sec don't you want to publish a git mirror that I can simply track? that would simplify all that patching stuff ;) moritz, hmm... It will take some time. But I can do it if you really want :) afk, coffee break :) that was more a "this patching is so cumbersome" than a real suggestion ;) r28164 | allison++ | trunk: : [cage] Update the MacPorts description to match other descriptions. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28164 * bacek broke coffee and switched to wine... bacek: dunno why, your test.diff didn't apply cleanly for me (or did I try to apply it twice? don't think so...) There is clean Test.pm attached :) s/clean/patched/ your test.t fails for me with ok 16 - ... it eval_lives_ok set_pmc_keyed_str() not implemented in class 'Eval' current instr.: 'fake_proclaim' pc 1391 (EVAL_13:414) shit... % Ivatar has joined #parrot "bacek" at 202.7.166.165 pasted "eval_lives_ok replacement for moritz" (7 lines) at http://nopaste.snit.ch/13202 moritz, can you replace eval_lives_ok in Test.pm with nopasted one? nah that one is wrong either eval can propagate excpetions than it could happen that a call to eval_lives_ok doesn't call proclaim() at all or it can't then the try block is superflous no, its looks like stack corruption. so I just try to find exact place where it happens. now it runs the tests up to 16 ok 16 - ... it eval_lives_ok # Looks like you planned 17 tests, but ran 16 shit... It dies inside of parrot... can you comment out line 119 in Test.pm? It will die early. not ok 10 - ... it dies_ok with 119 commented out moritz, i expected it... moritz, i cought this bug! sorry, have to run... just write on, I'll backlog moritz, perl6: try { die }; say (defined $!) xor Bool::True rakudo outputs nothing... % jjuran has left jjuran!~jjuran@c-71-227-190-72.hsd1.or.comcast.net re is xor tested somewhere? and does 'make fulltest' run those tests? if not, don't rely on it ;) moritz, it works for just Bool. check last my tests in #perl6... allison@perl.org | Articles of Incorporation: link: http://www.perlfoundation.org/parrot/index.cgi?articles_of_incorporation dalek's url is at http://xrl.us/bkyfj can you try replace proclaim(defined...) with proclaim(0+defined...) ? afk, % jan has left jan!~chatzilla@89-253-66-101.customers.ownit.se allison@perl.org | Bylaws: link: http://www.perlfoundation.org/parrot/index.cgi?bylaws % barney has joined #parrot allison@perl.org | Bylaws: link: http://www.perlfoundation.org/parrot/index.cgi?bylaws allison@perl.org | Bylaws: link: http://www.perlfoundation.org/parrot/index.cgi?bylaws allison@perl.org | Bylaws: link: http://www.perlfoundation.org/parrot/index.cgi?bylaws % jan has joined #parrot % skv__ has joined #parrot % skv has left skv!~skv__@87.242.97.68 % skv__ is now known as skv % TiMBuS has left TiMBuS!~Hurf@123-243-167-27.static.tpgi.com.au % Maddingu1 is now known as Maddingue allison@perl.org | Bylaws: link: http://www.perlfoundation.org/parrot/index.cgi?bylaws % kid51 has joined #parrot % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru % davidfetter has joined #parrot allison@perl.org | Bylaws: link: http://www.perlfoundation.org/parrot/index.cgi?bylaws % iblechbot has left iblechbot!~iblechbot@195.16-dial.augustakom.net % kid51 has left kid51!~jkeen@pool-68-237-19-81.ny325.east.verizon.net % Andy has joined #parrot % Andy has left Andy!~Andy@64.81.227.163 % iblechbot has joined #parrot % DietCoke has joined #parrot eee % masak has joined #parrot particle++ allison++ # parrot foundation documents pmichaud, goot today :) good morning, afternoon, or other localtime * bacek thinks is 'good now' is good enough :) Hey! It's tomorrow already! :) 00:03 % smash has joined #parrot hello everyone % davidfetter has left davidfetter!~chatzilla@start.fetter.org DietCoke: ping % zev has left zev!~zev@CYBERTRON.MIT.EDU % tetragon has joined #parrot % smash has left smash!~smash@gil.di.uminho.pt r28165 | fperrad++ | trunk: : fix RT #55332 : On Windows, unlink is not POSIX compliant : : unlink on an opened file does nothing (now & after closing). diff: http://www.parrotvm.org/svn/parrot/revision?rev=28165 what would I need to do to get languages/perl6/t/harness to honor the -v option? % Theory has joined #parrot % cognominal_ has left cognominal_!~cognomina@82.67.232.89 % Andy has joined #parrot % iblechbot has left iblechbot!~iblechbot@195.16-dial.augustakom.net % ruoso has joined #parrot % Andy has left Andy!~Andy@64.81.227.163 % nopaste has left nopaste!~opaste@202-154-105-237.people.net.au % khisanth_ has joined #parrot % khisanth_ has left khisanth_!~Khisanth@68.237.111.126 % TonyC has left TonyC!~tony@202-154-105-237.people.net.au % Auzon has joined #parrot % nopaste has joined #parrot r28166 | fperrad++ | trunk: : [Lua] : - factorization in lua_loadfile diff: http://www.parrotvm.org/svn/parrot/revision?rev=28166 % ruoso has left ruoso!~ruoso@bl5-140-37.dsl.telepac.pt % cognominal has joined #parrot % ruoso has joined #parrot % teknomunk has joined #parrot r28167 | fperrad++ | trunk: : [Lua] : - lua_loadfile : give a chunkname when stdin diff: http://www.parrotvm.org/svn/parrot/revision?rev=28167 % Andy has joined #parrot % masak has left masak!~user@130.238.45.242 % Zaba has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % gryphon has joined #parrot pmichaud: re lazy and eager lists, 'List' is lazy, 'Seq' is eager I did think of that, but I tend to think of Seq as simply "completely evaluated". At any rate, I'm not sure I want List to automatically morph to Seq what's the difference between eager and "completely evaluated"? is the latter "recursively eager"? I don't know that there is a difference, but I'm not yet ready to claim they're exactly the same. They may be, but I haven't thought that far ahead yet :-) ok % teknomunk has left teknomunk!~teknomunk@r74-195-239-111.stl1cmta01.stwrok.ok.dh.suddenlink.net % Andy has left Andy!~AndyL@host3130.follett.com % barney has left barney!~bernhard@p549A27AB.dip0.t-ipconnect.de % gmansi has left gmansi!~gmansi@190.55.35.246 % Limbic_Region has joined #parrot r28168 | fperrad++ | trunk: : [Lua] : - lua_load handles binary chunk via bytecode translation : (don't work, namespace problem) diff: http://www.parrotvm.org/svn/parrot/revision?rev=28168 % gmansi has joined #parrot % Ademan has joined #parrot % davidfetter has joined #parrot % kid51 has joined #parrot % ruoso has left ruoso!~ruoso@bl5-140-37.dsl.telepac.pt % guru has joined #parrot * kid51 has spent the day reinstally Mac OS X 10.4 on his old iBook G4. Had to reinstall Xcode Tools, rebuild Perl 5 and Python 2.5, re-install Subversion. All due to file corruption in Software Update. * cizra has spent all the day installing Debian on his old G3 PowerMac. :-p * pmichaud has spent all day working on various parts of rakudo. (mostly running spectests) * moritz has spent nearly all day (5 hrs) playing table tennis % davidfetter has left davidfetter!~chatzilla@start.fetter.org * tetragon has left her iBook G4 at OS X 10.5.2 until enough disk space has been freed up for the combo update for 10.5.3 to download * tetragon is also noting down all sorts of details needed to get a Toughbook's touchscreen to work under Linux % iblechbot has joined #parrot * diakopter spent all day working on yap6. gigantic commit message forthcoming. % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % gmansi has left gmansi!~gmansi@190.55.35.246 % Ademan has left Ademan!~dan@c-71-198-30-70.hsd1.ca.comcast.net % Zaba_ has joined #parrot % iblechbot has left iblechbot!~iblechbot@ppp-62-216-196-223.dynamic.mnet-online.de morning % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru morning is in about 9 hours ;) moritz, no... It's already 7:49... ok then morning ;) happy now :) and happy 1 moment from now too (accounting for net lag) tetragon: I spent last Saturday at the Apple Genius Bar getting this Software Update problem diagnosed. The 'Genius' said that there wouldn't be enough memory on my iBook G4 to install 10.5. So I'll have to buy an Intel Mac to get 10.5. kid51: And if you were to buy an Intel with 10.5, it would help complete the set of architectures and OS releases or someone could donate one to kid51. :-) * tetragon digs out a Powerbook with pre-OS X Mac OS * jonathan spent the day at a BBQ and then watching the first two matches of Euro 2008. And I don't think any of the OS X releases would run on that Powerbook (just on the ppc side of the m68k -> ppc switchover) % davidfetter has joined #parrot summon pmichaud to discuss #55446... "pmichaud" at 76.183.97.54 pasted "Rakudo spectest regression history" (29 lines) at http://nopaste.snit.ch/13204 % gmansi has joined #parrot pmichaud, good progress! % Ivatar has left Ivatar!~graham@tu055.demon.co.uk bacek: yes, thanks to many contributors. pmichaud, you very welcome :) (It's all vany fault. He'd convenient me :) pmichaud, I need help with 55446... % guru has left guru!~guru@dsl-67-204-10-190.acanac.net something very strange happens with handling exceptions in parrot. r28169 | pmichaud++ | trunk: : [pge]: : * Improvement to OPTable so that word tokens also look : for word boundaries (e.g., so that 'if' doesn't match 'ifonly'). diff: http://www.parrotvm.org/svn/parrot/revision?rev=28169 r28170 | pmichaud++ | trunk: : [rakudo]: : * Add a preliminary implementation of Complex. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28170 r28171 | pmichaud++ | trunk: : [rakudo]: : * Add 'test_summary.pl' script used to provide an alternate view : of running spectest_regression (and generate the regression history). diff: http://www.parrotvm.org/svn/parrot/revision?rev=28171 % braceta has joined #parrot tetragon: I suspect we have *many* people who have Intel Macs with 10.5. I just haven't identified them for the purpose of testing your patches (and those of others). One positive side effect of losing /usr/local: I lost that botched attempt to build my own gcc that required me to specify 4 options to get Configure.pl to work. For the first time ever, all I did to build was call 'perl Configure.pl'. 'make' and 'make coretest' all passed. how I can curry function in PIR? * kid51 watches Belmont No Triple Crown this year; winner at 38-1 odds kid51: Does Apple still ship Perl on 10.4 without hidden, nasty -arch flags? My 10.4 box hasn't been updated in a while How would I determine that? Since this was a reinstall from DVD, it meant that I got the same Perl 5.8.6 that came with this originally 4 years ago. Take a look at the output of perl -V ccflags is one of the values that on 10.5 has the -arch flags in it (10.5 comes with 5.8.8) "kid51" at 68.237.19.81 pasted "The Perl 5.8.6 that came with Mac OS X 10.4.6" (55 lines) at http://nopaste.snit.ch/13205 What I suspect is that Apple built Perl differently between 10.4 and 10.5 summon pmichaud spell failed... failed... looks funny Yes, I believe you demonstrated that a couple of months back. * bacek cast fireball on purl 10.5 is a full multiarch build, 10.4 had both an i386 and a ppc build done separately and glued together with lipo And parrot's build system would need some alterations to handle the all at once multiarch % braceta has left braceta!~Braceta@193.126.137.56 No -arch flags on this Apple build. Still no -arch flags I think 10.4.6 was still in the ppc-only days. % kid51 is now known as kid51_at_dinner My Intel's perl doesn't have -arch flags, and that box's initial OS X was either 10.4.6 or 10.4.7 pong pmichaud, hi again. Is it possible to curry sub in PIR? % Theory_ has joined #parrot bacek: it will be, yes. We're not doing it yet. % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net pmichaud, ok... so it's not I'm so stupid. It's just not yet implemented :) right. pmichaud, second question: #55446 something wrong with exception/variables handling. right, we haven't corrected $_, $/, and $! yet. but what did you expect instead of Undef ? Bool... xor doesn't return a Bool. Ok, Int. Something but not undef. rakudo: try{die}; say defined $!; say (defined $!) xor 1; it return [1\n\n] oh. pmichaud, exactly... drat. The spec changed on me: # infix:, exclusive or $x xor $y Returns the true argument if there is one (and only one). Returns Bool::False if both arguments are false or both arguments are true. In list context forces a false return to mean (). See ^^ above for high-precedence version. pmichaud, problem not with 'xor'. Problem with variables... rakudo: say (defined $!) xor 1; rakudo r28171 OUTPUT[1␤] 22:53 right, we haven't corrected $_, $/, and $! yet. although what you wrote there looks right to me. unless $! is supposed to be undef... okay. what's a good example of what a language spec should look like? % jan has left jan!~chatzilla@90-229-128-103-no52.tbcn.telia.com actually, what you wrote there looks write to me. s/write/right/ rakudo: say undef xor 1; rakudo r28171 OUTPUT[1␤] correct. % jan has joined #parrot * bacek still dont understand how 'xor' can return undef... rakudo: say (1 xor 1).WHAT; ww wrong channel :) * davidfetter mischans to keep bacek company "pmichaud" at 76.183.97.54 pasted "specte_regression results in head" (62 lines) at http://nopaste.snit.ch/13206 pmichaud, why you 'rewrite' xor in PAST/Compiler.pir instead of invoking xor directly??? xor is short circuiting a xor b xor c is not the same as ((a xor b) xor c) ouch... and how it should work??? somebody said how it should work was that M::B should generate enough stuff for ... a xor b xor c returns the true element if there's exactly 1, otherwise it returns Bool::False pmichaud, pugs disagree with you :) pugs is wrong then. or the spec changed. hrm. in which spec xor defined? I cant find it in S29... it's an operator, so S03 pmichaud, thanks. Looks like spec really changed. % davidfetter has left davidfetter!~chatzilla@start.fetter.org bacek: here's what I was working from: http://groups.google.com/group/perl.perl6.language/msg/36b680b042a3aece pmichaud's url is at http://xrl.us/bmow7 there's also: http://groups.google.com/group/perl.perl6.language/msg/fae98f310e4dfcf4 pmichaud's url is at http://xrl.us/bmoxb % kid51_at_dinner is now known as kid51 to trust Larry or not to trust? This is the question! :) well, S03 was modified to have its current definition of C in 2007, so I presume the later interpretation rules. Which would mean I can tear out the 'xor' code altogether from PCT. which would be nice. but I'll ask on p6c. r28172 | jkeenan++ | trunk: : Eliminate trailing white space at line 415. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28172 message sent Sorry, I've never seen sen before. time for shopping. ...."sen"? % gmansi has left gmansi!~gmansi@190.55.35.246 % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot % gmansi has joined #parrot "kid51" at 68.237.19.81 pasted "Well, I guess I won't be installing SVK ..." (73 lines) at http://nopaste.snit.ch/13207 bacek@icebolt:~/src/parrot/languages/perl6$ cat k.pl say (0..10000000000000000)[5] bacek@icebolt:~/src/parrot/languages/perl6$ ../../parrot perl6.pbc k.pl 4 Gotcha! I did sketch for lazy list! "It hard to be lazy" (c) pmichaud++ > say (grep { $_ % 3 == 0 }, (1..1000000000000000000))[5] lazy grep 2 15 "bacek" at 202.7.166.167 pasted "Sketch of LazyList for pmichaud to blame :)" (345 lines) at http://nopaste.snit.ch/13208 msg pmichaud can you please say something about my LazyList 'proof-of-concept'? % purl has left purl!purl@sentient.life yeek lazy bot! % kid51 has left kid51!~jkeen@pool-68-237-19-81.ny325.east.verizon.net kids time, see you everybody % Ademan has joined #parrot % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au % rhr has left rhr!~ryan@bas3-montreal02-1096682094.dsl.bell.ca % bacek has joined #parrot % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net % Eevee has left Eevee!~eevee@c-67-160-3-54.hsd1.wa.comcast.net % TiMBuS has joined #parrot % Theory_ has left Theory_!~Theory@c-24-21-175-208.hsd1.mn.comcast.net % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net % tewk has left tewk!~tewk@ekstrom.org % tewk has joined #parrot r28173 | rgrjr++ | trunk: : * lib/Parrot/Pmc2c/MethodEmitter.pm: : + (decl): Remove broken (and pointless) optimization. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28173 % Zaba has joined #parrot % Zaba_ has left Zaba_!~zaba@ip102.148.adsl.wplus.ru % rhr has joined #parrot % Theory has joined #parrot % Andy has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % Straylight has joined #parrot % Straylight has left Straylight!~Strayligh@124-169-206-114.dyn.iinet.net.au % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au r28174 | chromatic++ | trunk: : [src] Moved global pio_registered_layers to interpreter, removing static : variables (NotFound, RT #31806). diff: http://www.parrotvm.org/svn/parrot/revision?rev=28174 % tetragon has left tetragon!~seneca@69-196-141-26.dsl.teksavvy.com % tetragon has joined #parrot % tetragon has left tetragon!~seneca@gw-312-705.somanetworks.com % tetragon has joined #parrot r28175 | chromatic++ | trunk: : [src] Removed global variables Parrot_exec_rel_addr and Parrot_exec_rel_count : (NotFound, see RT #54602). diff: http://www.parrotvm.org/svn/parrot/revision?rev=28175 % tetragon has left tetragon!~seneca@216.126.67.44 r28176 | chromatic++ | trunk: : [spec] Added languages and perl6 targets to the parrot.spec file, so that RPM : builders can produce parrot-languages and parrot-perl6 RPMs (Gerd Pokorra, RT : #55220). diff: http://www.parrotvm.org/svn/parrot/revision?rev=28176 r28177 | chromatic++ | trunk: : [config] Fixed signal-detecting tests to compile with g++. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28177 % Andy has left Andy!~Andy@64.81.227.163 % bacek has joined #parrot % Psyche^ has joined #parrot % Patterner has left Patterner!~Psyche@e177238241.adsl.alicedsl.de % Psyche^ is now known as Patterner % Zaba_ has joined #parrot % Zaba has left Zaba!~zaba@ip102.148.adsl.wplus.ru r28178 | chromatic++ | trunk: : [IO] Fixed some g++ compilation errors in Unix IO layer. diff: http://www.parrotvm.org/svn/parrot/revision?rev=28178 % bacek has left bacek!~bacek@123-243-38-218.tpgi.com.au