Re: [perl #54602] [PATCH] Several changes to allow C++ compiling

2008-06-04 Thread François Perrad
2008/5/26 NotFound <[EMAIL PROTECTED]>: > Looks like exec_start.c include jit.h and jit_emit.h but doen't use > it. This patch drops those includes and solve the problem, at least in > i386. > I experiment this patch (on src/exec_start.c). On Windows, with MinGW, r28042 : - linking : OK - but e

SquirrelFish (was: Dynamic Languages Strike Back)

2008-06-04 Thread Tim Bunce
On Tue, May 27, 2008 at 08:51:24AM +0200, François Perrad wrote: > FYI a recent talk > http://steve-yegge.blogspot.com/2008/05/dynamic-languages-strike-back.html Which ties in nicely with the announcement of SquirrelFish yesterday: http://webkit.org/blog/189/announcing-squirrelfish/ ---snip

Re: Fatal/autodie exception hierarchies for Perl 5

2008-06-04 Thread David Nicol
On Mon, Jun 2, 2008 at 6:50 PM, Larry Wall <[EMAIL PROTECTED]> wrote: >* Exception handlers run in the lexical context of the block being >tried. >* Exception handlers run in the dynamic context of the code that is >failing. the first seems dangerous, esp. considering the

Re: [perl #54602] [PATCH] Several changes to allow C++ compiling

2008-06-04 Thread François Perrad
NotFound a écrit : Looking more carefully at this issue, it seems that those variables and the code that uses them has no real effect. Without it, make test pass, make testj pass, make hello and make perl6 builds and runs. This patch cleans all. It needs to be tested with make testj in win 32,

Re: Fatal/autodie exception hierarchies for Perl 5

2008-06-04 Thread Mark J. Reed
The catch block is lexically contained within the try block, so the inviolate nature of the curlies remains intact. On 6/3/08, David Nicol <[EMAIL PROTECTED]> wrote: > On Mon, Jun 2, 2008 at 6:50 PM, Larry Wall <[EMAIL PROTECTED]> wrote: > >>* Exception handlers run in the lexical context o

Re: Fatal/autodie exception hierarchies for Perl 5

2008-06-04 Thread Roland Giersig
Paul Fenwick wrote: [1] Klingon semantics: It is better to die() in the attempt than to return() in failure. I'll buy a beverage for whomever can help me translate that back into Klingon in time for OSCON. ;) The concept of "better ... than" is difficult to express and not very warrior-like.

Re: Fatal/autodie exception hierarchies for Perl 5

2008-06-04 Thread Mark J. Reed
On Wed, Jun 4, 2008 at 9:09 AM, Roland Giersig <[EMAIL PROTECTED]> wrote: > batlh yiHegh SuvwI'mo! yIcheghbe' lujwI'mo'! > Die honorably as a warrior! Do not return as a looser! Not quite. mo' means "because of the ", so the above says something like 'die because of the warrior', 'return because

Re: [perl #49966] [BUG] parrot -v -O2 segfaults, when -v and -O2 separately both work

2008-06-04 Thread NotFound
On Sat, Jan 19, 2008 at 7:08 AM, via RT Geoffrey Broadwell <[EMAIL PROTECTED]> wrote: > 'parrot -v -O2' segfaults in cases where both 'parrot -v' and 'parrot -O2' > succeed normally. For example: >./parrot -v -O2 examples/japh/japh1.pasm # Segfault before normal -v >

Re: Fatal/autodie exception hierarchies for Perl 5

2008-06-04 Thread Larry Wall
On Wed, Jun 04, 2008 at 10:42:33AM -0400, Mark J. Reed wrote: : However, I think we are now officially *way* off topic for Perl6... Not really--a Klingon army is a *parallel* processor, and just because one Klingon dies doesn't mean the whole army should suddenly die too. Traditional exception han

Re: Fatal/autodie exception hierarchies for Perl 5

2008-06-04 Thread David Nicol
On Wed, Jun 4, 2008 at 7:21 AM, Mark J. Reed <[EMAIL PROTECTED]> wrote: > The catch block is lexically contained within the try block, so the > inviolate nature of the curlies remains intact. thank you.

[perl #55290] [BUG] get_iter() not implemented in class 'ResizableStringArray'

2008-06-04 Thread via RT
# New Ticket Created by Geoffrey Broadwell # Please include the string: [perl #55290] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=55290 > The op '$P0 = iter $P1' doesn't work if $P1 is a ResizableStringArray. I haven't t

Re: Fatal/autodie exception hierarchies for Perl 5

2008-06-04 Thread Roland Giersig
Mark J. Reed schrieb: I think the simplest and most Klingonlike expression of the sentiment is simply this: yIQap pagh yIHegh! (Succeed or die!) But you could say something like: SuvwI' yIDa: yIHegh! bIlujchugh yIcheghQo'! (Behave as a warrior: die! If you fail, do not return!) Thanks for

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

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

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

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

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

2008-06-04 Thread jerry gay
On Wed, Jun 4, 2008 at 2:46 PM, Moritz Lenz <[EMAIL PROTECTED]> wrote: > Oops, forgot to attach patch. Now it's really there. > thanks, applied as of r28074. ~jerry

Re: Fatal/autodie exception hierarchies for Perl 5

2008-06-04 Thread Dave Whipp
Larry Wall wrote: On Wed, Jun 04, 2008 at 10:42:33AM -0400, Mark J. Reed wrote: : However, I think we are now officially *way* off topic for Perl6... Not really--a Klingon army is a *parallel* processor, and just because one Klingon dies doesn't mean the whole army should suddenly die too. Tradi

[perl #55308] [TODO] add_sub sanely adds MultiSub PMCs to a namespace

2008-06-04 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #55308] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=55308 > I'm just about to commit a change to namespace.pmc that allows the 'add_sub' metho

[perl #31806] [PATCH] Get rid of global pio_registered_layers

2008-06-04 Thread NotFound
This patch gets rid of the global pio_registered_layers, by putting it in interpreter data, creating and destroying the the layers in the first interpreter and propgating his value to the child ones. This way will solve threading issues (supposed that creating several main interpreters is not valid

Re: [perl #55290] [BUG] get_iter() not implemented in class 'ResizableStringArray'

2008-06-04 Thread chromatic
On Wednesday 04 June 2008 11:28:58 Geoffrey Broadwell wrote: > The op '$P0 = iter $P1' doesn't work if $P1 is a ResizableStringArray. > I haven't tested, but I suspect the same may be true of the some other > *Array PMCs as well. > > This should be fixed up, so we can move the 'iter' op from exper

Parsing Machine

2008-06-04 Thread François Perrad
The Roberto Ierusalimschy's paper "A Text Pattern-Matching Tool based on Parsing Expression Grammars" http://www.inf.puc-rio.br/~roberto/docs/peg.pdf describes a Parsing Machine that allows a small and efficient implementation of Bryan Ford's PEG (see http://pdos.csail.mit.edu/~baford/packrat