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

Sort of cleanup the global variable recognition: #80

Closed xsawyerx closed 4 years ago

xsawyerx commented 4 years ago

This fixes the following cases:

$_[0]
$_[ 0, 1 ]
$+{ "bar" }
@+{ "bar", "baz" }

Idents are hard, so trying to separate the Ident for variables and global variables.