dpkg-buildpacke fails due to outdated 10smoke patch

2007-02-05 Thread Moritz Lenz
(sorry, 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
al.org/syn/S05.html#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
while no instance of pugs is running anymore, and after another minute the "make smoke" exits 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 tha

Re: pugs: aborting smoke tests

2007-04-11 Thread Moritz Lenz
/5.8 /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/share/perl/5.8/auto/pugs/perl6/lib /usr/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/morit

Re: Does =$*ARGS work?

2007-04-12 Thread Moritz Lenz
[EMAIL PROTECTED] That seems more reasonable, because 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 >>&

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 m

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 Len

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

2007-04-15 Thread Moritz Lenz
might be a good idea for a perl6 microgrant: 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

Re: Is Perl 6 too late?

2007-05-13 Thread Moritz Lenz
n code here Don't get me wrong, there's nothing bad in writing some critics, but yours is impossible to realize in Perl 6, and therefore are it's hard to call it constructive. 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

Re: Is Perl 6 too late?

2007-05-14 Thread Moritz Lenz
o implementation will ever 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 semicol

Re: x and xx operators fail when given negatives

2007-05-25 Thread Moritz Lenz
gt; Hopefully the patch will make it through 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, p

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

2007-06-14 Thread Moritz Lenz
ass and document it properly. I'm sure 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 C >> [..] >> =end pod >> >> method from_string(Str $s){ >> # implementation of that method here >> } >> >> Since method signatures are very expressive in

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

2007-06-16 Thread Moritz Lenz
rpreter/compiler rather hard - why should we stop with this philosophy when talking about POD and POD-Parser? I'd find it very annoying to have lines starting with '=' in a heredoc beeing counted as POD. Humans don't think in terms of lines, but in terms of visual blocks (at leas

Re: Perl 6 & Parrot Essentials as project documentation

2007-06-18 Thread Moritz Lenz
rl.org/perl6/doc is very low. I'd suggest something 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
rl.org/perl6/doc is very low. I'd suggest something 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
> language ! 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. 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
ould be changed to some 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.

Re: question about t/operators/ternary.t

2007-06-20 Thread Moritz Lenz
y invented it just for fun, so we probably need it. > Does it perhaps belong somewhere 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
to have them somewhere separately, in an implementation-specific manner. That would 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 th

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. >> >&g

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 modu

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

2007-06-22 Thread Moritz Lenz
en't read enough real Perl 6 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
your opinion: * Anything else that should go into the requirements? * Is it useful at all? * Is it possible to implement it satisfactory without 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
he 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 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
(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 >&g

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

Re: Project Idea: Perl 6 Syntax Explainer

2007-07-10 Thread Moritz Lenz
I can implement that soonish. Do you have good idea how to do it? 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-12 Thread Moritz Lenz
needs to do its work by annotating an entire compilation unit > and then making that information available to something 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? W

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. > >

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

Re: Project Idea: Perl 6 Syntax Explainer: Status

2007-07-12 Thread Moritz Lenz
interface called 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 Le

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 signature

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

2007-07-28 Thread Moritz Lenz
here are 'pi' and 'e' defined (e.g., in > the Synopses or other specs)? Do these even belong in the > test suite? S29, section "Num": Num provides a number of constants in addition to the basic mathematical functions. To get these constants, you must request them:

Re: Some questions about using NaN and Inf

2007-10-06 Thread Moritz Lenz
me sort of constaint on the return value that > they wouldn't want exceptional values. return a native type? -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/ signature.asc Description: OpenPGP digital signature

Re: Fwd: Working with a regex using positional captures stored in a variableperl6-us...@perl.org

2021-03-11 Thread Moritz Lenz
and then interpolated into a regex. > > Do capture groups need to be defined at the top level where the > regex is used? > > { # From a code example in the "Parsing" book by Moritz Lenz, p. 48, > section 5.2 >my $input = 'There are 9 million bicycles in b

Re: [perl #56548] PATCH] for file "01-literals.t"

2008-07-03 Thread Moritz Lenz
etc.) If you want to contribute to the test suite, please tell us your desired nick name and you can get a commit bit. 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
x27;t think so, and STD.pm (after which 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 long fudgeall help message. > This patch gives a warning and skips 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
6 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/ | http://perl-6.de/

Re: [svn:parrot] r28944 - in trunk: . languages/perl6/tools - Call for testing

2008-07-07 Thread Moritz Lenz
chromatic wrote: > On Wednesday 02 July 2008 03:59:05 Moritz Lenz wrote: > >> I'd like to get some feedback on this commit regard platform >> interoperability. >> >> I could only test it on linux, so I'm not sure what could break. >> (One com

Re: A detailed to-do list?

2008-07-09 Thread Moritz Lenz
f you tell us what your strong skills 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
://svn.pugscode.org/pugs/t/spec/S29-num/ Patches to rakudo can be sent to [EMAIL PROTECTED], patches to the test suite either to this list, or you 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

Re: src/jit/i386/core.jit:1031: error: 'DO' undeclared

2008-07-11 Thread Moritz Lenz
/jit/i386/core.jit: In function 'Parrot_iseq_i_n_n_exec': > src/jit/i386/core.jit:1519: error: 'DO' undeclared (first use in this > function) > src/jit/i386/core.jit:1519: error: expected ';' before '{' token > src/jit/i386/core.jit:1519: error: expected ';' before '{' token > src/jit/i386/core.jit: In function 'Parrot_iseq_i_nc_n_exec': > src/jit/i386/core.jit:1626: error: 'DO' undeclared (first use in this > function) > src/jit/i386/core.jit:1626: error: expected ';' before '{' token > src/jit/i386/core.jit:1626: error: expected ';' before '{' token > src/jit/i386/core.jit: In function 'Parrot_isne_i_n_n_exec': > src/jit/i386/core.jit:1519: error: 'DO' undeclared (first use in this > function) > src/jit/i386/core.jit:1519: error: expected ';' before '{' token > src/jit/i386/core.jit:1519: error: expected ';' before '{' token > src/jit/i386/core.jit: In function 'Parrot_isne_i_nc_n_exec': > src/jit/i386/core.jit:1626: error: 'DO' undeclared (first use in this > function) > src/jit/i386/core.jit:1626: error: expected ';' before '{' token > src/jit/i386/core.jit:1626: error: expected ';' before '{' token > make: *** [src/exec_cpu.o] Error 1 -- 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. >>

Complex planes

2008-07-15 Thread Moritz Lenz
i like Complex.angle does)? Or simply fix the test to be agnostic to complex planes? Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: encoding vs charset

2008-07-15 Thread Moritz Lenz
neric one. Here's the discussion we had on this subject: http://irclog.perlgeek.de/parrot/2008-06-23#i_362697 Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: encoding vs charset

2008-07-15 Thread Moritz Lenz
h > even inside unicode, and adding another layer of complexity will make > it worse. I think that distinguishing incompatible character sets is no harder than distinguishing text and binary strings. It's not another layer, it's just a layer used in a more general way. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Complex planes

2008-07-16 Thread Moritz Lenz
Jon Lang wrote: > Larry Wall wrote: >> On Tue, Jul 15, 2008 at 03:30:24PM +0200, Moritz Lenz wrote: >> : Today bacek++ implement complex logarithms in rakudo, and one of the >> : tests failed because it assumed the result to be on a different complex >> : plane. (l

Re: Complex planes

2008-07-16 Thread Moritz Lenz
Jon Lang wrote: > Moritz Lenz wrote: >> Jon Lang wrote: >>> By the principle of least surprise, I'd recommend against this. Most >>> programmers, when they see 'sqrt(1)', will expect a return value of 1, >> >> And that's what they get un

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-16 Thread Moritz Lenz
to .match probably should not. >> >> Pm > > I can have .match not set $/ for now and simply return matches based > on context IMHO that's the wrong approach. Perl 6 tries not to return stuff based on context, but to return stuff 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: language testing on pdd25cx, preparing to merge (rakudo)

2008-07-17 Thread Moritz Lenz
teger() not implemented in class 'Range' (in t/spec/S29-array/delete) * Method 'min' not found for invocant of class 'Int' (in t/spec/S29-list/minmax) * No result object (in t/spec/S29-num/abs) plus a few parse errors. I also get errors in parrot's PGE tests (I g

Re: language testing on pdd25cx, preparing to merge (rakudo)

2008-07-21 Thread Moritz Lenz
Allison Randal wrote: > Allison Randal wrote: >> Moritz Lenz wrote: >>> >>> I also get errors in parrot's PGE tests (I guess they are known already; >>> if not I can happily send the details) >> >> I get no errors in PGE's tests on Mac O

Perl6::Str on CPAN

2008-07-21 Thread Moritz Lenz
...) All comments are welcome. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #57318] Untodo a test

2008-07-27 Thread Moritz Lenz
, "Foo::Bar::baz", 'chained method dispatch on altered > method'); > > is($foo_bar.value, undef, 'value can be used for attribute name in derived > classes'); > my $fud; > > +#?rakudo 2 todo 'various oo bugs' > lives_ok { $fud =

Project idea: Perl 6 syntax hilighting with STD.pm

2008-07-28 Thread Moritz Lenz
help $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
ed from Sub 'parrot;PCT::HLLCompiler;evalfiles' pc 1088 > (src/PCT/HLLCompiler.pir:610) > called from Sub 'parrot;PCT::HLLCompiler;command_line' pc 1267 > (src/PCT/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 #57358] Enable parallel testing

2008-07-28 Thread Moritz Lenz
( 3.44 usr 0.86 sys + 182.32 cusr 37.70 csys = 224.32 CPU) Result: FAIL Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #57358] Enable parallel testing

2008-07-28 Thread Moritz Lenz
Will Coleda wrote: > On Mon, Jul 28, 2008 at 12:07 PM, Moritz Lenz > <[EMAIL PROTECTED]> wrote: >> Eric Wilhelm (via RT) wrote: >>> # New Ticket Created by Eric Wilhelm >>> # Please include the string: [perl #57358] >>> # in the subject line

Re: [perl #57358] Enable parallel testing

2008-07-28 Thread Moritz Lenz
Eric Wilhelm wrote: > # from Moritz Lenz > # on Monday 28 July 2008 09:52: > >>> That's not -just- with the patch, though, is it? I presume you've >>> set TEST_JOBS to be something other than '1' ... >> >>I've set it to 2, and obese

Re: Project idea: Perl 6 syntax hilighting with STD.pm

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

Re: [perl #57032] test failure in t/tools/dump_pbc.t (only in "make smoke")

2008-07-30 Thread Moritz Lenz
Moritz Lenz (via RT) wrote: > # New Ticket Created by Moritz Lenz > # Please include the string: [perl #57032] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=57032 > > > > In parrot as of r295

Re: [perl #57434] substr( $str, $pos, 0 ) in rakudo returns rest of string, not empty string

2008-07-30 Thread Moritz Lenz
e 'say substr( "foo", 0, 0 )' # wrong! > foo > > $ ./perl6 -e 'say substr( "foo", 1, 2 )' > oo > $ ./perl6 -e 'say substr( "foo", 1, 1 )' > o > $ ./perl6 -e 'say substr( "foo", 1, 0 )' # wrong! > oo -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #57444] [PATCH] add the S29-trig tests to spectest regression

2008-07-31 Thread Moritz Lenz
spectest_regression though (r29906). Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Design of the "code" classes

2008-07-31 Thread Moritz Lenz
new wording, for Larry (the document owner) > to have. > > --John -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Parrot with llvm-gcc 4.2

2008-07-31 Thread Moritz Lenz
+ 10.83 csys = 381.85 CPU) real6m24.233s user6m12.827s sys 0m11.113s So no speed improvements for the unoptimized build, but still good news! (This is on 32 bit i386 Linux) Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Parrot with llvm-gcc 4.2

2008-07-31 Thread Moritz Lenz
1m45.987s sys 0m7.588s (llvm is version 2.2). Not better either, but Reini told me that llvm 2.3 might be better. I also did a 'make testexec' on unoptimized builds, and got tons of test errors with both compilers. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Parrot with llvm-gcc 4.2

2008-07-31 Thread Moritz Lenz
would only tell us that there is > something wrong with their intergration work. IMHO it would be more > interesting to test with clang which might actually pick up some sort of > portability issue (or just bugs in clang). Go right ahead ;-) Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [perl #57522] [PATCH] verbose test harness flag

2008-08-04 Thread Moritz Lenz
7;d suggest to close this ticket. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

P5ism in S02

2008-08-14 Thread Moritz Lenz
hat C doesn't interpolate.) -- 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
ed by an array index makes > it though parsing. Is it really valid standard Perl 6 syntax? Yes. Imagine class Int is also { 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
a clarification of what .perl 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: arrayref/hashref in spectest suite

2008-08-19 Thread Moritz Lenz
ssignment? If you do a @a = @b you get cloning behaviour because the @ sigil implies a container type, whereas a with a $ sigil you just hand references to objects. > I would somewhat expect > a reference to be instead handled using a statement like > > $foo[1] := $bar; > > Comments and clarifications appreciated. > > Pm -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Parrot 0.7.0 publicity

2008-08-20 Thread Moritz Lenz
f Perl News". Fill in the title, fill in the text (note that perlmonks uses HTML. So paragraphs go into ..., the list of news should go into ... tags). Then click "Preview", and if everything looks like you want it, to clik "Submit". No rocket science ;-) Cheers, Moritz -

Re: My Parrot 0.7.0 patches (cygwin)

2008-08-22 Thread Moritz Lenz
ion should I apply those patches for testing? Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: new method question

2008-08-22 Thread Moritz Lenz
; So, how set array attribute of a class by new method? I'd expect this to work: class Dog { has @.names; method bark() { say @.names.join(', '); } } my $x = Dog.new(:names); # or: Dog.new(name => ('foo', 'bar')) $x.bark; but currently it doesn't in rakudo (in does in pugs though) -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: whats wrong with this code?

2008-08-22 Thread Moritz Lenz
CTED] The recommended way to write such a sub is sub xsum([EMAIL PROTECTED]) { ... } xsum(1, 2, 3); With the * before the @list it is "slurpy", which means that it doesn't expect one list as the argument, but rather an arbitrary number of items. If you happen to have an Array already, you can interpolate it: my @x = 1, 2, 3; xsum(|@x); HTH, Moritz -- 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
Now added test in t/spec/S06-signature/slurpy-params.t which rakudo all fails -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: whats wrong with this code?

2008-08-22 Thread Moritz Lenz
Scalar Array, > and thus the for loop sees only one element. > > This probably deserves a tracking ticket at <[EMAIL PROTECTED]>. Already wrote one: [perl #58276] AutoReply: [BUG] Can't iterate over list that was passed as a subroutine argument Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Does tha capture object $/ retain a live tie to the string it matched?

2008-08-23 Thread Moritz Lenz
:Match'␤current instr.: '_block11' pc 60 (EVAL_14:24)␤] > > S05:2377: > > The currently defined methods are > > $/.from # the initial match position > $/.to # the final match position > $/.chars # $/.to - $/.from > $/.orig # the origi

Windows visibility (was: Re: Parrot 0.7.0 "Severe Macaw")

2008-08-23 Thread Moritz Lenz
x27;s first for 'parrot win32'). I think we should improve that situation. Suggestions: 1) A link on http://www.parrotcode.org/source.html 2) A page in the parrot wiki 3) maybe even a separate site (parrot-on-windows.org perhaps?) Any comments? Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: Windows visibility

2008-08-23 Thread Moritz Lenz
François Perrad wrote: > 2008/8/23 Allison Randal <[EMAIL PROTECTED]>: >> Moritz Lenz wrote: >>> >>> On #perl6 somebody just asked if there were up-to-date windows builds of >>> parrot somewhere, he had googled for 'parrot windows'. The parro

Re: Windows visibility

2008-08-23 Thread Moritz Lenz
Will Coleda wrote: > On Sat, Aug 23, 2008 at 1:19 PM, Moritz Lenz > <[EMAIL PROTECTED]> wrote: >> I'd also suggest to move the Packages section further up (directly after >> Release section), because I hope that more end users than developers are >> (or will be)

Re: Windows visibility ([PATCH])

2008-08-24 Thread Moritz Lenz
Reini Urban wrote: > 2008/8/23 François Perrad <[EMAIL PROTECTED]>: >> 2008/8/23 Allison Randal <[EMAIL PROTECTED]>: >>> Moritz Lenz wrote: >>>> >>>> On #perl6 somebody just asked if there were up-to-date windows builds of >>>> parr

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

2008-08-24 Thread Moritz Lenz
for the tests, I'll rewrite them in terms of Test.pm, and add them to the test suite. Tests 34 to 36 were a bit overcritical: (0|undef && say "not ok 34") || say "not ok 34"; (0&undef && say "not ok 35") || say "not ok 35";

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

2008-08-24 Thread Moritz Lenz
Moritz Lenz wrote: > Tests 34 to 36 were a bit overcritical: > > (0|undef && say "not ok 34") || say "not ok 34"; > (0&undef && say "not ok 35") || say "not ok 35"; > (0^undef && say "not ok 36") || say

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

2008-08-24 Thread Moritz Lenz
Larry Wall wrote: > On Sun, Aug 24, 2008 at 09:22:25PM +0200, Moritz Lenz wrote: > : Moritz Lenz wrote: > : > Tests 34 to 36 were a bit overcritical: > : > > : > (0|undef && say "not ok 34") || say "not ok 34"; > : > (0&undef &&a

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

2008-08-25 Thread Moritz Lenz
s well. The fault is also reproducible when you move sub is_prime to a separate 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: [svn:parrot] r30538 - trunk

2008-08-25 Thread Moritz Lenz
unlink $generated_log; > > isn't > > unlink $generated_log; > > Sufficient here? Yes. And since we then use the variable only once, we can just write unlink 'MANIFEST.configure.generated'; I simplified that in r30541. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: pdd19_pir.pod: See C

2008-08-25 Thread Moritz Lenz
in the docs. Including, but not limited to, references to PDDS that still live in draft/, but are references to be in docs/pdds/ directly. What should we do with all these? You can automatically check if the file exists, but youll get some false negatives. Cheers, Moritz -- Moritz Lenz http://mo

Re: My Parrot 0.7.0 patches (cygwin)

2008-08-25 Thread Moritz Lenz
Reini Urban wrote: > Attached are updates to the cygwin070patches branch. > Thanks for applying the patches! applied as r30543. Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: [PATCH] ports/cygwin for 0.7.0-1

2008-08-25 Thread Moritz Lenz
gwin for 0.7.0-1' > > Thanks. Applied as r30545. Thanks. -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

Re: My Parrot 0.7.0 patches (cygwin)

2008-08-25 Thread Moritz Lenz
Reini Urban wrote: > Moritz Lenz schrieb: >> Reini Urban wrote: >>> Attached are updates to the cygwin070patches branch. >>> Thanks for applying the patches! >> >> applied as r30543. > > And this one also please. > > fix cuddled else and some beautification. Also applied (r30547).

Re: My Parrot 0.7.0 patches (cygwin)

2008-08-25 Thread Moritz Lenz
Reini Urban wrote: > Moritz Lenz schrieb: >> Reini Urban wrote: >>> Moritz Lenz schrieb: >>>> Reini Urban wrote: >>>>> Attached are updates to the cygwin070patches branch. >>>>> Thanks for applying the patches! >>>> applied as

Re: [perl #58374] [TODO][PDD19] Decide on maximum identifier length and implement this.

2008-08-26 Thread Moritz Lenz
quals or whatever. Longer operators had long names - too long some times. So for generated code it's not so uncommon to have long identifiers. Cheers, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/

  1   2   3   4   5   6   7   8   9   10   >