(CommandList children: [ (AndOr children: [ (C {(source)} {(sources/include.sh)}) (AndOr children: [(C {(load_target)} {(DQ ($ VSub_Number "$1"))}) (C {(exit)} {(1)})] op_id: Op_DPipe ) ] op_id: Op_DAmp ) (If arms: [ (if_arm cond: (C {(Lit_Other "[")} {(KW_Bang "!")} {(-e)} {(DQ ($ VSub_Name "$WORK") (/hello))} {(Lit_Other "]")} ) action: (CommandList children: [ (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: (CommandList children: [ (SimpleCommand words: [{(echo)} {(DQ ("Compiler doesn't seem to work"))}] redirects: [ (Redirect op_id: Redir_GreatAnd arg_word: {(2)} fd: -1 spids: [101] ) ] ) (C {(dienow)}) ] ) spids: [-1 92] ) ] spids: [-1 108] ) ] ) spids: [-1 49] ) ] spids: [-1 110] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LeftVar name:RESULT) rhs: { (DQ (CommandSubPart command_list: (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])] ) 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: (CommandList children: [(C {(echo)} {(DQ ("Cross toolchain seems to work."))}) (C {(exit)} {(0)})] ) spids: [-1 154] ) ] else_action: (CommandList children: [ (SimpleCommand words: [{(echo)} {(DQ ("Can't run hello world"))}] redirects: [(Redirect op_id:Redir_GreatAnd arg_word:{(2)} fd:-1 spids:[177])] ) (C {(exit)} {(1)}) ] ) spids: [168 185] ) ] )