Perl-Sensitive Sunglasses | |
PerlMonks |
Re^2: First steps with Marpa::R2 and BNFby Discipulus (Canon) |
on Jan 15, 2021 at 11:56 UTC ( [id://11126953]=note: print w/replies, xml ) | Need Help?? |
no sorry GrandFather but a big thanks Anyway i dont understand your reply. I removed :default ::= action => [name,values] and is this the root cause of the "bogus" array (it makes sense to know which name is passing around but I consider it misleading in the sysnopsis). I read in the doc you linked: > The "::first" action indicates that the value of a rule is to be the value of its first child, that is, the value corresponding to the first symbol of the rule's RHS. But I cannot see how your addition of action => ::first can fix it. Given I removed the :default ::= action I get the same results with or without ::first
L*
There are no rules, there are no thumbs.. Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.
In Section
Seekers of Perl Wisdom
|
|