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

WIP: Preliminary support for q, qq, qw, qx, qr #26

Closed xsawyerx closed 4 years ago

xsawyerx commented 4 years ago

[This includes the commits from #25 and needs to be rebased before it's merged.]

This supports the following:

Issues to fix:

More comments:

xsawyerx commented 4 years ago

All the q-like functions do not support a space after the delimiter anymore. Done.

The problem now is that it finds q () (with a space) as a function named q. (Same with all q-like functions that use a space and parenthesis: qq (), qr (), qx ().)