bradrn wrote: ↑Fri May 23, 2025 12:32 am
Fair enough. For the moment I can suggest find-and-replace. (Or
sed, if you like).
I
do use it already, it's just a pain having to do the copy-pasting (which isn't an issue for
sed, but I don't always use the command line version). It's not at all urgent, just a way to lessen some tedium.
For syntax, I’m not sure I love double-quotes. What would you think of using an escape character, say \* or $*?
I don't like them either; I considered using an escape character in my examples, but couldn't think of a good one that wasn't taken.
\* is probably the best, as
$ has a use already. I only rejected it initially because it's a bit mistakeable for the very important
/, but if it's always appearing before other characters, that's shouldn't be a problem.
It would also be useful to be able to use {…} outside of an inline category, specifically for use with the Kleene star, so an expression such as {(C) -str (C)}* would evaluate to ‘any number of of unstressed syllables, including 0’², which I currently write as [{(C) -str (C)}]*, with an annoying extra set of square brackets
Shouldn’t be too hard to implement… though first I’d like to satisfy myself that there’s no unexpected interactions with anything else.
Thank you
(BTW, I haven’t been working on Brassica at all recently — I just haven’t had the time. But these at least should be fairly straightforward.)
I hope your life has more free time in the future.