3 ms·
In place of all of the special rules for handling indentation, I wonder if they could simply define some extra starting chars (besides $$""" for controlling int
by a9h74j 5y ago
In place of all of the special rules for handling indentation, I wonder if they could simply define some extra starting chars (besides $$""" for controlling interpolation) to indicate suppress-leading-newline or suppress-ending-newline etc. Offhand this would seem more explicit than implicit, and be searchable (unlike a pattern).
Other than that, ++ for any mechanism to quote to arbitrary depth. I have imagined
[abcfoo[ ...anything but ]abcfoo]... ]abcfoo]
as another approach.