Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Angle brackets are no longer treated as string delimiters, which makes the $<foobar> syntax slightly uglier but allows us to use less than signs in code without the rest of the file blowing up.
- Loading branch information
63cd520
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious how that works for code like:
?
63cd520
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed that it's a terribly temporary fix.
<foo bar>
will be color-coded as a couple of barewords, not a string. But, in my mind, that's preferable to having<
and>
turn half of the file into a string. Definitely open to this MR being replaced by a proper solution though. I just don't know what that solution is; parsing Raku is a complicated mess, and doing so in something that isn't Raku is even more so.63cd520
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Mercerenies. Thanks for commenting.
I hear that. And "
<foo bar>
will be color-coded as a couple of barewords" reassures me it won't be too bad.Perhaps the more generic parts of my answer to Multiline comments in VS Code for Raku will be of interest, despite it being about a different editor and regex engine.