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

Support all Perl's special variables #73

Closed xsawyerx closed 4 years ago

xsawyerx commented 4 years ago

This is done by separating them from the definition of Indent for the VarScalar.

We could theoretically put them under VarScalar, VarArray, and VarHash, but I'm not really sure how to hack that in.

It might be a good argument to keep it as a separate value type. In that case, I don't know if GlobalVariable is a good name for it.

Fixes #67.

xsawyerx commented 4 years ago

This accidentally includes the diamond and double diamond work. I'll clean it up and then merge.

xsawyerx commented 4 years ago

I rebased and pushed force.