Thanks, applied to bleadperl as 28ac2b49dea6847c95a32afde577935fec51650f; headers regenerated as the following patch 636def1f97f1f4abce7e522c59c2e6baa547bec8. On 21 August 2010 20:12, Zefram <zefram@fysh.org> wrote: > Patch attached. "make regen regen_perly" required. Breaks bincompat > for modules that do evil things (yes, mine). > > This implements a major facility that has so far been missing from > syntax plugins: the ability to call back into the Perl parser to parse > a grammar production (embedded in syntax provided by the plugin). > So far the only production made available this way is a full statement; > this is establishing the mechanism and proving the concept. I intend to > build on this to allow procedural parsing of various other productions, > including code block and various categories of expression. > > In the long run I'd like to switch the core Perl parser to a mostly > recursive-descent model, where it will use these new functions internally > in addition to exposing them in the API. But that won't be in 5.14. > For 5.14 I'm looking to enable recursive-descent parsing for syntax > plugins, while keeping the core parser relatively unmolested. > > -zefram >Thread Previous | Thread Next