bash
bash copied to clipboard
We add a constructor `IfThenElif` to the `Statement` type to enable rendering bash expressions of the form ```bash if COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else...
We add `UnescapedLiteral :: ByteString -> Expression t` as an escape hatch. As an example, this is needed to produce this piece of Bash output: ```bash bar="([name]=Bart [age]=12)" declare -A...
I have a use case for the following kind of function (nevermind the name): ``` bytes' :: [Identifier] -> Statement t -> Expression t ``` The idea is to obtain...
We add a new constructor `DollarNat` to the `SpecialVar` data type to make positional parameters beyond 9 available as special variables. They are rendered with curly braces around the index...