dpkg-buildpacke fails due to outdated 10smoke patch

2007-02-05 Thread Moritz Lenz
, no full build log available for this one, and it takes more than an hour for me to compile it :) -- Moritz Lenz http://moritz.faui2k3.org/ http://sudokugarden.de/ signature.asc Description: OpenPGP digital signature

Re: Using a Regex object

2007-04-07 Thread Moritz Lenz
#Return_values_from_matches HTH, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ - http://sudokugarden.de/ - http://perl-6.de/ signature.asc Description: OpenPGP digital signature

pugs: aborting smoke tests

2007-04-11 Thread Moritz Lenz
silently. I don't think that t/builtins/strings/uc.t itself is the problem, because it runs in a few seconds if executed manually. Can anybody reproduce the problem or suggest anything that I could do about it? Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ - http://perl-6.de

Re: pugs: aborting smoke tests

2007-04-11 Thread Moritz Lenz
/local/share/perl/5.8.8/auto/pugs/perl6/lib . in case it matters, the phiscal directory lies at /mnt/ex/moritz/pugs, usually I work with a symlink in my home dir (that is /home/moritz/pugs - /mnt/ex/moritz/pugs) Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ - http://sudokugarden.de

Re: Does =$*ARGS work?

2007-04-12 Thread Moritz Lenz
the command line arguments are stored in @*ARGS. I can't answer your question, sorry ;-). Moritz -- Moritz Lenz http://moritz.faui2k3.org/ - http://sudokugarden.de/ - http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Does =$*ARGS work?

2007-04-12 Thread Moritz Lenz
Hi, brian d foy wrote: In article [EMAIL PROTECTED], Moritz Lenz [EMAIL PROTECTED] wrote: Hi, brian d foy wrote: Under the section The for Statement in S04, it says that the diamond operator while( ) { ... } becomes in Perl 6 for =$*ARGS { ... } Some time ago I read

Re: pugs: aborting smoke tests

2007-04-12 Thread Moritz Lenz
Hi, Moritz Lenz wrote: for a few weeks now I haven't been able to complete a single make smoke in the pugs repository. The last test producing an output is: t/builtins/strings/uc.t # Actual: ß at that point there are no more messages for ~ 10 minutes, and there are instances

Re: What should file test operators return?

2007-04-13 Thread Moritz Lenz
Hi, brian d foy wrote: At the moment the file test operators that I expect to return true or false do, but the true is the filename. that helps chaining of file test: $fn ~~ :t ~~ :x or something. If you want a boolean, use ? $fn ~~ :x or something. HTH, Moritz -- Moritz Lenz http

Re: CGI.pm renaming (was Re: CGI Session management (was Re: the CGI.pm in Perl 6))

2007-04-15 Thread Moritz Lenz
: http://use.perl.org/article.pl?sid=07/03/22/1542235 Afaict so far only 2 out of 10 are granted, so ideas and applications are welcome. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ - http://sudokugarden.de/ - http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Is Perl 6 too late?

2007-05-13 Thread Moritz Lenz
. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Is Perl 6 too late?

2007-05-14 Thread Moritz Lenz
Thomas Wittek wrote: Moritz Lenz schrieb: What makes Perl hard to read is the excessive use of special characters (/\W/). I disagree: The make it look ugly, but not hard to read. Even if it's only ugly: To what advantage? I don't think ugliness is a good characteristic of a programming

Re: Is Perl 6 too late?

2007-05-14 Thread Moritz Lenz
finish. I don't think most of are not open to new point of views, but regard p6 they just don't help atm. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Is Perl 6 too late?

2007-05-14 Thread Moritz Lenz
Moritz Lenz wrote: Thomas Wittek wrote: Moritz Lenz schrieb: I would also like semicolons to be optional. Most people don't ;-). Oh, really? Source? :) I paraphrased Larry Wall. Iirc it was everybody wants the semicolon or something - correct me if I'm wrong. sorry, masak++ pointed out

Re: x and xx operators fail when given negatives

2007-05-25 Thread Moritz Lenz
to the list. It did. For the future I'd suggest that you commit them yourself, that's far more efficient. Just tell us what nick name you want, and somebody will invite you. If you want a different email address then the one you used on this list, please let us know as well ;-) -- Moritz Lenz http

POD - Code entanglement (was: Re: [svn:perl6-synopsis] r14421 - doc/trunk/design/syn)

2007-06-14 Thread Moritz Lenz
you'll end up doing the same as I did. ATM I don't know that should be implemented, but perhaps somebody else can think of a good way. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: POD - Code entanglement

2007-06-14 Thread Moritz Lenz
Thomas Wittek wrote: Moritz Lenz: =begin pod =head3 Cmethod from_string(Str $s); [..] =end pod method from_string(Str $s){ # implementation of that method here } Since method signatures are very expressive in Perl 6, there should be a way of accessing them in the POD without

Re: [svn:perl6-synopsis] r14421 - doc/trunk/design/syn

2007-06-16 Thread Moritz Lenz
of lines, but in terms of visual blocks (at least I do), so if everything in heredoc goes verbatim into a string, I'd expect _everything_ in that block to go into that string. Everything else looks like an artificial exception to me. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de

Re: Perl 6 Parrot Essentials as project documentation

2007-06-18 Thread Moritz Lenz
beneath http://svn.pugscode.org/pugs/docs/, perhaps essentials/ Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Perl 6 Parrot Essentials as project documentation

2007-06-19 Thread Moritz Lenz
beneath http://svn.pugscode.org/pugs/docs/, perhaps essentials/ Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Perl6 new features

2007-06-20 Thread Moritz Lenz
so. Web is hopefully CGI done right, and still in its early planning stage. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Perl6 new features

2007-06-20 Thread Moritz Lenz
extents. You should discuss that on p5p, not here. Only Perl 6 is on topic here. Is there a place where we can add suggestions ? apart from the first one in... 2003 ? 4 years ago ? You can write them here on p6l. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc

Re: question about t/operators/ternary.t

2007-06-20 Thread Moritz Lenz
chromatic wrote: On Wednesday 20 June 2007 15:53:59 Moritz Lenz wrote: Basically I think that - we need the test somewhere and - it is not a test that one would usually write unless he/she found a regression in one implementation. Therefore it would be good to have them somewhere

Re: Web Module (Was: Perl6 new features)

2007-06-21 Thread Moritz Lenz
Smylers wrote: Moritz Lenz writes: You could help by contributing some suggestions to what the new Web module should be able to do, and how so. Web is hopefully CGI done right, and still in its early planning stage. Web module? This is the first I've heard of it. Where is it being

Re: [svn:perl6-synopsis] r14421 - doc/trunk/design/syn

2007-06-22 Thread Moritz Lenz
that is annotated with Pod 6. So everybody reading this is now condemned to write an OO Perl 6 module, and document it with Pod 6 ;-) -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Project Idea: Perl 6 Syntax Explainer

2007-07-10 Thread Moritz Lenz
building a p6 compiler? * Do you have a good idea for a project name? Any other ideas and comments are welcome as well. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Project Idea: Perl 6 Syntax Explainer

2007-07-10 Thread Moritz Lenz
Software programs with awful names such as YELP. It can just be a part of perldoc - that's one good name. for the ultimate goal that's true, but for the intermediate goal that I described in my first mail a name would still be useful - even if it disappears in the end. Cheers, Moritz -- Moritz

Re: Project Idea: Perl 6 Syntax Explainer

2007-07-10 Thread Moritz Lenz
(Sorry for personal message previously, now my answer to the list) Juerd Waalboer wrote: Moritz Lenz skribis 2007-07-10 12:43 (+0200): $ p6explain '[]' [...] can be * '[$expression]': access to one or more array elements if used as postcircumfix Example: @a[2]; # access

Re: Project Idea: Perl 6 Syntax Explainer

2007-07-10 Thread Moritz Lenz
Steffen Schwigon wrote: Moritz Lenz [EMAIL PROTECTED] writes: considering the vast number of Operators and the like, I had the idea to implement a tool where you can enter a small piece of p6 syntax, and it explains what that might mean. (like a perldoc -f for operators/syntax elements

Re: Project Idea: Perl 6 Syntax Explainer

2007-07-10 Thread Moritz Lenz
-- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Project Idea: Perl 6 Syntax Explainer

2007-07-12 Thread Moritz Lenz
resembling an IDE. I realize that's a long term goal. Which leads me to the question: how should the data be assembled so that it could be used in such a way? Would it be enough to store the name of the token, along with the description? Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http

Re: Project Idea: Perl 6 Syntax Explainer

2007-07-12 Thread Moritz Lenz
Dave Whipp wrote: Moritz Lenz wrote: You're probably right about that, but somebody who writes his own macros and operators probably doesn't need such a tool anyway. And should write very good documentation, otherwise he has lost outright. (I was thinking that your tool would provide

Re: Project Idea: Perl 6 Syntax Explainer

2007-07-12 Thread Moritz Lenz
Steve Pitchford wrote: Moritz Lenz wrote: Dave Whipp wrote: One approach would simply be to edit Perl-6.0.0-STD.pm and add some markup. To pick a token at random: =p6explain * An asterix in a version expression matches any version =end token whatever { '*' {*} } You convinced me

Re: Project Idea: Perl 6 Syntax Explainer: Status

2007-07-12 Thread Moritz Lenz
perlhints5.pl (implemented in p5), and a very basic web interface at http://moritz.faui2k3.org/perlhints/, for example http://moritz.faui2k3.org/perlhints/?q=*. What it lacks mostly is the data ;) Currently all data is read from a single flat file. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http

Perlhints POD blocks in grammars

2007-07-17 Thread Moritz Lenz
estimate about 10 lines per token that contains quote characters (like '{'}) $ wc -l Perl-6.0.0-STD.pm 2701 Perl-6.0.0-STD.pm $ grep -E '[^']+' Perl-6.0.0-STD.pm |wc -l 229 Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital

Re: [perl #44211] pi and e behaving strangely when used as a bareword in math

2007-07-28 Thread Moritz Lenz
: Num provides a number of constants in addition to the basic mathematical functions. To get these constants, you must request them: use Num :constants; or use the full name, e.g. Num::pi. HTH, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description

Re: Some questions about using NaN and Inf

2007-10-06 Thread Moritz Lenz
a native type? -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: [perl #47061] Segfault after parallell build

2007-10-31 Thread Moritz Lenz
Subject: [BUG] Segfault after parallell build Sorry, didn't read the output carefully enough: it's a compilation error, not a segfault. The other informations should be accurate ;) -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Concurrency

2007-12-06 Thread Moritz Lenz
starting any kind of flame-fest about anyone's favorite concurrency model here :-D Why flame, when we can have all of them at once? ;-) Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Debian packages for pugs and parrot

2007-12-19 Thread Moritz Lenz
wants to take care of these, now is the right time. You don't need to be a Debian Developer, it's enough to find one who sponsors your uploads. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Debian packages for pugs and parrot

2007-12-19 Thread Moritz Lenz
PTS subscription). If you select Advanced Mode, you can chose only to get bug reports. Moritz Allison Moritz Lenz wrote: Good localtime(), The Debian packages for pugs and parrot have been orphaned, i.e. they have no maintainer anymore, and will disappear from Debian if nobody takes

Re: Pugs File-Util tests

2008-01-03 Thread Moritz Lenz
. ... and applied as r19288 by Larry. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Sequential bias in S04 (and Perl6 in general)

2008-01-03 Thread Moritz Lenz
, and is not an Erlang based language ;-) Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: [svn:perl6-synopsis] r14485 - doc/trunk/design/syn

2008-01-17 Thread Moritz Lenz
'mö i' ? Or does the space get a \N{COMBINING DIAERESIS}? Or is it tranlated to \N{DIAERESIS}? What about other non-letter characters? -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

POD in the test suite

2008-01-18 Thread Moritz Lenz
I noticed that many test files contain old POD like this: =pod some description here =cut Should that all be replaced by the new POD? =begin description text here =end description -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP

Re: pluralization idea that keeps bugging me

2008-01-27 Thread Moritz Lenz
like macros, which are already specced - so never mind ;-) Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Syntax explainer, phase 2: planning

2008-01-30 Thread Moritz Lenz
, and that DB could be used both by the action class and to emit some perldoc). Are there better ideas, perhaps even some that don't introduce more layers? ;-) Any comments are welcome. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP

Re: Syntax explainer, phase 2: planning

2008-01-30 Thread Moritz Lenz
Larry Wall wrote: On Wed, Jan 30, 2008 at 04:08:04PM +0100, Moritz Lenz wrote: : About half a year ago I posted my idea of a program that explains Perl 6 : syntax: : : http://www.nntp.perl.org/group/perl.perl6.users/2007/07/msg621.html : : Differing from my first post I know think

Re: Syntax explainer, phase 2: planning

2008-01-30 Thread Moritz Lenz
Moritz Lenz wrote: I just ran ../../parrot perl6.pbc --target=past t/01-sanity/02-counter.t and it seems that I'm able to reconstruct the basic structure (I can identify operators and variables and their position in the source code, for example), but for example it stores variables this way

Regex syntax

2008-03-13 Thread Moritz Lenz
just tell me, I'm only following Perl 6 development for about a year). Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Getting Started - What to try?

2008-03-31 Thread Moritz Lenz
repo contains pugs, STD.pm (the grammar), some of synopsis (in docs/Perl6/Spec/), kp6 (in v6/v6-KindaPerl6), smop (in v6/smop/) and various other stuff. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: What I'm Working On

2008-04-09 Thread Moritz Lenz
John M. Dlugosz wrote: I'm taking a stab at turning the S\d\d documents into a formal standard. That's certainly a nice idea, and much work. ++ for taking it. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: cross operator and empty list

2008-04-12 Thread Moritz Lenz
[EMAIL PROTECTED] wrote: Technically the Cartesian cross operator doesn't have an identity value. It has. The set which contains only the emty set, or in perl terms ([]); Or am I missing something? Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc

Re: [perl #51690] parrot fails to build from source

2008-04-12 Thread Moritz Lenz
, did you check for a conflict with an existing Parrot installation? There was no other parrot installed. Could you check whether a current checkout of Parrot now works on CentOS? No, I don't have access to that machine any more. Sorry. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org

Re: In lieu of This Week in Perl 6

2008-04-12 Thread Moritz Lenz
/ to be wrong or outdated, feel free to contact me, and I'll send a patch to our webmasters. I tried to update the most important parts (without being too intrusive), but it's surely not complete. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description

Re: Clarify Design by Contract

2008-04-13 Thread Moritz Lenz
is MyMath { method can_take_sqrt($x:){ True } ... } That way a user of class MyMath can always call can_take_sqrt() to check if she can satisfy the precondition. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP

Re: Idea: infir types of constants

2008-04-13 Thread Moritz Lenz
an optimization to me that doesn't need to be in perl 6.0.0. Of course any implementer is welcome to do perform that optimization where possible ;-) Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Clarify Design by Contract

2008-04-13 Thread Moritz Lenz
John M. Dlugosz wrote: Moritz Lenz moritz-at-casella.verplant.org |Perl 6| wrote: This is described in depth in Object oriented software construction by Bertrand Meyer. OK, reading about it in Wiki, I see what it's supposed to do. PRE - derived classes may weaken but not strengthen

Re: New specdoc available

2008-04-15 Thread Moritz Lenz
John M. Dlugosz wrote: Moritz Lenz moritz-at-casella.verplant.org |Perl 6| wrote: John M. Dlugosz wrote: I posted my current work at http://www.dlugosz.com/files/specdoc.pdf and .odt. 3.1.1 Normalization uses a constant without a sigil - is that really allowed? Yes, it's

Re: given vs for

2008-04-25 Thread Moritz Lenz
for/when is so close... I'd assume 'given' provides scalar context onto its argument, 'for' obviously provides list context. But I guess the main difference is that 'for' is associated with iteration, and IMHO it feels unnatural to iterate over one item. -- Moritz Lenz http://moritz.faui2k3.org

Re: grammar for 'constant' ?

2008-05-04 Thread Moritz Lenz
' that it defaults to 'my', or should it be 'our' like everything else? --John -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Test suite: use v6-alpha; Test absence of builtins?

2008-05-05 Thread Moritz Lenz
is an error. So should we have tests like this: dies_ok sum(1+2), 'no builtin sum()'; It's clear that we can't test for all possible builtins, but we could at least catch the most common mistakes. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc

rakudo bug: can't assign undef to Int variable

2008-05-05 Thread Moritz Lenz
current (r27325) rakudo doesn't allow my Int $x = undef: echo 'my Int $x = undef' | ../../parro t perl6.pbc Type check failed Reported by muixirt++ Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

[PATCH] [rakudo] factor out a large chunk of method scope_declarator

2008-05-08 Thread Moritz Lenz
. It doesn't change any semantics. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Index: languages/perl6/src/parser/actions.pm === --- languages/perl6/src/parser/actions.pm (revision 27393) +++ languages/perl6

Private methods in classes and roles

2008-05-16 Thread Moritz Lenz
method !foo ... my method foo ... # same, but foo is aliased to !foo Am I right in assuming that the second example is valid only for roles? I find this different syntax for classes and roles quite confusing. Is it intended that way? I'd welcome a uniform syntax. Cheers, Moritz -- Moritz

Re: Private methods in classes and roles

2008-05-16 Thread Moritz Lenz
' is orthogonal to the scope of the class. class A { my method foo { } } class A is also { method bar { # no way to access self!foo here } } So is our method !foo {} allowed in classes? and is it the recommended way to declare private methods? -- Moritz Lenz http://moritz.faui2k3.org

[PATCH] rakudo: make target 'spectest_regression'

2008-05-21 Thread Moritz Lenz
), for example the options --regression-only and --fudge are non-orthogonal, although in an ideal world they should be. Should I refactor t/harness? or just leave it in the current shape? Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Index: t/harness

Re: [PATCH] rakudo: make target 'spectest_regression'

2008-05-21 Thread Moritz Lenz
Jonathan Worthington wrote: Moritz Lenz wrote: rakudo's make spectest suffers from too much noise in its output. The attached patch adds a spectest_regression target to Makefile that uses whitelisting to run only those tests that are known to pass. This is really useful! Applied

[PATCH] refactor rakudo's t/harness

2008-05-22 Thread Moritz Lenz
compile to execution time * --fudge and --regression-only now work orthogonally * 'make spectest' now runs all of the spec tests. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Index: t/harness

Re: [perl #54734] make perl6 failing on Revision: 27774 (Ubuntu 8.06)

2008-05-23 Thread Moritz Lenz
[EMAIL PROTECTED] (via RT) wrote: gmake[1]: *** No rule to make target `src/pmc/mutable.pmc.template', needed by `src/pmc/mutable.pmc'. Stop. Thanks for reporting, attached patch (+ 'make Makefile') fixes this for me. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Index

[PATCH] more regression tests for rakudo

2008-05-24 Thread Moritz Lenz
Attached patch adds a few more files to the 'make spectest_regression' target. All of them pass. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Index: languages/perl6/t/passing_spec === --- languages

Re: [perl #54946] [PATCH] more operators in grammar, implemented !==, !eq

2008-05-28 Thread Moritz Lenz
-inclusive range: ..^ ^.. ^..^ ISTR that the current policy is to parse only the things that are implemented in the compiler. (should I submit a patch for README with a few more commit policies? or a separate document? Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de

Re: [perl #54988] AutoReply: [PATCH] enhance t/harness (again)

2008-05-28 Thread Moritz Lenz
' make target. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Index: t/harness === --- t/harness (revision 27895) +++ t/harness (working copy) @@ -22,6 +22,7 @@ GetOptions( 'tests-from-file=s

Re: Clarification of t/spec/S29-array/delete.t

2008-05-29 Thread Moritz Lenz
would violate an is shape() definition. I added that as a test (+smartlink). I also fixed the other four offending tests. Rakudo now passes all of t/S29-array/delete.t Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital

[PATCH] more tests, and test clarification

2008-05-30 Thread Moritz Lenz
$_ in map works (2)'; } These two tests actually succeed in rakudo, but should they? -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Index: t/spectest_regression.data === --- t/spectest_regression.data (revision 27933

Re: [perl #55164] [BUG] segmentation fault in rakudo's test

2008-06-03 Thread Moritz Lenz
PROTECTED]; Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: building pugs under Fedora 9 doesn't work

2008-06-03 Thread Moritz Lenz
This is a known issue, and nobody really knows what to do about it. Pugs isn't actively developed at the moment. My last successful build was r18093 with GHC 6.6.1. Maybe we should just die in Makefile.PL until somebody finds a fix. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6

Re: building pugs under Fedora 9 doesn't work

2008-06-03 Thread Moritz Lenz
Ryan Richter wrote: On Tue, Jun 03, 2008 at 12:03:00PM +0200, Moritz Lenz wrote: My last successful build was r18093 with GHC 6.6.1. Maybe we should just die in Makefile.PL until somebody finds a fix. Maybe we should just revert the pugs source to that rev. Haven't the modifications since

[PATCH] eval_(dies|lives)_ok methods for rakudo's Test.pm, and more tests

2008-06-04 Thread Moritz Lenz
Attached patch, mostly courtesy Vasily bacek Chekalkin, adds the eval_lives_ok and eval_dies_ok methods to Test.pm, and adds three more passing tests to 'make spectest_regression'. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #55304] [PATCH] eval_(dies|lives)_ok methods for rakudo's Test.pm, and more tests

2008-06-04 Thread Moritz Lenz
Oops, forgot to attach patch. Now it's really there. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Index: languages/perl6/t/spectest_regression.data === --- languages/perl6/t/spectest_regression.data (revision 28065

Re: Clarification on S12

2008-06-05 Thread Moritz Lenz
. If it should fall back (and I don't know if it does), you have to declare sub bar(Foo $w, Int $x){ say sub bar } How about if the method isn't a multimethod (or if the sub is a multisub)? Pm -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #55304] [PATCH] eval_(dies|lives)_ok methods for rakudo's Test.pm, and more tests

2008-06-05 Thread Moritz Lenz
Ronald Schmidt wrote: Moritz Lenz wrote: Oops, forgot to attach patch. Now it's really there. Your implementations of eval_lives_ok and eval_dies_ok seem inconsistent. eval_lives_ok uses try and eval_dies_ok does not. The two implementations may catch different types of exceptions

Re: t/spec/S02-builtin_data_types/type.t and 'try' statement

2008-06-07 Thread Moritz Lenz
Patrick R. Michaud wrote: t/spec/S02-builtin_data_types/type.t:23 in the spectests (r20685) has the following: my Int $foo; my Str $bar; #?rakudo skip 'type checking unimpl' { #?pugs 1 todo is(try{$foo = 'xyz'}, undef, 'Int restricts to integers');

clarification on samecase() and samebase()

2008-06-08 Thread Moritz Lenz
specifies the operation mode? Or are they both dump, and the regex engine does the mapping from smart to dump itself? Anyway, S29 needs clarification. BTW the naming seems inconsistent to me: same*case* preserves *case*, but same*base* preserves *accents* -- Moritz Lenz http://moritz.faui2k3

Re: Google index and subsets (two topics for the price of one!)

2008-06-09 Thread Moritz Lenz
for free: subset Crosshair of Point where { $_.inside_of($target_zone) }; Is that valid syntax? Yes. See http://perlcabal.org/syn/S02.html#Polymorphic_types for similar examples. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

[PATCH] more tests for spectest_regression

2008-06-14 Thread Moritz Lenz
Attached patch adds three more test files (list builtins). The last two tests in joint. are likely to be wrong, and are fudged as such. Further clarification is welcome. More on that in a separate mail. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Index: t

fallback semantics of list methods

2008-06-14 Thread Moritz Lenz
hope I didn't confuse too much here ;-) Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Keep the 'keet Re: Renaming Plumhead

2008-06-15 Thread Moritz Lenz
-implementations. Nonetheless you should investigate in that direction before choosing PHParakeet as a name. This still has the PHP in it, but only as a sensible abbreviation of Plum-Headed Parakeet. Regards, Bernhard -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Graph for Rakudo Blog Post about Passing Tests

2008-06-16 Thread Moritz Lenz
in that blog post, and use the script as you see fit. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ rakudo-graph.pl Description: Perl program inline: graph.png

Re: [perl #55944] [PATCH] chop.t ready for spectest_regression

2008-06-18 Thread Moritz Lenz
). If you want to modify more tests, you can easily get a commit bit for that repository, just ask me or someone on #perl6 (on irc.freenode.net) Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Graph for Rakudo Blog Post about Passing Tests

2008-06-19 Thread Moritz Lenz
Attached is an updated version, as well as an example chart it creates. This is not as pretty as the previous version, but it's more informative. If there are significant number of failed tests, I could also include their number. Any comments? Cheers, Moritz -- Moritz Lenz http

Re: Graph for Rakudo Blog Post about Passing Tests

2008-06-19 Thread Moritz Lenz
Ovid wrote: --- Moritz Lenz [EMAIL PROTECTED] wrote: Attached is an updated version, as well as an example chart it creates. This is not as pretty as the previous version, but it's more informative. If there are significant number of failed tests, I could also include their number. Any

Re: Graph for Rakudo Blog Post about Passing Tests

2008-06-22 Thread Moritz Lenz
Hi again, Ovid wrote: --- Moritz Lenz [EMAIL PROTECTED] wrote: Attached is an updated version, as well as an example chart it creates. This is not as pretty as the previous version, but it's more informative. If there are significant number of failed tests, I could also include

Re: Strange variable behaviour

2008-06-22 Thread Moritz Lenz
the number of tests wrongly. I'll probably move some of the simpler tests to a separate file to work around these limitations for now (currently assign.t has 308 tests, which is way above average anyway) Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

[PATCH] Re: Strange variable behaviour

2008-06-22 Thread Moritz Lenz
Moritz Lenz wrote: Will Coleda wrote: On Sun, Jun 22, 2008 at 2:59 PM, Frederik Schwarzer [EMAIL PROTECTED] wrote: ... But if I do: my @arr = (23, 42); my $temp = @arr[0]; # copy? @arr[0] = @arr[1]; say $temp; # 42 $temp is 42 ... I expected $temp to be 23 here. Am I

Re: Bugs or Unimplemented Features?

2008-06-24 Thread Moritz Lenz
seem to be under-tested indeed. Which reminds me of, we should have a guide to add tests in the pugs repo with all informations in one place, and have the linked to from the rakudo README. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Bugs or Unimplemented Features?

2008-06-25 Thread Moritz Lenz
fails with Null PMC access in type(), not with Type check failed. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #56230] [PATCH] Multimethods for Complex.

2008-06-25 Thread Moritz Lenz
? Or everything into Complex.pir? Or everything but the ops in Complex.pir, and ops into builtins/op.pir? Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #56330] [BUG] incorrectly quote context on parse failure

2008-06-25 Thread Moritz Lenz
Patrick R. Michaud wrote: On Wed, Jun 25, 2008 at 01:04:43AM -0700, Moritz Lenz wrote: Rakudo as of r28692 reports a slightly wrong context on reporting parse failures. When trying to parse t/spec/S02-builtin_data_types/lists.t (r21012) it reports: Statement not terminated properly

Re: [svn:parrot] r28689 - trunk/languages/perl6/t

2008-06-25 Thread Moritz Lenz
strongly protests in the mean time). -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: .join on Array

2008-06-26 Thread Moritz Lenz
('-') Thanks! Pm -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

  1   2   3   4   5   6   7   8   9   10   >