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

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: 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: question about t/operators/ternary.t

2007-06-20 Thread Moritz Lenz
else? I don't know. Somehow it's good to have parse tests in the test file of the corresponding feature, but I'm not sure if there is a better solution here... -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: question about t/operators/ternary.t

2007-06-20 Thread Moritz Lenz
reduce the wtf?-effect while reading the official tests. Of course all other implementations have to pass them as well... I'd suggest t/regression/$implementation/ in the pugs repository as the new location for such tests. I'd any comments on that. Moritz -- Moritz Lenz http://moritz.faui2k3.org

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

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

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

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

[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

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: 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');

[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/

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-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: [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/

Rakudo test miscellanea

2008-06-26 Thread Moritz Lenz
-- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Feature 4 skipped: calling postcircumfix:() with a dot 9 skipped: whatever star 1 skipped: whatever star not implemented 7 skipped: prefix:\ 21 skipped: prefix:\ not implemented 4 skipped: int, num, undef assign

Re: Rakudo test miscellanea

2008-06-26 Thread Moritz Lenz
Patrick R. Michaud wrote: On Thu, Jun 26, 2008 at 11:36:05AM +0200, Moritz Lenz wrote: [...] it would be useful to have an option that makes localtest more verbose. Specifically if a script dies, it's not obvious after which test it died. I'm not exactly sure what is meant here -- do you

Re: Rakudo test miscellanea

2008-06-26 Thread Moritz Lenz
(cross-posting to p6l) Ryan Richter wrote: On Thu, Jun 26, 2008 at 11:36:05AM +0200, Moritz Lenz wrote: 2) How do we know which numeric type is a class and which is a role? Is there an explicit spec about the types of number literals? That could have some impact on type checking

Missed #perl6-soc meeting

2008-07-02 Thread Moritz Lenz
) might help. I know that these things are being worked on. Keep up the good work. Adrian: In case you had any doubt, the mid-term evaluation from me will be positive. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [PATCH] suggestion for the file grammar.pg

2008-07-03 Thread Moritz Lenz
rakudo's parser is modeled) doesn't allow it. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #56660] [PATCH] Rakudo harness not checking for test file

2008-07-07 Thread Moritz Lenz
the test, though it probably should be a reported (measurable) error. Applied the patch as r29116, thank you very kindly. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #56640] The return value of an an empty block, when evaluated, produces an error

2008-07-07 Thread Moritz Lenz
empty-block.patch ; make perl6 [...] $ ./perl6 nothing.pl $ Thank you for your patch, but it produces a lot of test failures spectest_regression. So the patch needs more work, but I don't feel competent enough for that right now. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org

Re: A detailed to-do list?

2008-07-09 Thread Moritz Lenz
are. Thank you for your offer to help, it is greatly appreciated. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: A detailed to-do list?

2008-07-09 Thread Moritz Lenz
can get a commit bit for the pugs repository immediately (the tests live in the pugs repo) - just tell me your desired nick name, and I'll send you an invitation. If you have more questions, don't hesitate to ask. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #56900] [TODO] more ROADMAP informations

2008-07-14 Thread Moritz Lenz
Patrick R. Michaud wrote: On Sun, Jul 13, 2008 at 01:30:27PM -0700, Moritz Lenz wrote: I read ROADMAP again the other day, and thought about topics that we could offer new hackers to work on, hopefully mostly independent of other items in the roadmap. I didn't come up with something good

Re: [perl #57018] Empty -e argument sends rakudo into REPL mode

2008-07-16 Thread Moritz Lenz
Carl Mäsak (via RT) wrote: Both $ ./perl6 -e '' and $ ../../parrot perl6.pbc -e '' Also -e 0 send rakudo into REPL mode, whereas $ perl -e '' doesn't. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: odd (lexical?) issue with Rakudo/Parrot

2008-07-17 Thread Moritz Lenz
that will behave right in every context. So if you just return a match object (that one that would usually ends up in $/ ) you should be just fine all contexts. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #57318] Untodo a test

2008-07-27 Thread Moritz Lenz
in derived classes'); my $fud; +#?rakudo 2 todo 'various oo bugs' lives_ok { $fud = $foo_bar.getme.fud }, 'chained method dispatch on altered method'; is($fud, Foo::Bar::fud, returned value is correct); -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Project idea: Perl 6 syntax hilighting with STD.pm

2008-07-28 Thread Moritz Lenz
$Larry ;-) Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #57356] Iterating a filehandle dies

2008-07-28 Thread Moritz Lenz
/HLLCompiler.pir:699) called from Sub 'parrot;Perl6::Compiler;main' pc 14567 (perl6.pir:172) -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #57790] array indexing of integers parses(!), fails at runtime and exposes internals

2008-08-14 Thread Moritz Lenz
{ method postcircumfix:[ ] { ... } } In general .[] and .{} are just method calls with a fancy syntax, so they are allowed everywhere (but might throw runtime errors). Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #57972] Implement eqv and === operators

2008-08-18 Thread Moritz Lenz
[EMAIL PROTECTED] (via RT) wrote: Implement eqv and === operators infix:=== is already implemented, and from a few quick tests it seems to work. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58024] Implement .perl on code objects

2008-08-18 Thread Moritz Lenz
should return here Some discussions on if and how closures should be clonable via .perl: http://irclog.perlgeek.de/perl6/2008-07-31#i_417160 -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58278] [BUG] Slurpy params give Cannot morph a Perl6Scalar. error

2008-08-22 Thread Moritz Lenz
all fails -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58302] [BUG] binary junctions of undefs in boolean context fails (21/37)

2008-08-24 Thread Moritz Lenz
34 to 36 were a bit overcritical: (0|undef say not ok 34) || say not ok 34; (0undef say not ok 35) || say not ok 35; (0^undef say not ok 36) || say not ok 36; but are easily corrected. The rest seem fine to me. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58338] [BUG] primes.p6 segfaults after 6000+ primes

2008-08-25 Thread Moritz Lenz
package and precompile it with ../../parrot perl6.pbc --target=pir Prime.pm Prime.pir and then 'use Prime;' in the script. Maybe that motivates some brave debugging soul... Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58372] Autovivification

2008-08-26 Thread Moritz Lenz
are indeed non-destructive: my %hash; exists %hashfoobar; # %hash is still empty I think that's very clearly not what is implemented at the moment ;-) -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58392] Recursion and for loops interact badly in Rakudo

2008-08-27 Thread Moritz Lenz
Carl MXXsak (via RT) wrote: r30589: $ cat for-loop-recursion.bug sub f($l) { return() if $l = 0; say entering $l; for 1..3 { f($l-1); say looping in $l; } } f(2); I re-worked that as a test and added it to t/spec/S04-statements/for.t Moritz -- Moritz Lenz

Re: [PGE][BUG][PATCH] Apostrophes in optables are compiled to broken pir

2008-08-29 Thread Moritz Lenz
/Escape.pbc to escape the names. The only modified file is runtime/parrot/library/PGE/Perl6Grammar.pir A test for that would be nice. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Index: runtime/parrot/library/PGE/Perl6Grammar.pir

Re: [perl #58424] Named regex, token and rule don't work outside of a grammar

2008-09-01 Thread Moritz Lenz
. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58500] [BUG] round broken, bugfix included

2008-09-02 Thread Moritz Lenz
'say round(4);' 4 sully:perl6 stephensimmons$ perl6 -e 'say round(3.6);' 4 Please let me know the proper form for submitting bug fixes. I remember reading it somewhere, but I couldn't find it tonight. Yes it is. Thanks again. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http

Re: [perl #58524] prefix:= doesn't read from $*IN in Rakudo

2008-09-03 Thread Moritz Lenz
(i.e. repeats what I write) OH HAI! OH HAI! $ ./perl6 -e 'say =$*IN' # doesn't work 0 Shouldn't that be just =$*IN ? $ ./perl6 -e 'say =' # doesn't work -1 That is used as an example in S04, so it should work. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58644] [BUG] rindex fails on non-string invocant

2008-09-07 Thread Moritz Lenz
has a bug: $ ./parrot perl6.pbc say 85224.rindex('2'); Method 'reverse_index' not found for invocant of class 'Int' Added a (skipped) test to t/spec/S29-str/rindex.t Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58744] Hashes flatten lists

2008-09-10 Thread Moritz Lenz
Moritz Lenz (via RT) wrote: # New Ticket Created by Moritz Lenz # Please include the string: [perl #58744] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58744 Rakudo r30946: 08:35 masak rakudo: .perl.say

Re: [perl #57530] Fwd: Parallelize the Perl 6 tests

2008-09-10 Thread Moritz Lenz
the patch. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #57530] Fwd: Parallelize the Perl 6 tests

2008-09-10 Thread Moritz Lenz
Moritz Lenz wrote: Thank you very much. On Debian with two cores I get 2 jobs: 4m04 1 job: 2m35 Well, actually it's the other way round ;-) -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #57530] Fwd: Parallelize the Perl 6 tests

2008-09-10 Thread Moritz Lenz
is crucial when you try to fudge tests for rakudo) 3) 'make t/spec/$path_to_file.t' is now verbose by default (which also makes sense because you usually don't want to run many of those from the command line) Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ Index: lib/Parrot

Re: [perl #58602] subset types and multi dispatch don't mix

2008-09-14 Thread Moritz Lenz
to get that sorted out in the near future. Currently (r31122) the example dies with Ambiguous dispatch.. (On a related note, could we get more verbose error messages? Ambiguous dispatch for { sub | method } $name would be more helpful.) Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl

Re: [perl #58526] pick(*) is broken on nested arrays in Rakudo

2008-09-15 Thread Moritz Lenz
behaviour, and probably not intended. A saner behaviour would be for pick not to flatten elements which happen to be arrays. Added a simple test to S29-pick.t (pugs r22260), and added the same to spectest_regression in r31165. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58282] [BUG] elsif defined $a { return $a} fails

2008-09-16 Thread Moritz Lenz
3# should have returned -4, similar to test 4, next. 4 -2 5 in trunk, r31178 this gives the desired output (specifically '3 -4'), so I'll close this ticket. (I suspect it was either a problem with defined() which was improved lately, or a parsing problem). -- Moritz Lenz http

Re: [perl #58970] Initial implementation of Str.split(Regex)

2008-09-17 Thread Moritz Lenz
. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58970] Initial implementation of Str.split(Regex)

2008-09-18 Thread Moritz Lenz
signature right for split on a strong + not break reverse. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58970] Initial implementation of Str.split(Regex)

2008-09-18 Thread Moritz Lenz
Chris Davaz wrote: hmm I see I'll work it out ;-) Thanks I just found out that the segfault is not introduced by your patch, one less worry for you ;-) Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #58828] Make calleable -sigil parameters work in rakudo

2008-09-18 Thread Moritz Lenz
[EMAIL PROTECTED] via RT wrote: On Sat Sep 13 04:33:53 2008, masak wrote: OH HAI...you can haz fix in r31228. Plz I can haz spectests so we avoidz regreshuns? IF u sai so. U can haz tesz in r31229. KTXBAI, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Made some fixes to split on a regex and moved from Str.pir to any-str.pir

2008-09-18 Thread Moritz Lenz
usable right now ;-) Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Patch for split(thing, delimiter) function

2008-09-19 Thread Moritz Lenz
Chris Davaz wrote: Moved the split function from Str.pir to any-str.pm and removed the Perl6Str coercion. Thanks, applied as r31265. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

pugs r22304 - [Book] A few small updates to chapters 6 and 7

2008-09-21 Thread Moritz Lenz
automatically a sub-class of the outer class? (I understand sub-class as inherits from the parent class) Also I thought that the inner class definitions don't need the prefix from the outer class, but I can't find it in the specs from a quick glance. Moritz -- Moritz Lenz http://moritz.faui2k3.org

[perl #59068] Re: [november] Re: .perl fix

2008-09-21 Thread Moritz Lenz
://perlcabal.org/syn/S02.html#Literals ) Or in Perl 6 code: s:g/[\\$%@{]/\\$0/ Additionally some white spaces might be nice to escape, but I don't think it's mandatory: \n, \t. Also non-ASCII-Codepoints could be replaced by their \x... or \c... escape sequence. Moritz -- Moritz Lenz http

Re: [perl #59222] [PATCH] string to number radix support

2008-09-23 Thread Moritz Lenz
) { +FLOATVAL number = 0.0; +//continue until the end or until we've hit a non-digit +while (*start stop isxdigit((unsigned char)**start)) { Your usage of isxdigit() makes me wonder - will that work for bases 16? Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #59396] [PATCH] Implementation of Hash.reverse.

2008-09-27 Thread Moritz Lenz
the solution is to avoid name conflicts in this case, maybe name the methods like this: Str.mirror List.reverse Hash.inverse (or Hash.flip) (I've never been good with names, so there might be much better ones). Moritz -- Moritz Lenz http://perlgeek.de/ | http://perl-6.de/ | http://sudokugarden.de/

Re: [perl #59394] [PATCH] Implementation of Pair.pairs.

2008-09-29 Thread Moritz Lenz
' here -- the exported pairs function should be the one that is on 'Any'. Either that or it needs to be a :multi so that we can distinguish between them. What should Any.pairs do? Assume it's a one-item list and return (0 = self)? Moritz -- Moritz Lenz http://perlgeek.de/ | http://perl-6.de

Re: [pugs-commits] r22496 - t/spec/S03-operators

2008-10-05 Thread Moritz Lenz
). Agreed. Moritz -- Moritz Lenz http://perlgeek.de/ | http://perl-6.de/ | http://sudokugarden.de/

[RFC][PATCH] Rename Rakudo's spectest_regression to spectest

2008-10-10 Thread Moritz Lenz
. Attached patch does that, thoughts (and testing on various platforms) welcome. (To paraphrase Nicholas: Works on my machine, ie on boring 32 bit Linux). The old spectest_regression remains as an alias. Should I also rename t/spectest_regression.data to t/spectest.data? -- Moritz Lenz http

Re: [RFC][PATCH] Rename Rakudo's spectest_regression to spectest

2008-10-10 Thread Moritz Lenz
jerry gay wrote: On Fri, Oct 10, 2008 at 5:26 AM, Moritz Lenz [EMAIL PROTECTED] wrote: Many people who try out Rakudo want to inform us about hanging or failing make spectest - which is expected to fail until we implement all of Perl 6 that is currently tested. Therefore I'd like to rename

Re: [perl #57584] [BUG] Can't test for truthness of $!

2008-10-19 Thread Moritz Lenz
Vasily Chekalkin wrote: Hello. WFM on r32022 Not for me on r32033. Did you actually run the second test? Moritz -- Moritz Lenz http://perlgeek.de/ | http://perl-6.de/ | http://sudokugarden.de/

Re: [perl #60018] [PATCH] Update README test information

2008-10-20 Thread Moritz Lenz
to run individual tests. Moritz Lenz explained the correct way of handling this, so this patch adds that information to the README so that others won't have to bug the list (not that they'll read that :) Thanks for the patch, applied as r32066. (I referenced the wrong ticket in the commit

Re: [perl #60092] $/ cannot be assigned to other vars or passed as a parameter

2008-10-24 Thread Moritz Lenz
on parrot 0.8.0-devel for darwin-thread-multi-2level. -- Moritz Lenz http://perlgeek.de/ | http://perl-6.de/ | http://sudokugarden.de/

Re: [perl #60168] [PATCH] Refactor Junction.

2008-10-28 Thread Moritz Lenz
to avoid stringification of results. Okay to apply patch as long as spectest_regression still passes. It does, even with a few passing TODO tests. So applied yesterday, but forgot which revision it was, sorry. Moritz -- Moritz Lenz http://perlgeek.de/ | http://perl-6.de/ | http://sudokugarden.de/

Re: [perl #60528] Rakudo wrongly permits mutation of readonly variables in some cases

2008-11-17 Thread Moritz Lenz
it, but there are no tests yet (with an appropriate comment, of course). I can't promise to write tests for everything, but the chances are much higher that way. Cheers, Moritz -- Moritz Lenz http://perlgeek.de/ | http://perl-6.de/ | http://sudokugarden.de/

Re: [perl #60732] Hash indexes shouldn't work on array refs

2008-11-24 Thread Moritz Lenz
jerry gay wrote: On Fri, Nov 21, 2008 at 10:43, via RT Moritz Lenz [EMAIL PROTECTED] wrote: # New Ticket Created by Moritz Lenz # Please include the string: [perl #60732] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html

Re: [perl #60828] [BUG] ^...@list returns ridicously long lists

2008-11-26 Thread Moritz Lenz
Patrick R. Michaud wrote: Currently Rakudo is treating [EMAIL PROTECTED] as though it's prefix:^ on a List, which S03 says If [prefix:^ is] applied to a list, it generates a multidimensional set of subscripts. for ^(3,3) { ... } #

Re: [perl #61308] rule's capture ws

2008-12-14 Thread Moritz Lenz
Martin Kjeldsen (via RT) wrote: # New Ticket Created by Martin Kjeldsen # Please include the string: [perl #61308] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61308 When using rules at least with ws

Re: [perl #61308] rule's capture ws

2008-12-15 Thread Moritz Lenz
Moritz Lenz wrote: Martin Kjeldsen (via RT) wrote: # New Ticket Created by Martin Kjeldsen # Please include the string: [perl #61308] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61308 When using rules

Re: [perl #60510] Bad plan: t/spec/S29-conversions/ord_and_chr.rakudo

2008-12-15 Thread Moritz Lenz
Patrick R. Michaud via RT wrote: Is t/spec/S29-conversions/ord_and_char.t still failing for anyone? If not, I'd like to close this ticket. It's fine here. Cheers, Moritz

Re: [perl #61544] Arrays not properly created when declared in list syntax

2008-12-20 Thread Moritz Lenz
Cory Spencer (via RT) wrote: # New Ticket Created by Cory Spencer # Please include the string: [perl #61544] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61544 When declaring one or more array variables

Test suite: examples/99problems/

2008-12-25 Thread Moritz Lenz
Hi, I recently wondered what to do with the small scripts in t/examples/99problems/*.t. As regression tests they seem quite nice, but the flood of many small files somehow deterred me. Now my proposal is to move them to t/spec/integration/, and always join 10 of them together, so that we might

Re: [perl #61742] [BUG] Rakudo evals use statement during parse phase

2008-12-27 Thread Moritz Lenz
Jeff Horwitz (via RT) wrote: # New Ticket Created by Jeff Horwitz # Please include the string: [perl #61742] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61742 Rakduo's behavior has changed in the past two

Re: [perl #61928] [BUG] (undef === undef)

2009-01-05 Thread Moritz Lenz
Patrick R. Michaud wrote: On Fri, Jan 02, 2009 at 01:52:45PM -0800, Todd Hepler wrote: I think this is a bug, but I'm not sure. (undef === undef) currently evaluates to false. Seem like it should be true. I couldn't find a test for it, so below is a patch to add one. Before entering

Re: [perl #61920] [PATCH] test division in 02-op-math.t

2009-01-05 Thread Moritz Lenz
Kyle Hasselbacher (via RT) wrote: # New Ticket Created by Kyle Hasselbacher # Please include the string: [perl #61920] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61920 I didn't see division in with the

Re: [perl #61836] Rakudo cannot take the minimum of undef

2009-01-05 Thread Moritz Lenz
Carl MXXsak (via RT) wrote: # New Ticket Created by Carl Mäsak # Please include the string: [perl #61836] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61836 Rakudo r34628: $ perl6 -e 'undef min 2'

Re: [perl #61838] Rakudo allows reference to variables before their declaration

2009-01-05 Thread Moritz Lenz
Carl MXXsak (via RT) wrote: # New Ticket Created by Carl Mäsak # Please include the string: [perl #61838] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61838 Rakudo r34628: $ perl6 -e 'my $a = $b' Scope

Re: [perl #61840] [TODO] min= and max= operators

2009-01-05 Thread Moritz Lenz
Carl MXXsak (via RT) wrote: # New Ticket Created by Carl Mäsak # Please include the string: [perl #61840] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61840 Rakudo r34628 doesn't support the assignment

Re: [perl #61942] NaN !~~ NaN in Rakudo

2009-01-06 Thread Moritz Lenz
I now added a test to t/spec/S03-operators/smartmatch.t Moritz

Re: New Test.pm (not a patch)

2009-01-14 Thread Moritz Lenz
On Tue, Jan 13, 2009 at 11:51:45PM -0800, Ovid wrote: - Original Message From: Moritz Lenz mor...@faui2k3.org Ovid wrote: OK, I'm tired of submitting bug reports. Still bug reports are valuable. When you find your motivation again, please continue to submit them. I

Re: Rakudo leaving the Parrot nest

2009-01-14 Thread Moritz Lenz
As a Rakudo contributor I feel I should comment on this, although most of my comments aren't all that exciting. Patrick R. Michaud wrote: Source code repository -- [...] Many people have strongly suggested that we switch to using git as our version control system. At the

Re: Rakudo leaving the Parrot nest

2009-01-15 Thread Moritz Lenz
On Thu, Jan 15, 2009 at 04:20:28PM -, a...@ippimail.com wrote: As outlined, the requirements seem to be pretty much those of any major Open Source development project. Keeping this in mind might yield a generic template usable by other projects in future. Solving generic problems rather

  1   2   3   >