The parser is to be extended to support a new Statement enum variant: Statement::ShellCode { code: ustr; }. Those blocks of code will be copied verbatim into the output shell scripts so that complgen supports executing pieces of shell scripts larger than what fits inside inline ones (e.g. { ls }), but this issue is only about parsing. It’s going to need several tests to check the parsing works as intended.
The parser is to be extended to support a new
Statement
enum variant:Statement::ShellCode { code: ustr; }
. Those blocks of code will be copied verbatim into the output shell scripts so thatcomplgen
supports executing pieces of shell scripts larger than what fits inside inline ones (e.g.{ ls }
), but this issue is only about parsing. It’s going to need several tests to check the parsing works as intended.