I would vastly prefer to use something like LALRPOP or pest instead of nom, but right now neither support arbitrary bytes as input. There is this issue for LALRPOP and this one for pest that deal with that problem, but I'm not sure if it's fine to just say that invalid UTF-8 paths can't be given directly as arguments for now (they'd still work if a glob was given where the expanded part was invalid UTF-8). Switching to either LALRPOP or pest should help improve the error messages and make it simpler to fix some of the current parsing issues.
As a side note, this is actually the same issue that prevented me from just using pest in the first place.
I would vastly prefer to use something like LALRPOP or
pestinstead ofnom, but right now neither support arbitrary bytes as input. There is this issue for LALRPOP and this one forpestthat deal with that problem, but I'm not sure if it's fine to just say that invalid UTF-8 paths can't be given directly as arguments for now (they'd still work if a glob was given where the expanded part was invalid UTF-8). Switching to either LALRPOP orpestshould help improve the error messages and make it simpler to fix some of the current parsing issues.As a side note, this is actually the same issue that prevented me from just using
pestin the first place.