yash-rs
yash-rs copied to clipboard
I fail to run the script that implements nvm, the node version manager, with yash3. Mabe there is a bug in yash3 in this regard?
Hi,
I am trying to use yash3 as my daily driver posix shell but the node version manager script that claims to be posix compatible fails when run in yash3. The details are in my bug report that I submited to the nvm repo at https://github.com/nvm-sh/nvm/issues/3499.
Despite my comment in the nvm issue, this problem could be worked around by implementing the bracket syntax in yash3. I plan to implement this, but it won't be very soon as I'm currently working on #422.
An alternative to implementing that bracket syntax seems to be, don't do anything with the parse results of a conditional block until that block is evaluated (even if you've eagerly recognized and prepared the error).