I've upload a new developer's release to CPAN: Marpa-R2 2.103_004.  The
major visible new features allow more control over whether parse events are
active or not.

In the SLIF DSL, every event can be initialized when it is declared, by
extending the event name to an event initializer:

 :lexeme ~ <c> pause => before event => 'before c'=off

In addition, the DSL initialization can be overriden when a recognizer is
created, using the 'event_is_active' recognizer named argument.  One
technique now possible is to create lots of events in the DSL, initializing
them to "off", and then enable the ones you want at run time.

The documentation has been updated to describe these new features:

https://metacpan.org/pod/release/JKEGL/Marpa-R2-2.103_004/pod/Scanless/DSL.pod#event
https://metacpan.org/pod/release/JKEGL/Marpa-R2-2.103_004/pod/Scanless/DSL.pod#Named-event-statement
https://metacpan.org/pod/release/JKEGL/Marpa-R2-2.103_004/pod/Scanless/R.pod#event_is_active

CPANtesters looks OK so far.  This is a significant release, and it
involved quite a few changes to Libmarpa.  Your testing will be very
appreciated!

Thanks, jeffrey

-- 
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.

Reply via email to