(CommandList children: [ (AndOr ops: [Op_DAmp Op_DPipe] children: [ (C {(source)} {(sources/include.sh)}) (C {(load_target)} {(DQ ($ VSub_Number '$1'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] ) (If arms: [ (if_arm cond: [ (C {(Lit_Other '[')} {(KW_Bang '!')} {(-e)} {(DQ ($ VSub_Name '$WORK') (/hello))} {(Lit_Other ']')} ) ] action: [ (C {(DQ (${ VSub_Name ARCH) (-gcc))} {(-Os)} {(-static)} {(DQ (${ VSub_Name SOURCES) (/toys/hello.c))} {(-o)} {(DQ ($ VSub_Name '$WORK')) (/hello)} ) (If arms: [ (if_arm cond: [(C {(Lit_Other '[')} {($ VSub_QMark '$?')} {(-ne)} {(0)} {(Lit_Other ']')})] action: [ (SimpleCommand words: [{(echo)} {(DQ ("Compiler doesn't seem to work"))}] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[101])] ) (C {(dienow)}) ] spids: [16777215 92] ) ] spids: [16777215 108] ) ] spids: [16777215 49] ) ] spids: [16777215 110] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:RESULT) op: Equal rhs: { (DQ (CommandSubPart command_list: (CommandList children: [ (SimpleCommand words: [ {(qemu-) (DQ ($ VSub_Name '$QEMU_TEST'))} {(DQ ($ VSub_Name '$WORK') (/hello))} ] more_env: [ (env_pair name: PATH val: {(DQ ($ VSub_Name '$OLDPATH'))} spids: [120] ) ] ) ] ) left_token: <Left_CommandSub '$('> spids: [119 134] ) ) } spids: [117] ) ] spids: [117] ) (If arms: [ (if_arm cond: [ (C {(Lit_Other '[')} {(DQ ($ VSub_Name '$RESULT'))} {(Lit_Other '=') (Lit_Other '=')} {(DQ ('Hello world!'))} {(Lit_Other ']')} ) ] action: [ (C {(echo)} {(DQ ('Cross toolchain seems to work.'))}) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)}) ] spids: [16777215 154] ) ] else_action: [ (SimpleCommand words: [{(echo)} {(DQ ("Can't run hello world"))}] redirects: [(Redir op_id:Redir_GreatAnd fd:16777215 arg_word:{(2)} spids:[177])] ) (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(1)}) ] spids: [168 185] ) ] )