Here.

TheDamian++

Replies are listed 'Best First'.
Re: Perl6::Rules
by Ovid (Cardinal) on Apr 12, 2004 at 19:54 UTC

    I'm happy, but surprised to see this out there. I thought he had run into a problem with regexes not being re-entrant (a problem which is very frustrating, I might add). I'll have to peer under the hood and see what he did.

    Ooh, I see an interesting note in the docs. I wonder if this is related:

    Due to bugs in the Perl 5 regex engine, captures that occur in rules or subrules called in from other grammatical namespaces may not work correctly under Perl6::Rules, and will frequently lead to segfaults and bus errors.

    Cheers,
    Ovid

    New address of my CGI Course.

Re: Perl6::Rules
by kvale (Monsignor) on Apr 12, 2004 at 19:30 UTC
    Wow.

    Damian comes through again with a great module. Apocalypses and exegesises are fine, but nothing says precisely what you mean like source code. I look forward to kicking a few grammars around with this module.

    One thing that strikes me immediately is that whoever takes up the job of implementing Perl6 rules in Parrot is in for one of the more complex programming projects of their life. With all these features, there will be many, many combinations of grammar elements to test and get correct.

    -Mark

      Except you're gonna have to wait until at least version 0.03 of this module. Version 0.01 didn't run on 5.8.4, and as Damian tried to fix it (version 0.02), he made the minimum Perl version value into "5.8.30". Yes, we'll have to wait six years of quarterly Perl releases before we can run the current version.

      Maybe that's the secret plan: don't let this code run until we can put Parrot and Perl6 underneath it, making the code trivial. {grin}

      -- Randal L. Schwartz, Perl hacker
      Be sure to read my standard disclaimer if this is a reply.


      update: 0.03 is out now!
A reply falls below the community's threshold of quality. You may see it by logging in.