(CommandList
  children: [
    (C {(set)} {(-e)})
    (C {(source)} {($ VSub_Name '$TRAVIS_BUILD_DIR') (/ci/travis_env_common.sh)})
    (C {(pushd)} {($ VSub_Name '$ARROW_C_GLIB_DIR')})
    (C {(export)} 
      {(Lit_VarLike 'LD_LIBRARY_PATH=') ($ VSub_Name '$LD_LIBRARY_PATH') (Lit_Other ':') 
        ($ VSub_Name '$ARROW_CPP_INSTALL') (/lib)
      }
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} {($ VSub_Name '$BUILD_SYSTEM')} {(Lit_Other '=')} {(DQ (autotools))} 
                  {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:arrow_c_glib_lib_dir spids:[95])
                  op: Equal
                  rhs: {($ VSub_Name '$ARROW_C_GLIB_INSTALL') (/lib)}
                  spids: [95]
                )
              ]
              spids: [95]
            )
          ]
          spids: [16777215 92]
        )
      ]
      else_action: [
        (Assignment
          keyword: Assign_None
          pairs: [
            (assign_pair
              lhs: (LhsName name:arrow_c_glib_lib_dir spids:[102])
              op: Equal
              rhs: 
                {($ VSub_Name '$ARROW_C_GLIB_INSTALL') (/lib/) 
                  (CommandSubPart
                    command_list: (CommandList children:[(C {(arch)})])
                    left_token: <Left_CommandSub '$('>
                    spids: [105 107]
                  ) (-linux-gnu)
                }
              spids: [102]
            )
          ]
          spids: [102]
        )
      ]
      spids: [99 110]
    )
    (C {(export)} 
      {(Lit_VarLike 'LD_LIBRARY_PATH=') ($ VSub_Name '$LD_LIBRARY_PATH') (Lit_Other ':') 
        ($ VSub_Name '$arrow_c_glib_lib_dir')
      }
    )
    (C {(export)} 
      {(Lit_VarLike 'GI_TYPELIB_PATH=') ($ VSub_Name '$arrow_c_glib_lib_dir') (/girepository-1.0)}
    )
    (C {(test/run-test.rb)})
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} {($ VSub_Name '$BUILD_SYSTEM')} {(Lit_Other '=')} {(DQ (meson))} 
                  {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [(ControlFlow token:<ControlFlow_Exit exit>)]
          spids: [16777215 143]
        )
      ]
      spids: [16777215 148]
    )
    (C {(export)} 
      {(Lit_VarLike 'PKG_CONFIG_PATH=') ($ VSub_Name '$PKG_CONFIG_PATH') (Lit_Other ':') 
        ($ VSub_Name '$ARROW_CPP_INSTALL') (/lib/pkgconfig)
      }
    )
    (C {(export)} 
      {(Lit_VarLike 'PKG_CONFIG_PATH=') ($ VSub_Name '$PKG_CONFIG_PATH') (Lit_Other ':') 
        ($ VSub_Name '$arrow_c_glib_lib_dir') (/pkgconfig)
      }
    )
    (C {(pushd)} {(example/lua)})
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: 
                (C {(Lit_Other '[')} {($ VSub_Name '$TRAVIS_OS_NAME')} {(Lit_Other '=')} {(DQ (osx))} 
                  {(Lit_Other ']')}
                )
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(lua)} {(write-batch.lua)})
            (C {(lua)} {(read-batch.lua)})
            (C {(lua)} {(write-stream.lua)})
            (C {(lua)} {(read-stream.lua)})
          ]
          spids: [16777215 187]
        )
      ]
      else_action: [
        (If
          arms: [
            (if_arm
              cond: [
                (Sentence
                  child: 
                    (C {(Lit_Other '[')} {($ VSub_Name '$BUILD_TORCH_EXAMPLE')} {(Lit_Other '=')} 
                      {(DQ (yes))} {(Lit_Other ']')}
                    )
                  terminator: <Op_Semi ';'>
                )
              ]
              action: [
                (C {(.)} {(TildeSubPart token:<Lit_TildeLike '~'>) (/torch/install/bin/torch-activate)})
                (C {(luajit)} {(write-batch.lua)})
                (C {(luajit)} {(read-batch.lua)})
                (C {(luajit)} {(write-stream.lua)})
                (C {(luajit)} {(read-stream.lua)})
                (C {(luajit)} {(stream-to-torch-tensor.lua)})
              ]
              spids: [16777215 227]
            )
          ]
          else_action: [
            (C {(lua)} {(write-batch.lua)})
            (C {(lua)} {(read-batch.lua)})
            (C {(lua)} {(write-stream.lua)})
            (C {(lua)} {(read-stream.lua)})
          ]
          spids: [261 284]
        )
      ]
      spids: [209 286]
    )
    (C {(popd)})
    (C {(pushd)} {(example/go)})
    (C {(make)} {(generate)})
    (C {(make)})
    (C {(./write-batch)})
    (C {(./read-batch)})
    (C {(./write-stream)})
    (C {(./read-stream)})
    (C {(popd)})
    (C {(popd)})
  ]
)