xsawyerx / guacamole

Guacamole is a parser toolkit for Standard Perl. It provides fully static BNF-based parsing capability to a reasonable subset of Perl.
https://metacpan.org/pod/Guacamole
20 stars 8 forks source link

Fix unary keyword op precedence #76

Closed vickenty closed 4 years ago

vickenty commented 4 years ago

Like list and assignment keywords they have asymmetric precedence:

$x + defined $y + $z is ($x + (defined ($y + $z)))

Fixes #64