Re: Dallas.p6m

2009-04-05 Thread Chris Dolan
On Mar 19, 2009, at 2:35 PM, Andy Lester wrote: I love love LOVE starting to get people together to talk about Perl 6. It's a crucial step in letting people know that Perl 6 is real. However, starting social groups that say they are specifically about Perl 6 makes me uncomfortable. I th

Re: [perl #63626] Re: bouncing parrot...@parrotcode.org

2009-03-04 Thread Chris Dolan
On Mar 4, 2009, at 10:58 PM, Geoffrey Broadwell wrote: Out of curiosity, why don't we allow emails to create tickets in Trac? -'f "trac2email is still not fully functional. In the meantime, please continue to use the web interface. Once trac2email is fixed, you'll be able to open and

Re: $?OS change

2009-03-02 Thread Chris Dolan
On Mar 2, 2009, at 12:04 AM, Timothy S. Nelson wrote: Hi. I note that we have $?OS, $?VM, and $?DISTRO (and their $* counterparts). I'd like to recommend that we eliminate $?OS, and replace it with $?KERNEL (ie. Linux) and maybe $?ARCH (ie. i386). Thoughts? I disagree. User-space cod

Re: Help re-building rakudo

2009-03-01 Thread Chris Dolan
On Feb 26, 2009, at 3:06 PM, Moritz Lenz wrote: But after that please do a 'make clean; perl Configure.pl' to make sure that the fallout of the previous build don't affect the new one. Time to update tools/rebase-rakudo.pl! Chris

Re: Rakudo's fork queue on GitHub

2009-03-01 Thread Chris Dolan
On Mar 1, 2009, at 11:06 AM, Andy Lester wrote: So how about this for the workflow, Patrick: 1) Developer creates a branch to work on a feature or cleanup or whatever 2) Developer commits to dev/rakudo work branch however much she wants. 3) Developer merges back to dev/rakudo master branch

Re: Rakudo's fork queue on GitHub

2009-02-28 Thread Chris Dolan
On Feb 28, 2009, at 11:07 AM, Patrick R. Michaud wrote: On Sat, Feb 28, 2009 at 10:46:10AM -0600, Andy Lester wrote: On Feb 28, 2009, at 10:29 AM, Patrick R. Michaud wrote: So, for the time being Rakudo's official policy will be to accept patch submissions via RT. I've now cleared the fork

Re: Comparing inexact values (was "Re: Temporal changes")

2009-02-23 Thread Chris Dolan
On Feb 23, 2009, at 11:16 PM, Larry Wall wrote: if $x ~~ $y ± $epsilon {...} where infix:<±> turns the single value into a range for the smartmatch. That's very cool. However, my first impression is that "$y ± $epsilon" maps more naturally to "any($y-$epsilon, $y+$epsilon)" than t

Re: [perl #63384] [BUG] actions.pm calling setting.pm methods by mistake

2009-02-23 Thread Chris Dolan
On Feb 23, 2009, at 4:23 AM, Jonathan Worthington wrote: Chris Dolan (via RT) wrote: gen_actions.pir and gen_setting.pir both have ":subid("16")" and the wrong one is being called during compilation. I'm using parrot 0.9.1, compiled from svn tag RELEASE_0_9_1 a

$*DEFOUT vs. $*OUT

2009-02-22 Thread Chris Dolan
Smack me down if this has already been discussed to death, please... S16 (and now S28) say that $*DEFOUT, $*DEFIN and $*DEFERR are what most programs should use instead of $*OUT, $*IN and $*ERR. That seems anti-huffman to me, and I'll bet many programmers will use $*OUT when they should be

Re: Perl's internal time (was: Re: r25445 - docs/Perl6/Spec/S32-setting-library)

2009-02-22 Thread Chris Dolan
On Feb 22, 2009, at 12:39 AM, Brandon S. Allbery KF8NH wrote: On 2009 Feb 20, at 14:36, Chris Dolan wrote: UTC: TAI with an offset, as corrected for the actual revolution of the Earth: usually 60 seconds in a minute, but occasionally 59 or 61. 60 minutes in every hour (so 3599, 3600, or

Re: Perl's internal time (was: Re: r25445 - docs/Perl6/Spec/S32-setting-library)

2009-02-20 Thread Chris Dolan
> Considering time scales, there are three that significantly > interrelate, and no matter what Perl 6 uses internally, it needs to be > able to convert to and from these: > > TAI: continuous count of time using SI seconds as measured by atomic > clocks, 60 seconds in every minute, 60 minutes in ev

Re: Perl's internal time (was: Re: r25445 - docs/Perl6/Spec/S32-setting-library)

2009-02-19 Thread Chris Dolan
On Feb 19, 2009, at 10:17 PM, Timothy S. Nelson wrote: On Thu, 19 Feb 2009, Larry Wall wrote: Well, leaving that rant aside, I'm still tempted to say that times in Perl 6 are TAI seconds since 2000. Standard TAI would work too. I've wondered sometimes about the idea of having a dual/moving

Implementing $?LINE and other S02 compile-time vars

2009-02-15 Thread Chris Dolan
I've been considering how to inject compile-time values ($?VAR) into Rakudo. I was thinking about how to implement $?LINE and came up with two ways to do it: on the fly and post processing. On the fly would require some significant work in PGE, I think, to keep the line count correct in t

Re: r25325 - docs/Perl6/Spec

2009-02-13 Thread Chris Dolan
On Feb 13, 2009, at 11:50 PM, Larry Wall wrote: On Fri, Feb 13, 2009 at 11:34:03PM -0600, Chris Dolan wrote: Argh! I submitted a patch implementing $?PROGRAM in Rakudo literally 5 minutes before you sent this... http://rt.perl.org/rt3/Ticket/Display.html?id=63228 Indeed, why do you

Re: r25325 - docs/Perl6/Spec

2009-02-13 Thread Chris Dolan
Argh! I submitted a patch implementing $?PROGRAM in Rakudo literally 5 minutes before you sent this... http://rt.perl.org/rt3/Ticket/Display.html?id=63228 Chris On Feb 13, 2009, at 11:21 PM, pugs-comm...@feather.perl6.nl wrote: Author: lwall Date: 2009-02-14 06:21:13 +0100 (Sat, 14 Feb 2

Re: PCT via Perl6: success!

2009-02-13 Thread Chris Dolan
On Feb 13, 2009, at 9:54 AM, Patrick R. Michaud wrote: On Fri, Feb 13, 2009 at 12:58:13AM -0600, Chris Dolan wrote: * I couldn't figure out how to call 'compreg' from Rakudo, so I used inline PIR If using PCT, it shouldn't be necessary to call 'compreg' a

PCT via Perl6: success!

2009-02-12 Thread Chris Dolan
I just finished converting Perk (a Java compiler targeting Parrot) from PCT+NQP/PIR to PCT+Rakudo. That is, the main entry point and actions.pm for my compiler are written in Perl 6. http://github.com/chrisdolan/perk/tree/master I had to make a few little hacks along the way: * PCT::HL

{*} and actions

2009-02-10 Thread Chris Dolan
1) Will the "{*}" syntax to invoke an external action method from within a grammar be an official part of the language, or an implementation hack? 2) If it becomes official, how should people specify the action class/ instance to be used with a grammar? Currently in Rakudo, I use the follo

Re: [perl #62898] Rakudo can't handle A declared after A::B was declared in an included module

2009-02-08 Thread Chris Dolan
I wrote a simple solution that works, but I'd like someone more PIR- savvy to improve it. http://github.com/chrisdolan/rakudo/tree/package-redeclaration (5d6cec9) --- a/src/parser/methods.pir +++ b/src/parser/methods.pir @@ -30,8 +30,11 @@ Registers a type in the namespace. # Check if the

Re: [perl #62898] Rakudo can't handle A declared after A::B was declared in an included module

2009-02-08 Thread Chris Dolan
The following reproduces the bug more simply: perl6 -e 'BEGIN {class Foo::Bar::Baz {}}; class Foo::Bar {}' I'm working on a patch at the Frozen Perl hackathon now...

Re: [perl #63086] [BUG] can't declare class after deeper-namespace class declared

2009-02-07 Thread Chris Dolan
Ahh, It looks like my report below is a duplicate of [perl #62898] Rakudo can't handle A declared after A::B was declared in an included module Sorry about that... Chris On Feb 7, 2009, at 4:10 PM, perl6 via RT wrote: Consider the following two files: --- Foo/Bar/Baz.pm --- class Foo::Ba

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

2008-12-14 Thread Chris Dolan
On Dec 13, 2008, at 3:44 AM, 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. # http://rt.perl.org/rt3/Ticket/Display.html?id=61308 > Whe

bytes, lazy strings and zlib

2008-11-21 Thread Chris Dolan
In my ongoing quest to create a PDF parser in Perl6, I have some Rakudo/PGE/parrot questions. These are low-urgency and some of these may not be implemented yet... 1) byte orientation PDF's syntax is inherently an 8-bit ASCII superset. Some subsections may be interpreted as some multi-by

Re: [perl #60674] sign($x) always returns 1 when $x ~~ Complex

2008-11-20 Thread Chris Dolan
> Mark (>): >> I think the most sensible thing is to be consistent. sgn() fails for >> non-real input as long as sqrt() returns NaN for negative input. >> Change the latter behavior (via a pragma or whatever) so that sqrt() >> returns complex numbers, and then sgn() should start behaving on such >

PGE HLLMapping

2008-11-17 Thread Chris Dolan
I've been thinking a lot about how PGE implements closures. Right now, the closures are a bit rough -- PGE does heuristic look-ahead to find the end of the closure, saves off the code as a string, and compiles it at runtime like an eval. To make the heuristic look- ahead work, PGE insists

[perl #57980] Fix bugs with nested ?? !!

2008-11-13 Thread Chris Dolan via RT
Attached is a very simple patch that solves the problem, but I've only tested lightly. ternary.patch Description: Binary data

Re: flagging compiler-generated code

2008-11-12 Thread Chris Dolan
> On Tue, Nov 11, 2008 at 11:03:09PM -0600, Chris Dolan wrote: >> I'm thinking ahead to the Parrot equivalent of Perl::Critic, which I >> hope will someday be able to analyze arbitrary .pbc files. One problem >> I >> foresee is that there seems to be no way to di

flagging compiler-generated code

2008-11-11 Thread Chris Dolan
I'm thinking ahead to the Parrot equivalent of Perl::Critic, which I hope will someday be able to analyze arbitrary .pbc files. One problem I foresee is that there seems to be no way to distinguish anonymous subs ("my $f = sub { 1 };") from inner blocks. Both compile down to something lik

[perl #57980] Fix bugs with nested ?? !!

2008-11-11 Thread Chris Dolan via RT
On Sat Aug 16 07:29:36 2008, [EMAIL PROTECTED] wrote: > - Awaiting parser improvements (PGE) A simple, failing test: say True ?? 1 !! False ?? 2 !! 3; (says 2, should say 1)

[perl #57990] Implement prefix:<\> operator

2008-11-11 Thread Chris Dolan via RT
On Sat Aug 16 07:30:22 2008, [EMAIL PROTECTED] wrote: > - Need some clarity in spec and spectests for Capture objects Perhaps more clarity is needed, but the basics seems to work. I propose this ticket should be closed.

Numify

2008-11-05 Thread Chris Dolan
In "[perl #60350] [TODO] default __get_string method", Patrick added a default Object.Str() that classes can override to get custom stringification. Formerly, you could do that only by defining a method named __get_string(). Currently, you can overload number context by creating a __get_nu

Re: "::" in namespaces

2008-11-05 Thread Chris Dolan
On Nov 5, 2008, at 9:41 PM, Patrick R. Michaud wrote: On Tue, Nov 04, 2008 at 09:10:02PM -0600, Chris Dolan wrote: The Perl6 code that triggers that looks like this: method is_string(Str $src, Str $expected, Str $msg) { my $method = PDF::Grammar::literal_string; ... just a point of

Re: "::" in namespaces

2008-11-05 Thread Chris Dolan
Aha, this was already reported as [perl #60358] Rakudo doesn't recognize grammars with :: in the name I added my thoughts to that ticket. Chris On Nov 5, 2008, at 12:36 AM, Chris Dolan wrote: Replying to myself: I think the flaw is in my use of "PDF::Grammar::literal_string&qu

Re: "::" in namespaces

2008-11-04 Thread Chris Dolan
ing" :method So, does that mean teaching PGE/Exp.pir about double-colon separators? Or does namespace separator need to be some sort of compreg flag? Chris On Nov 4, 2008, at 9:10 PM, Chris Dolan wrote: Thanks to Jonathan for working on the :: bug. I'm still having problems, however.

"::" in namespaces

2008-11-04 Thread Chris Dolan
Thanks to Jonathan for working on the :: bug. I'm still having problems, however. The code below worked before I switched all of my "__" class separators to "::". I'm not sure how to tell whether it's failing to find my .pm (I moved the .pm from lib/ PDF__Grammar__Actions.pm to lib/PDF/Gr

Re: Argument scoping error or bug?

2008-11-02 Thread Chris Dolan
On Oct 27, 2008, at 2:07 PM, Patrick R. Michaud wrote: On Sat, Oct 25, 2008 at 10:52:13AM +0200, Moritz Lenz wrote: You have just experienced this bug: http://rt.perl.org/rt3/Ticket/Display.html?id=58392 "Recursion and for loops interact badly in Rakudo". Patrick is working on it. That said,

Re: Invoking PGE closures as Rakudo code

2008-10-28 Thread Chris Dolan
On Oct 28, 2008, at 10:06 AM, Patrick R. Michaud wrote: On Tue, Oct 28, 2008 at 01:50:42AM -0500, Chris Dolan wrote: My goal is to build arbitrarily complex data structures from closures fired in my grammar. Specifically, I'm trying to write a PDF parser -- my grammar is parsing corr

Re: Invoking PGE closures as Rakudo code

2008-10-28 Thread Chris Dolan
On Oct 28, 2008, at 10:06 AM, Patrick R. Michaud wrote: On Tue, Oct 28, 2008 at 01:50:42AM -0500, Chris Dolan wrote: My goal is to build arbitrarily complex data structures from closures fired in my grammar. Specifically, I'm trying to write a PDF parser -- my grammar is parsing corr

Invoking PGE closures as Rakudo code

2008-10-27 Thread Chris Dolan
Earlier, I sent in a patch for PGE to support S05-style single-curly closures (RT#60186). The next thing I'm trying to do is to get this to work: ./perl6 -e '"" ~~ m/:lang(Perl6) { say "hi" }/' The PIR version works perfectly: ./perl6 -e '"" ~~ m/:lang(PIR) { say "hi" }/' Out of the b

Re: Precompilation to PIR

2008-10-27 Thread Chris Dolan
On Oct 27, 2008, at 3:07 AM, Carl Mäsak wrote: Chris (>): How safe is it today to pre-compile Rakudo code to PIR and expect that to behave identically to as if I compiled from .pm at runtime? I believe PCT is just generating PIR anyway, so my initial guess is that there should be no diffe

Why {{}} for regexp closures instead of just {}?

2008-10-26 Thread Chris Dolan
S05 always uses single curlies for closures, but throughout Parrot, code seems to use double curlies in PGE regexps. Why is that? That is, why this: m/ foo {{ say "found foo" }} / and not this: m/ foo { say "found foo" } / The latter complains about "Statement not terminated properly". C

Precompilation to PIR

2008-10-26 Thread Chris Dolan
How safe is it today to pre-compile Rakudo code to PIR and expect that to behave identically to as if I compiled from .pm at runtime? I believe PCT is just generating PIR anyway, so my initial guess is that there should be no differences. Are there any gotchas, like compile-time dependenc

Argument scoping error or bug?

2008-10-24 Thread Chris Dolan
I stumbled across this issue while descending into a recursive Match structure. Consider the following reentrant subroutine: sub f($n) { for 0..$n -> $i { say "$i of 0..$n"; if ($i == 4) { f(0); } } }; f(6); The value of the argument, $n, gets overwritten

Assigning and passing $/

2008-10-23 Thread Chris Dolan
I'm learning about Match objects today. I can't assign $/ to a variable or pass it to a method. Is this a bug, or am I just confused? I get the following results. In both cases, $/ gets stringified instead of remaining as a Match instance. % ./perl6 -e 'if ("f" ~~ m/f/) { my Match $m =

Re: [perl #39738] [BUG] bind fails with errno EADDRNOTAVAIL on darwin and FreeBSD

2008-07-22 Thread Chris Dolan
On Jul 22, 2008, at 6:35 PM, Christoph Otto via RT wrote: On Thu Jul 06 09:21:34 2006, [EMAIL PROTECTED] wrote: With parrot r13181, binding to a non-privileged port on localhost consistently fails with EADDRNOTAVAIL on Mac OS X and FreeBSD boxes for Intel and PPC platforms. The same command s

Re: [perl #53548] [PATCH] fix for auto-generation of runtime/parrot/include/interpflags.pasm

2008-05-11 Thread Chris Dolan
On May 10, 2008, at 7:38 PM, chromatic via RT wrote: I tried this patch, and I'm getting warnings: Generating runtime/parrot/include...Use of uninitialized value in hash element at config/gen/parrot_include.pm line 105, <$fh> line 32. Use of uninitialized value in pattern match (m//) at config/g

Re: [perl #40361] [PATCH] #40278 [CAGE] perl coding standards coda. (cont.)

2006-12-18 Thread Chris Dolan
ther way without crufting up the top of the file or requiring that you de-cruft everywhere. Chris -- Chris Dolan, Software Developer, http://www.chrisdolan.net/ Public key: http://www.chrisdolan.net/public.key vCard: http://www.chrisdolan.net/ChrisDolan.vcf

Re: [perl #40361] [PATCH] #40278 [CAGE] perl coding standards coda. (cont.)

2006-12-17 Thread Chris Dolan
ee Perl::Critic::Policy::Editor::RequireEmacsFileVariables policy for more details: http://search.cpan.org/~cdolan/Perl-Critic-More-0.12/lib/Perl/Critic/ Policy/Editor/RequireEmacsFileVariables.pm Chris -- Chris Dolan, Software Developer, http://www.chrisdolan.net/ Public key: http://www

Re: [perl #40861] [CAGE] - add a Perl::Critic policy to look for FIXME|TODO|XXX

2006-11-13 Thread Chris Dolan
.22/ ProhibitFlagComments.pm Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://www.media-landscape.com/)

Re: [perl #40598] [PATCH] Make perlcritic.t barf more nicely when Test::Perl::Critic not installed

2006-10-26 Thread Chris Dolan
On Oct 26, 2006, at 5:21 AM, Paul Cochrane (via RT) wrote: this patch ensures that when t/codingstd/perlcritic.t can't find Test::Perl::Critic, that instead of exiting with a "Can't locate Test/Perl/Critic.pm in @INC" compile-time error, it reports that it is skipping the test with the message d

Re: [perl #40596] [CAGE] modify perl coding standard test format

2006-10-25 Thread Chris Dolan
ng::RequireUseStrict] Code before strictures are enabled at 235,1" If you want to see fewer errors, add -top => 5 after the -format to only show the first 5 violations per .pm file. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025,

Re: [perl #40596] [CAGE] modify perl coding standard test format

2006-10-25 Thread Chris Dolan
On Oct 25, 2006, at 1:24 PM, Jerry Gay (via RT) wrote: modify perl coding standard test format to match the c tests--one test per standard, rather than one test per file. coding standard tests are designed to test maintainability, not functionality. testing parrot functionality is much more imp

Re: [perl #40544] [NEW] Test for DOS line endings in Parrot text files

2006-10-23 Thread Chris Dolan
On Oct 23, 2006, at 7:39 AM, Paul Cochrane wrote: BEGIN { eval { use SVN::Client; }; if ($@) { plan skip_all => 'SVN::Client not installed'; } } Paul, This should be eval {require SVN::Client; }; use() is a compile-time directive, not runtime. Chris --

Re: [perl #40564] [TODO] fix perlcritic Subroutines::RequireFinalReturn policy

2006-10-19 Thread Chris Dolan
in the next release of Perl::Critic. Chris -- Chris Dolan, Software Developer, http://www.chrisdolan.net/ Public key: http://www.chrisdolan.net/public.key vCard: http://www.chrisdolan.net/ChrisDolan.vcf

Re: [perl #40482] [PATCH] Perl::Critic policy for perl -w, and unix-specific shebang lines

2006-10-10 Thread Chris Dolan
have to ensure it's a PPI::Token::Comment and not a PPI::Token::Quote, for example. Perhaps further discussion should move to the perlcritic.tigris.org dev mailing list or to http://rt.cpan.org/Dist/Display.html?Queue=perl-critic Chris -- Chris Dolan, Software Developer, Clotho Advance

Re: [perl #40482] [PATCH] Perl::Critic policy for perl -w, and unix-specific shebang lines

2006-10-10 Thread Chris Dolan
we'd love to have the help with Perl::Critic. But Parrot is a worthy cause too! :-) If you don't provide a P::C patch, I'll probably do it myself eventually. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Ma

Re: [perl #40482] [PATCH] Perl::Critic policy for perl -w, and unix-specific shebang lines

2006-10-09 Thread Chris Dolan
on "#!perl -Tw" and is a false positive on "package main; #!!! my co-worker provided this non-Perl- licensed code to Parrot!!!". Yes, that's a highly contrived example. :-) But the false positive would be avoidable by checking the line and column number of the el

Re: [perl #40482] [PATCH] Perl::Critic policy for perl -w, and unix-specific shebang lines

2006-10-09 Thread Chris Dolan
mment = $doc->find_first('PPI::Token::Comment'); return if !$first_comment; return if $first_comment->location()->[0] != 1; return $first_comment =~ m{ \A \#\! }mx; } Now that I'm talking about it, I should write a Perl::Critic::Utils::get_shebang() funct

Re: Emacs/vim code coda placement

2006-10-02 Thread Chris Dolan
_ spec change, I'll be happy to code that up in CodeLayout::UseParrotCoda. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. -

Re: [CAGE] perl coding standards...

2006-10-02 Thread Chris Dolan
ayout::UseParrotCoda to use current P::C conventions. lib/Perl/Critic/Policy/CodeLayout/UseParrotCoda.pm | 41 +++-- t/codingstd/perlcritic.t | 88 +++ +- 2 files changed, 51 insertions(+), 78 deletions(-) Chris -- Chris Dolan, Software Developer,

Re: Perl6 "style-guide"

2006-09-25 Thread Chris Dolan
l6? :-) Chris -- Chris Dolan, Software Developer, http://www.chrisdolan.net/ Public key: http://www.chrisdolan.net/public.key vCard: http://www.chrisdolan.net/ChrisDolan.vcf

Re: Questions

2006-08-01 Thread Chris Dolan
int Module::Build->VERSION' 0.2801 This also works: my $mb = Module::Build->new( ... ); $mb->blib('foobar'); $mb->create_build_script; Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 5

Re: FAQ Questions (WAS: ICU advantages? was Re: Problems Installing Parrot)

2006-07-21 Thread Chris Dolan
On Jul 21, 2006, at 1:12 PM, Mr. Shawn H. Corey wrote: Chris Dolan wrote: This would be a good entry for the FAQs for a cage cleaner. If you're collect questions for the FAQ, here are some Andy Lester answered for me: I'm not, actually. :-( Could you do one of the following, i

ICU advantages? was Re: Problems Installing Parrot

2006-07-21 Thread Chris Dolan
lates to Parrot somewhere that I missed? 2) How important is ICU? 3) If I build Parrot without ICU, what repercussions should I expect? This would be a good entry for the FAQs for a cage cleaner. Thanks, Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-70

Re: Time for a Revolution

2006-07-14 Thread Chris Dolan
u thinking?) Whoa, this is becoming an unexpectedly educational thread... Chris -- Chris Dolan, Software Developer, http://www.chrisdolan.net/ Public key: http://www.chrisdolan.net/public.key vCard: http://www.chrisdolan.net/ChrisDolan.vcf

Re: [perl #39829] [PATCH] accept() always fails

2006-07-14 Thread Chris Dolan
it, then it sounds like a compiler bug that needs to be reported, or at least documented. Chris P.S. I've been working on some small improvements to httpd.pir, including better failure diagnostics. Please contact me off-list for a patch if you are interested. -- Chris Dolan, Software Develo

Re: [perl #39809] PGE crash on parrot;PGE::Exp::Quant;reduce

2006-07-12 Thread Chris Dolan
On Jul 12, 2006, at 10:53 PM, Patrick R. Michaud wrote: On Wed, Jul 12, 2006 at 08:04:01PM -0700, Chris Dolan wrote: As simple token containing ":i" causes PGE to crash with an attempted method call on Undef. Steps to reproduce: 1) Create a grammar file called "foo.pg&quo

Re: Java Script in Parrot

2006-07-10 Thread Chris Dolan
approach. Is there some help I can get? I did look at your YAPC 2006 presentation. Are there any code examples? Take a look at parrot/languages/punie/lib/{punie.pg,PunieGrammar.pir} which has both bottom up and top down parsing. I found it very educational. Chris -- Chris Dolan, Software

Re: [Slightly OT] Understanding Software Licences [was Re: Proposal Suggestion - Test::Run [was Re: [Israel.pm] Fwd: Call for proposals -- Perl Foundation Grants]]

2006-07-07 Thread Chris Dolan
ird parties with less dedication to Perl, thereby decreasing the attractiveness of the language. After all, software engineering is largely about reducing the exposed complexity of a project. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 143

Re: [perl #39743] [PATCH] change perl6-internals to parrot-porters in docs

2006-07-06 Thread Chris Dolan
Oops, I missed a couple of instances of perl6-internals in the previous patch (notably, in parrotbug). This updated patch obsoletes the previous one. % diffstat parrot-porters2.patch README |4 ++-- README.win32.pod |2 +- RELEASE_INSTRUCTIONS |8 -

Re: Old and broken versions of Module::Install

2006-07-06 Thread Chris Dolan
On Jul 6, 2006, at 10:18 AM, A. Pagaltzis wrote: * Chris Dolan <[EMAIL PROTECTED]> [2006-07-06 16:30]: IMHO it likely counts as a CPANTS pass for now, but it may be a fail in the future unless you update the Makefile.PL with a newer M::B as bugs are discovered. To make sure we’re on th

Re: Old and broken versions of Module::Install

2006-07-06 Thread Chris Dolan
using out-of-date Module::Build::Compat boilerplate). If the CPANTS "game" gets any M::I-using authors to upgrade, then it has served its purpose. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 537

Re: Old and broken versions of Module::Install

2006-07-06 Thread Chris Dolan
http://plasmasturm.org/> IMHO it likely counts as a CPANTS pass for now, but it may be a fail in the future unless you update the Makefile.PL with a newer M::B as bugs are discovered. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main S

Re: Cage Cleaning for dummies? Re: Call for Parrot Janitors

2006-07-06 Thread Chris Dolan
: http://bugs6.perl.org/ Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://www.media

Re: TAP Grammar

2006-07-05 Thread Chris Dolan
t the first line of the Makefile to specify the path to PARROT_DIR and run "make". My tests found a few bugs in Jerry's grammar. My fixed version of that grammar is here: https://svn.clotho.com/public/parrot-experiments/TAP/grammars/TAP.pg Chris -- Chris Dolan, Software

Re: Continuous testing tools

2006-06-08 Thread Chris Dolan
the server. Is there any interest in such a package? Best wishes, Tels That sounds very similar to Adam Kennedy's PITA project. Yes, there is great interest! Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI

Re: Relationship between pugs and parrot/language/perl6

2006-05-29 Thread Chris Dolan
ude toward testing is what has kept me so excited about the Perl community over the last few years, even after the initial love for the language wore off. So instead of "Only Perl can parse Perl" we get "Only Perl regression tests can specify Perl". I can be happy wit

Re: 3 Good Reasons...

2006-05-26 Thread Chris Dolan
future where Perl and Ruby are bytecode compatible, perhaps I would have just interfaced with the Ruby library directly instead of having to reinvent it, saving a couple of days of coding and debugging. [1] http://inlet-media.de/flvtool2 [2] http://search.cpan.org/dist/FLV-Info/ Chris -- C

Re: CPANTS is not a game.

2006-05-23 Thread Chris Dolan
like incorporating cpanratings into CPANTS (I do NOT advocate that!) or getting download stats from CPAN (never gonna happen) or adding voluntary "Someone installed module X" pings from CPAN.pm. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294

Re: CPANTS is not a game.

2006-05-23 Thread Chris Dolan
On May 23, 2006, at 10:34 AM, David Golden wrote: Chris Dolan wrote: ... just checking for the presence of a t/pod_coverage.t file (which is a weak proxy for POD quality, but dramatically easier to measure). It doesn't check for the existence of a t/pod_coverage.t file. It checks

Re: CPANTS is not a game.

2006-05-23 Thread Chris Dolan
I think that's a price worth paying -- at least until we rewrite the metric to actually test POD coverage (which is a decent proxy for POD quality) instead of just checking for the presence of a t/ pod_coverage.t file (which is a weak proxy for POD quality, but dramatically easier to measure).

Re: Module requirements

2006-04-05 Thread Chris Dolan
nd was first released with perl 5 Memoize was first released with perl 5.007003 Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc.

Re: [PATCH] Forking tests with Test::More

2006-03-28 Thread Chris Dolan
ication for adding this feature to Test::More itself. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. - Creators of MediaLandscape Softw

Re: Upgrading core modules on Windows

2006-03-16 Thread Chris Dolan
this, although that would be a huge addition to the dependency list. With PAR, you could employ a whole separate .exe and probably even do the core updates. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard

Re: Best Practice for testing compilation of scripts

2006-03-15 Thread Chris Dolan
lcome). However, Adam Kennedy wrote one: http://search.cpan.org/src/ADAMK/ThreatNet-Bot-AmmoBot-0.10/t/ 01_compile.t That function should probably be changed to use FindBin instead of updir() calls. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294

Re: early draft of I/O PDD

2006-03-06 Thread Chris Dolan
lly, I speculate that the latter would make it easier to write the Parrot equivalent of Safe.pm's sandbox later. It would likely be easier to disable a PMC class than a diverse collection of opcodes. Chris -- Chris Dolan, Software Developer, http://www.chrisdolan.net/

Re: Surprising use_ok false positive

2006-03-05 Thread Chris Dolan
On Mar 5, 2006, at 3:55 PM, David Wheeler wrote: On Mar 5, 2006, at 13:52, Chris Dolan wrote: Advice? While this example is contrived, the "eval { require ... }" idiom is used often in the wild, so this is not a wholly unrealistic scenario. Of course it should be eval { r

Surprising use_ok false positive

2006-03-05 Thread Chris Dolan
e this example is contrived, the "eval { require ... }" idiom is used often in the wild, so this is not a wholly unrealistic scenario. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: ht

Re: [perl #38604] m4.pm vs. M4.pm causes problems in case-insensitive filesystems

2006-02-21 Thread Chris Dolan
On Feb 21, 2006, at 1:30 PM, Bernhard Schmalhofer wrote: Chris Dolan (via RT) schrieb: # New Ticket Created by Chris Dolan # Please include the string: [perl #38604] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id

Re: OS.pmc patch to add 'ls'

2006-02-13 Thread Chris Dolan
On Feb 13, 2006, at 1:20 PM, Joshua Hoblitt wrote: On Mon, Feb 13, 2006 at 09:28:40AM -0600, Chris Dolan wrote: On Feb 12, 2006, at 6:52 PM, Joshua Hoblitt wrote: It would also be 'really nice' have a glob(3) like method that is implemented as a wrapper around *dir methods so the

Re: OS.pmc patch to add 'ls'

2006-02-13 Thread Chris Dolan
rk for the languages. It's kind of a CISC vs. RISC argument. Again, this is an outsider opinion. Apologies in advance if I'm off- base or misunderstood the proposal. Chris -- Chris Dolan, Software Developer, http://www.chrisdolan.net/ Public key: http://www.chrisdolan.net/pu

Re: Default tests, beta testing, etc.

2006-02-06 Thread Chris Dolan
t makes sure it still works as Perl is upgraded and your dependencies evolve. Since I've got a terribly bad habit of inventing things that have existing names, I'm sure someone will correct my on the two above namings. I think those are great names. Very clear. Chris -- Chris

Re: Default tests, beta testing, etc.

2006-02-05 Thread Chris Dolan
be a good way to motivate new authors to put more attention into testing. I recommend Test::Distribution for this type of "default" tests. It looks for .pm files in blib and performs a bunch of tests on them -- POD, compile, version, etc. [snip] Chris -- Chris Dolan, Sof

Re: [Module::Build] [RFC] author tests

2006-02-02 Thread Chris Dolan
test". Presently, I simply include them all in my MANIFEST.SKIP so they are not included in my uploaded package. That's why I call these "author tests" and not "release tests" or "exhaustive tests". Chris -- Chris Dolan, Software Developer, Clotho Advanced

Re: [Module::Build] [RFC] author tests

2006-02-02 Thread Chris Dolan
On Feb 1, 2006, at 10:35 PM, Tyler MacDonald wrote: Chris Dolan <[EMAIL PROTECTED]> wrote: There is a class of tests that module authors perform that end users are not expected to run. For example code coverage tests, spelling tests, coding style tests, etc. These tests are

Re: TODO test paradox: better TODO test management?

2006-01-31 Thread Chris Dolan
both those passing and those failing. You could try: make test verbose=1 > out and then search the output for "TODO" Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net

Re: YAML and Makefile.PL (was various topics)

2006-01-31 Thread Chris Dolan
do is have Andreas or Jos increment the CPAN.pm/CPANPLUS.pm version and just about everyone would be prompted to upgrade the next time they tried to install something. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 5

Re: YAML and Makefile.PL (was various topics)

2006-01-31 Thread Chris Dolan
aries correctly, M::B just entered core in 5.9.3. There has long been hope that M::B and CPANPLUS will be in core for 5.10. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDola

Re: Kwalitee in your dependencies (was CPAN Upload: etc etc)

2006-01-30 Thread Chris Dolan
used. Chris -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho Advanced Media, Inc. - Creators of MediaLandscape Software (http://www.media-landscape.com/) and partne

Re: Dependency trees was: CPAN Upload: D/DO/DOMM/Module-CPANTS-Analyse-0.5.tar.gz

2006-01-28 Thread Chris Dolan
odgate.com/tels.asc or per email. This email violates EU patent EP0394160: [ ## 66% ] -- Chris Dolan, Software Developer, Clotho Advanced Media Inc. 608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703 vCard: http://www.chrisdolan.net/ChrisDolan.vcf Clotho A

  1   2   >