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

Initial support for literal and interpolated strings #7

Closed xsawyerx closed 4 years ago

xsawyerx commented 4 years ago

This expects GH #4 to be merged first.

This does not handle escaping. I found a bunch of examples but they all require time to understand so I put in initial support first.

This also won't support crazy stuff like:

"string with @{[ expression() . "this other string" ]} rest of string"

I'm okay with this never being supported.

xsawyerx commented 4 years ago

@vickenty ready for review.