Re: action => ::lhs

2016-01-03 Thread Ron Savage
> > The LHS is available to an action via context variables >> . >> >> So you could write your own dispatcher and either make it the default >> action or apply it selectively. >> > As discussed in the FAQ: http

Re: action => ::lhs

2016-01-03 Thread Durand Jean-Damien
Yes, nice alternative. I am using this in a framework on any BNF to automatically fill structures on-demand -; https://github.com/jddurand/MarpaX-Role-Parameterized-ResourceIdentifier/blob/master/lib/MarpaX/Role/Parameterized/ResourceIdentifier/BNF.pm#L699 Le vendredi 27 novembre 2015 09:41:52 U

Re: action => ::lhs

2015-11-27 Thread Cev Ing
Am Donnerstag, 26. November 2015 23:53:26 UTC+1 schrieb Jeffrey Kegler: > > The LHS is available to an action via context variables > . > > So you could write your own dispatcher and either make it the default >

Re: action => ::lhs

2015-11-26 Thread Jeffrey Kegler
wrote: > > > On Thu, Nov 26, 2015 at 7:25 PM, Cev Ing wrote: > >> I am wondering if it is possible to define a LHS action. I mean something >> like this: >> >> ::= >> (CREATE TABLE) identifier ('(') (')' ';') >>

Re: action => ::lhs

2015-11-26 Thread Ruslan Shvedov
On Thu, Nov 26, 2015 at 7:25 PM, Cev Ing wrote: > I am wondering if it is possible to define a LHS action. I mean something > like this: > > ::= > (CREATE TABLE) identifier ('(') (')' ';') > action => ::lhs > > This should me

action => ::lhs

2015-11-26 Thread Cev Ing
I am wondering if it is possible to define a LHS action. I mean something like this: ::= (CREATE TABLE) identifier ('(') (')' ';') action => ::lhs This should mean call the action with the name of the rule. Later on it would be possible to defi