Simon Ser
Simon Ser
This causes issues with static libraries. If the library user defines a symbol with the same name as one of our internal symbols, they'll clash. Solutions include: * Use an...
Need a good replacement. Probably some kind of linked list.
Section 2.9.4: > Omitting: > > `in word...` > >shall be equivalent to: > > `in "$@"`
``` $ ( build/mrsh:1:1: syntax error: expected a compound list $ ( echo a build/mrsh:1:1: syntax error: expected ')' $ { build/mrsh:1:1: syntax error: expected a compound list ``` All...
We don't want to track our parent's processes. Probably need to do this in `subshell_fork`. This command: ```sh (wait) ``` [should always return immediately](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/wait.html).
``` $ alias hey='ls ' $ alias there='-a' $ hey there ``` Should yield `ls -a`.
Add `mrsh_position` information to the arithmetic AST. Will allow to add line/col information to arithmetic error messages.
```sh false &\ & echo a # same as: false && echo a ```
1. Go through the spec and enumerate undefined behaviour (grep for "undefined" and "unspecified") 2. Change mrsh to hard fail in these cases ``` # 2.1 # This as the...