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

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

[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

[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

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

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

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

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