Given WarpedWartWars pointing out of my error, it seems like brassica just ignoresIt's just ignoring the second exception. This is if anything less helpful than a syntax error.bradrn wrote: ↑Thu Mar 06, 2025 9:34 pm Also on the to-do list. (It certainly isn’t implemented, so I’m not sure why Lērisama isn’t getting a syntax error…) The problem was I couldn’t think of any places I could use it myself, so I wasn’t quite sure how to design it. Your examples are helpful in that!
While investigating the github for anything that might help with building Brassica for arm, I was reminded of the unstatisfatory behaviour of the Kleene star, and had an idea for it, which should hopefully be slightly less confusing, although I don't know how easy it would be to implement. Brassica would initially check for matches of the item after the star, and only check for matches of the starred item if it wasn't found. The old behaviour culd be toggled on with a flag, something like -g maybe¹²?
My first question about the building has come! Cabal has been claiming to be Redirecting build log to {handle:
<LONG FILE NAME>} for around 12 hours now, but hasn't given any errors and otherwise seems to be working. Either this is an abnormally long log file, or something has gone wrong, and I don't hold up much hope for the latter⁴.
¹ For greedy
² Or maybe brassica should output both options, unless it's specifically told to be -g or -ng³
³ Unsurprisingly, for not greedy
⁴ I have a horrible suspicion it's running out of memory, and I'll have to set up some kind of hack to work around that, but I'd have thought it would stop with an error in that case