Re: "Top-down parsing is guessing": new blog post.

2016-01-03 Thread Durand Jean-Damien
> > Also, in this list, http://savage.net.au/Marpa.html#Perl_Packages, J > Durand has a number of modules, some of which likewise patch the BNF. > All are "hacks" in the sense that there is no meta-package describing the BNF itself. Once I had a look to Grammar::Formal

Re: "Top-down parsing is guessing": new blog post.

2015-12-31 Thread Jeffrey Kegler
"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

Re: "Top-down parsing is guessing": new blog post.

2015-12-31 Thread davidnmfarrell
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,

"Top-down parsing is guessing": new blog post.

2015-12-20 Thread Jeffrey Kegler
My newest post is second in a series about top-down parsing, and Perl 6 grammars. This first post in the series was "Grammar reuse"