in reply to Writing Interpreters, Compilers and Translators in Perl

or perhaps Perl 6 considerations I might want to address early

That's certainly a topic I would like to hear about. We recommend people to try to avoid naive regex based parsing and lexing all the time for anything that is moderately complex, and to use a proper dedicated tool instead, like P::RD. But the whole idea of regexen being promoted to "rules" possibly gathered in grammars sheds a new light on the issue and indeed in a very exciting manner.

  • Comment on Re: Writing Interpreters, Compilers and Translators in Perl

Replies are listed 'Best First'.
Re^2: Writing Interpreters, Compilers and Translators in Perl
by Moron (Curate) on May 24, 2007 at 13:28 UTC
    Thanks, a good pointer - I'll have to investigate the Perl 6 rules facilities more thoroughly now and see how much I can bring on board. Do you know of any reference links to help me there?
    __________________________________________________________________________________

    ^M Free your mind!

      I'll have to investigate the Perl 6 rules facilities more thoroughly now and see how much I can bring on board. Do you know of any reference links to help me there?

      Well, there's Synopsis 5. Also see the comment about the standard grammar in a recent article by TimToady.

        I mean for Perl 6 - but thanks for the link anyway.
        __________________________________________________________________________________

        ^M Free your mind!