ninja: no work to do. --- skipping ysh/testdata/assign.osh --- (command.CommandList children:[ (command.ShAssignment left: children:[ (C (w ) (w ) ) (command.ShFunction name_tok: name:f body:(BraceGroup left: children:[ (C (w ) (w ) ) (C (w )) ] ) --- (command.CommandList children:[ (C (w ) (w (SQ "This is a shell script with OSH extensions!")) ) (C (w )) (command.VarDecl keyword: lhs:[(NameType left: name:x)] rhs:(expr.Binary op: left:(Const Expr_DecInt _) right:(expr.Binary op: left:(Const Expr_DecInt _) right:(Const Expr_DecInt _) ) ) ) (C (w ) (w (DQ ($ x)))) (command.Mutation keyword: lhs:[] op: ($ x)))) (command.VarDecl keyword: lhs:[(NameType left: name:mylist)] rhs:(expr.List left: elts:[(Const Expr_DecInt _) (Const Expr_DecInt _) (Const Expr_DecInt _)] ctx:expr_context.Store ) ) (command.VarDecl keyword: lhs:[(NameType left: name:y)] rhs:(expr.Binary op: left:(Subscript left: obj:(Var mylist) index:(Const Expr_DecInt _) ) right:(Const Expr_DecInt _) ) ) (C (w ) (w (DQ ($ y)))) (command.VarDecl keyword: lhs:[(NameType left: name:list2)] rhs:(expr.Binary op: left:(Var mylist) right:(expr.List left: elts:[(Const Expr_DecInt _) (Const Expr_DecInt _)] ctx:expr_context.Store ) ) ) (C (w ) (w ) (w )) (command.ShAssignment left: lhs:[(NameType left: name:str2)] rhs:(DQ ) ) (command.VarDecl keyword: lhs:[(NameType left: name:str3)] rhs:(expr.Binary op: left:(Var str1) right:(Var str2)) ) (C (w ) (w (DQ children:[ (command.Sentence child:(C (w ) (w (DQ ($ VSub_At))) ) terminator: ) ] right: ) ) (command.ShAssignment left: arms:[ (IfArm keyword:...0x105e cond:[ (command.Sentence child:(C (w ) (w ) (w (DQ (${ VSub_Name CONFIG_HAVE_FOO))) (w ) ) terminator: ) ] then_kw: action:[ (command.ShAssignment left:) (w ) (w (DQ (${ VSub_Name CONFIG_HAVE_BAR))) (w ) ) terminator: ) ] then_kw: action:[ (command.ShAssignment left:)) ) ] ) ] then_tok:...0x195e ) ] else_action:[] fi_kw: ) (C (w ) (w (${ VSub_Name flags))) (C (w ) (w ) (w )) (C (w ) (w ) (w ) (w ) ) (command.Mutation keyword: lhs:[] op: rhs:(DQ ) ) (command.Mutation keyword: lhs:[] op: words:[] right: ) ) (command.If if_kw: arms:[ (IfArm keyword:...0x1f36 cond:[ (command.Sentence child:(C (w ) (w ) (w ($ CONFIG_HAVE_FOO)) ) terminator: ) ] then_kw: action:[ (command.Simple blame_tok: more_env:[] words:[ (w ) (w ) (w pos_args:[(Var flags)] named_args:[] right: ) is_last_cmd:F ) ] then_tok:...0x1eda ) ] else_action:[] fi_kw: ) (command.If if_kw: arms:[ (IfArm keyword:...0x1dd6 cond:[ (command.Sentence child:(C (w ) (w ) (w ($ CONFIG_HAVE_BAR)) ) terminator: ) ] then_kw: action:[ (command.Simple blame_tok: more_env:[] words:[ (w ) (w ) (w ) ] typed_args:(ArgList left: pos_args:[(Var flags)] named_args:[] right: ) is_last_cmd:F ) ] then_tok:...0x1d7a ) ] else_action:[] fi_kw: ) (C (w ) (w )) ] ) --- (command.CommandList children:[ (command.ShFunction name_tok: name:argv body:(BraceGroup left: children:[ (command.Sentence child:(C (w ) (w (DQ ($ VSub_At))) ) terminator: ) ] right: ) ) (command.ShAssignment left: words:[(w ) (w )] right: ) ) ) ] ) (command.ShAssignment left: words:[] right: ) ) ) ] ) (command.ForEach keyword: iter_names:[r] iterable:(for_iter.Words words:[ (w (DQ (BracedVarSub left: name_tok: var_name:regex bracket_op:(bracket_op.WholeArray op_id:Lit_At) right: ) ) ) ] ) semi_tok: body:(command.DoGroup left: children:[ (command.ShAssignment left: pairs:[ (AssignPair left:...0x1022 lhs:(sh_lhs.IndexedName left:...0x1022 name:flags index:(w (BracedVarSub left: name_tok: var_name:flags prefix_op: bracket_op:(bracket_op.WholeArray op_id:Lit_At) right: ) ) ) op:assign_op.Equal rhs:(w (DQ name_tok: var_name:flags bracket_op:(bracket_op.WholeArray op_id:Lit_At) right: ) ) ) ) (C (w ) (w ) (w ) (w ) ) (command.VarDecl keyword: lhs:[(NameType left: name:regex2)] rhs:(ShArrayLiteral left: words:[(w ) (w )] right: ) ) (command.VarDecl keyword: lhs:[(NameType left: name:flags2)] rhs:(ShArrayLiteral left: words:[] right: ) ) (command.ForEach keyword: iter_names:[r] iterable:(for_iter.Words words:[(w )]) semi_tok: body:(command.DoGroup left: children:[ (command.Simple blame_tok: more_env:[] words:[(w ) (w (DQ pos_args:[(Var flags2)] named_args:[] right: ) is_last_cmd:F ) ] right: ) ) (C (w ) (w )) ] ) --- (command.CommandList children:[ (C (w ) (w ) (w ) (w ) ) (command.ShAssignment left: words:[ (w ($ myglobal)) (w (SingleQuoted left: sval:"line\n" right: ) ) (w (BracedVarSub left: name_tok: var_name:z suffix_op:(suffix_op.Unary op: arg_word:(w ) ) right: ) ) ] right: ) ) (C (w ) (w ) ) (C (w ) (w child:(expr.FuncCall func:(Var len) args:(ArgList left: pos_args:[(Var myarray)] named_args:[] right: ) ) right: ) ) ) (C (w )) (command.Simple blame_tok: more_env:[] words:[ (w ) (w ) (w (SQ "1 2")) (w (BracedVarSub left: name_tok: var_name:myglobal suffix_op:(suffix_op.Unary op: arg_word:(w ) ) right: ) ) ] typed_args:(ArgList left: pos_args:[(Var myarray)] named_args:[] right: ) is_last_cmd:F ) (C (w ) (w ) ) (C (w ) (w child:(expr.FuncCall func:(Var len) args:(ArgList left: pos_args:[(Var myarray)] named_args:[] right: ) ) right: ) ) ) (C (w )) (command.ForEach keyword: iter_names:[item] iterable:(for_iter.YshExpr e:(Var myarray) blame:) body:(BraceGroup left: children:[(C (w ) (w (DQ ($ item))))] right: ) ) ] ) --- (command.CommandList children:[ (command.ShFunction name_tok: name:argv body:(BraceGroup left: children:[ (C (w ) (w ) (w (SQ "import sys;print(sys.argv[1:])")) (w ) ) ] right: ) ) (command.ShFunction name_tok: name:show body:(BraceGroup left: children:[ (C (w ) (w (SQ "====="))) (C (w ) (w )) (C (w )) ] right: ) ) (command.VarDecl keyword: lhs:[(NameType left: name:strarray)] rhs:(ShArrayLiteral left: words:[ (w ) (w ) (w ) (word.BracedTree parts:[ (word_part.BracedTuple words:[(w ) (w )] ) ] ) (w (SQ sq)) (w (DQ (BracedVarSub left: name_tok: var_name:x suffix_op:(suffix_op.Unary op: arg_word:(w ) ) right: ) ) ) ] right: ) ) (C (w ) (w )) (command.VarDecl keyword: lhs:[(NameType left: name:cmd_sub)] rhs:(CommandSub left_token: child:(C (w ) (w ) (w ) (w ) (word.BracedTree parts:[ (word_part.BracedTuple words:[(w ) (w )] ) ] ) (w (SQ sq)) (w (DQ (BracedVarSub left: name_tok: var_name:x suffix_op:(suffix_op.Unary op: arg_word:(w ) ) right: ) ) ) ) right: ) ) (C (w ) (w ($ cmd_sub))) (C (w ) (w (word_part.ExprSub left: child:(expr.Binary op: left:(expr.Binary op: left:(SQ "quoted ") right:(SQ "words ") ) right:(DQ (BracedVarSub left: name_tok: var_name:x suffix_op:(suffix_op.Unary op: arg_word:(w ) ) right: ) ) ) right: ) ) ) ] )