risor-io / risor

Fast and flexible scripting for Go developers and DevOps.
https://risor.io
Apache License 2.0
611 stars 26 forks source link

Add more escape code parsing #122

Closed applejag closed 9 months ago

applejag commented 9 months ago

Changes:

Closes #119

The original issue did not mention the other single-char escape codes, but I added them in just for consistency, as pretty much all other languages have escape codes for them too.

myzie commented 9 months ago

I gave this a quick try and it looks great. I'll review the lexer code updates more closely before merging but everything looks good from a user's point of view. Nice work!