Thanks Jeffrey and Ron for the replies, very informative. On 31 December 2015 at 20:44, Jeffrey Kegler < [email protected]> wrote:
> Re your specific problem -- POD for Perl 6. > > POD is a hackish grammar, designed to be parsed by RE's and/or top-down > methods. It's something Perl 6 grammars should be able to do reasonably > well. > > There is an effort to port Marpa to Perl 6 underway, but it has only > ported the lower layers, and what you want requires the upper ones. I hear > hints the Perl 6 team may look harder at Marpa once the current release > stabilizes. Previously I think they may have expected top-down methods > could support things like language-oriented programming and nothave seen > the need for something like Marpa. > > So, in your place, if your intent is creating a Perl 6-based POD parser, > you might as well take a first crack at it using Perl 6 grammars. They > should get the basic job done, and a Marpa infrastructure inside Perl 6 is > just not ready. > > On Thu, Dec 31, 2015 at 4:20 PM, Jeffrey Kegler < > [email protected]> wrote: > >> "Support" is being used in two different senses here. >> 1.) "have the horsepower in the grammar engine to allow grammar reuse". >> 2.) "have a syntax that makes it convenient to specify, without respect >> to whether it works". >> >> I will plead guilty to having given 2.) the lower priority. And, yes, >> Marpa would support 2.) better than any alternative out there. >> >> On Thu, Dec 31, 2015 at 3:17 PM, <[email protected]> wrote: >> >>> Hi Jeffrey, >>> >>> I was intrigued by these two posts, but left wondering if Marpa does >>> support grammar reuse / extension? >>> >>> I'd love to be able to declare a grammar as a class containing a series >>> of tokens and be able to inherit and override individual tokens ala Perl 6. >>> >>> If it doesn't support it now, could Marpa support it? I've been working >>> on a Perl 6 Grammar for Pod (https://github.com/dnmfarrell/Pod-Perl5), >>> and would love to try parsing Pod with Marpa. But I want to be able to >>> extend the base Pod grammar with new syntax without having to copy and >>> paste the original grammar into a new class. >>> >>> Many thanks >>> >>> David >>> >>> >>> >>> On Sunday, 20 December 2015 22:19:10 UTC-5, Jeffrey Kegler wrote: >>>> >>>> My newest post >>>> <http://jeffreykegler.github.io/Ocean-of-Awareness-blog/individual/2015/12/topdown.html> >>>> is second in a series about top-down parsing, and Perl 6 grammars. >>>> >>>> This first post in the series was "Grammar reuse" >>>> <http://jeffreykegler.github.io/Ocean-of-Awareness-blog/individual/2015/12/composable.html>. >>>> I forgot to announce the first one to this group when it came out. >>>> Sorry! >>>> >>>> >>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "marpa parser" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "marpa parser" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/marpa-parser/DSW4cZaAsXc/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "marpa parser" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
