(command.CommandList
  children: [
    (command.AndOr
      children: [
        (command.Simple
          blame_tok: <Id.Lit_LBracket '['>
          more_env: []
          words: [
            {<Id.Lit_LBracket '['>}
            {
              (BracedVarSub
                left: <Id.Left_DollarBrace '${'>
                token: <Id.VSub_Name SPECIALFORMS_LETSTAR_SH>
                var_name: SPECIALFORMS_LETSTAR_SH
                suffix_op: (suffix_op.Unary op:<Id.VTest_Plus _> arg_word:{<true>})
                right: <Id.Right_DollarBrace '}'>
              )
            }
            {<Id.Lit_RBracket ']'>}
          ]
          redirects: []
          do_fork: T
        )
        (command.ControlFlow keyword:<Id.ControlFlow_Return return>)
      ]
      ops: [<Id.Op_DAmp _>]
    )
    (command.Simple
      blame_tok: <declare>
      more_env: []
      words: [{<declare>} {<-g>} {<Id.Lit_VarLike 'SPECIALFORMS_LETSTAR_SH='> <true>}]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <.>
      more_env: []
      words: [
        {<.>}
        {
          (BracedVarSub
            left: <Id.Left_DollarBrace '${'>
            token: <Id.VSub_Name BASH_SOURCE>
            var_name: BASH_SOURCE
            suffix_op: 
              (suffix_op.Unary
                op: <Id.VOp1_Percent '%'>
                arg_word: {<Id.Lit_Slash '/'> <Id.Lit_Other '*'>}
              )
            right: <Id.Right_DollarBrace '}'>
          ) <'/common.sh'>
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <.>
      more_env: []
      words: [
        {<.>}
        {
          (BracedVarSub
            left: <Id.Left_DollarBrace '${'>
            token: <Id.VSub_Name BASH_SOURCE>
            var_name: BASH_SOURCE
            suffix_op: 
              (suffix_op.Unary
                op: <Id.VOp1_Percent '%'>
                arg_word: {<Id.Lit_Slash '/'> <Id.Lit_Other '*'>}
              )
            right: <Id.Right_DollarBrace '}'>
          ) <'/test.sh'>
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.Simple
      blame_tok: <.>
      more_env: []
      words: [
        {<.>}
        {
          (BracedVarSub
            left: <Id.Left_DollarBrace '${'>
            token: <Id.VSub_Name BASH_SOURCE>
            var_name: BASH_SOURCE
            suffix_op: 
              (suffix_op.Unary
                op: <Id.VOp1_Percent '%'>
                arg_word: {<Id.Lit_Slash '/'> <Id.Lit_Other '*'>}
              )
            right: <Id.Right_DollarBrace '}'>
          ) <'/specialforms.sh'>
        }
      ]
      redirects: []
      do_fork: T
    )
    (command.ShFunction
      keyword: <Id.KW_Function function>
      name_tok: <evaluator>
      name: 'evaluator::specialforms::letstar'
      body: 
        (BraceGroup
          left: <Id.Lit_LBrace '{'>
          children: [
            (command.Simple
              blame_tok: <declare>
              more_env: []
              words: [{<declare>} {<Id.Lit_VarLike 'env='> (DQ (${ Id.VSub_Number 1))}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <declare>
              more_env: []
              words: [{<declare>} {<Id.Lit_VarLike 'functionName='> (DQ (${ Id.VSub_Number 2))}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <declare>
              more_env: []
              words: [{<declare>} {<Id.Lit_VarLike 'args='> (DQ (${ Id.VSub_Number 3))}]
              redirects: []
              do_fork: T
            )
            (command.Sentence
              child: 
                (command.Simple
                  blame_tok: <variable>
                  more_env: []
                  words: [
                    {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> <Id.Lit_Colon ':'> 
                      <Id.Lit_Colon ':'> <length>
                    }
                    {($ Id.VSub_DollarName args)}
                  ]
                  redirects: []
                  do_fork: T
                )
              terminator: <Id.Op_Semi _>
            )
            (command.Simple
              blame_tok: <declare>
              more_env: []
              words: [{<declare>} {<-i>} {<Id.Lit_VarLike 'length='> (DQ (${ Id.VSub_Name RESULT))}]
              redirects: []
              do_fork: T
            )
            (command.If
              if_kw: <Id.KW_If if>
              arms: [
                (IfArm
                  keyword: <Id.KW_If if>
                  cond: 
                    (condition.Shell
                      commands: [
                        (command.Sentence
                          child: 
                            (command.DBracket
                              left: <Id.KW_DLeftBracket '[['>
                              expr: 
                                (bool_expr.Binary
                                  op_id: Id.Op_Less
                                  left: {($ Id.VSub_DollarName length)}
                                  right: {<2>}
                                )
                              right: <Id.Lit_DRightBracket ']]'>
                              redirects: []
                            )
                          terminator: <Id.Op_Semi _>
                        )
                      ]
                    )
                  then_kw: <Id.KW_Then then>
                  action: [
                    (command.Simple
                      blame_tok: <stderr>
                      more_env: []
                      words: [{<stderr>} {(DQ <'usage: (let <bindings> <expr 1> .. <expr N>)'>)}]
                      redirects: []
                      do_fork: T
                    )
                    (command.ControlFlow
                      keyword: <Id.ControlFlow_Exit exit>
                      arg_word: {<1>}
                    )
                  ]
                  spids: [181 194]
                )
              ]
              else_action: []
              fi_kw: <Id.KW_Fi fi>
              redirects: []
            )
            (command.Sentence
              child: 
                (command.Simple
                  blame_tok: <variable>
                  more_env: []
                  words: [
                    {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> <Id.Lit_Colon ':'> 
                      <Id.Lit_Colon ':'> <first>
                    }
                    {($ Id.VSub_DollarName args)}
                  ]
                  redirects: []
                  do_fork: T
                )
              terminator: <Id.Op_Semi _>
            )
            (command.Simple
              blame_tok: <declare>
              more_env: []
              words: [{<declare>} {<Id.Lit_VarLike 'bindings='> (${ Id.VSub_Name RESULT)}]
              redirects: []
              do_fork: T
            )
            (command.Sentence
              child: 
                (command.Simple
                  blame_tok: <variable>
                  more_env: []
                  words: [
                    {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> <Id.Lit_Colon ':'> 
                      <Id.Lit_Colon ':'> <rest>
                    }
                    {($ Id.VSub_DollarName args)}
                  ]
                  redirects: []
                  do_fork: T
                )
              terminator: <Id.Op_Semi _>
            )
            (command.Simple
              blame_tok: <declare>
              more_env: []
              words: [{<declare>} {<Id.Lit_VarLike 'expressions='> (${ Id.VSub_Name RESULT)}]
              redirects: []
              do_fork: T
            )
            (command.Sentence
              child: 
                (command.Simple
                  blame_tok: <environment>
                  more_env: []
                  words: [
                    {<environment> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <pushScope>}
                    {($ Id.VSub_DollarName env)}
                  ]
                  redirects: []
                  do_fork: T
                )
              terminator: <Id.Op_Semi _>
            )
            (command.Simple
              blame_tok: <declare>
              more_env: []
              words: [{<declare>} {<Id.Lit_VarLike 'runningEnv='> (DQ (${ Id.VSub_Name RESULT))}]
              redirects: []
              do_fork: T
            )
            (command.Simple
              blame_tok: <declare>
              more_env: []
              words: [{<declare>} {<thisBinding>} {<thisKey>} {<thisValue>} {<thisResult>}]
              redirects: []
              do_fork: T
            )
            (command.WhileUntil
              keyword: <Id.KW_While while>
              cond: 
                (condition.Shell
                  commands: [
                    (command.Sentence
                      child: 
                        (command.Pipeline
                          negated: <Id.KW_Bang '!'>
                          children: [
                            (command.Simple
                              blame_tok: <variable>
                              more_env: []
                              words: [
                                {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> 
                                  <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <isEmpty_c>
                                }
                                {(DQ (${ Id.VSub_Name bindings))}
                              ]
                              redirects: []
                              do_fork: T
                            )
                          ]
                          ops: []
                        )
                      terminator: <Id.Op_Semi _>
                    )
                  ]
                )
              body: 
                (command.DoGroup
                  left: <Id.KW_Do do>
                  children: [
                    (command.Sentence
                      child: 
                        (command.Simple
                          blame_tok: <variable>
                          more_env: []
                          words: [
                            {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> 
                              <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <first>
                            }
                            {(DQ (${ Id.VSub_Name bindings))}
                          ]
                          redirects: []
                          do_fork: T
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'thisBinding='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'thisBinding='>
                          lhs: 
                            (sh_lhs_expr.Name
                              left: <Id.Lit_VarLike 'thisBinding='>
                              name: thisBinding
                            )
                          op: assign_op.Equal
                          rhs: {(DQ (${ Id.VSub_Name RESULT))}
                        )
                      ]
                      redirects: []
                    )
                    (command.Sentence
                      child: 
                        (command.Simple
                          blame_tok: <variable>
                          more_env: []
                          words: [
                            {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> 
                              <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <rest>
                            }
                            {(DQ (${ Id.VSub_Name bindings))}
                          ]
                          redirects: []
                          do_fork: T
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'bindings='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'bindings='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'bindings='> name:bindings)
                          op: assign_op.Equal
                          rhs: {(DQ (${ Id.VSub_Name RESULT))}
                        )
                      ]
                      redirects: []
                    )
                    (command.Simple
                      blame_tok: <variable>
                      more_env: []
                      words: [
                        {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> 
                          <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <length>
                        }
                        {(DQ (${ Id.VSub_Name thisBinding))}
                      ]
                      redirects: []
                      do_fork: T
                    )
                    (command.If
                      if_kw: <Id.KW_If if>
                      arms: [
                        (IfArm
                          keyword: <Id.KW_If if>
                          cond: 
                            (condition.Shell
                              commands: [
                                (command.Sentence
                                  child: 
                                    (command.DBracket
                                      left: <Id.KW_DLeftBracket '[['>
                                      expr: 
                                        (bool_expr.Binary
                                          op_id: Id.BoolBinary_GlobNEqual
                                          left: {(DQ (${ Id.VSub_Name RESULT))}
                                          right: {<2>}
                                        )
                                      right: <Id.Lit_DRightBracket ']]'>
                                      redirects: []
                                    )
                                  terminator: <Id.Op_Semi _>
                                )
                              ]
                            )
                          then_kw: <Id.KW_Then then>
                          action: [
                            (command.Simple
                              blame_tok: <stderr>
                              more_env: []
                              words: [{<stderr>} {(DQ <'let binding must have exactly 2 elements'>)}]
                              redirects: []
                              do_fork: T
                            )
                          ]
                          spids: [375 392]
                        )
                      ]
                      else_action: []
                      fi_kw: <Id.KW_Fi fi>
                      redirects: []
                    )
                    (command.Sentence
                      child: 
                        (command.Simple
                          blame_tok: <variable>
                          more_env: []
                          words: [
                            {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> 
                              <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <index>
                            }
                            {(DQ (${ Id.VSub_Name thisBinding))}
                            {<0>}
                          ]
                          redirects: []
                          do_fork: T
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'thisKey='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'thisKey='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'thisKey='> name:thisKey)
                          op: assign_op.Equal
                          rhs: {(DQ (${ Id.VSub_Name RESULT))}
                        )
                      ]
                      redirects: []
                    )
                    (command.Sentence
                      child: 
                        (command.Simple
                          blame_tok: <variable>
                          more_env: []
                          words: [
                            {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> 
                              <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <index>
                            }
                            {(DQ (${ Id.VSub_Name thisBinding))}
                            {<1>}
                          ]
                          redirects: []
                          do_fork: T
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'thisValue='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'thisValue='>
                          lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'thisValue='> name:thisValue)
                          op: assign_op.Equal
                          rhs: {(DQ (${ Id.VSub_Name RESULT))}
                        )
                      ]
                      redirects: []
                    )
                    (command.Simple
                      blame_tok: <evaluator>
                      more_env: []
                      words: [
                        {<evaluator> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <eval>}
                        {($ Id.VSub_DollarName runningEnv)}
                        {($ Id.VSub_DollarName thisValue)}
                      ]
                      redirects: []
                      do_fork: T
                    )
                    (command.Simple
                      blame_tok: <environment>
                      more_env: []
                      words: [
                        {<environment> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <setVariable>}
                        {(DQ (${ Id.VSub_Name runningEnv))}
                        {($ Id.VSub_DollarName thisKey)}
                        {($ Id.VSub_DollarName RESULT)}
                      ]
                      redirects: []
                      do_fork: T
                    )
                  ]
                  right: <Id.KW_Done done>
                )
              redirects: []
            )
            (command.Simple
              blame_tok: <declare>
              more_env: []
              words: [{<declare>} {<currentSexp>} {<currentResult>}]
              redirects: []
              do_fork: T
            )
            (command.WhileUntil
              keyword: <Id.KW_While while>
              cond: 
                (condition.Shell
                  commands: [
                    (command.Sentence
                      child: 
                        (command.Pipeline
                          negated: <Id.KW_Bang '!'>
                          children: [
                            (command.Simple
                              blame_tok: <variable>
                              more_env: []
                              words: [
                                {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> 
                                  <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <isEmpty_c>
                                }
                                {(DQ (${ Id.VSub_Name expressions))}
                              ]
                              redirects: []
                              do_fork: T
                            )
                          ]
                          ops: []
                        )
                      terminator: <Id.Op_Semi _>
                    )
                  ]
                )
              body: 
                (command.DoGroup
                  left: <Id.KW_Do do>
                  children: [
                    (command.Sentence
                      child: 
                        (command.Simple
                          blame_tok: <variable>
                          more_env: []
                          words: [
                            {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> 
                              <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <first>
                            }
                            {(DQ (${ Id.VSub_Name expressions))}
                          ]
                          redirects: []
                          do_fork: T
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'currentSexp='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'currentSexp='>
                          lhs: 
                            (sh_lhs_expr.Name
                              left: <Id.Lit_VarLike 'currentSexp='>
                              name: currentSexp
                            )
                          op: assign_op.Equal
                          rhs: {(${ Id.VSub_Name RESULT)}
                        )
                      ]
                      redirects: []
                    )
                    (command.Sentence
                      child: 
                        (command.Simple
                          blame_tok: <variable>
                          more_env: []
                          words: [
                            {<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <LinkedList> 
                              <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <rest>
                            }
                            {(DQ (${ Id.VSub_Name expressions))}
                          ]
                          redirects: []
                          do_fork: T
                        )
                      terminator: <Id.Op_Semi _>
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'expressions='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'expressions='>
                          lhs: 
                            (sh_lhs_expr.Name
                              left: <Id.Lit_VarLike 'expressions='>
                              name: expressions
                            )
                          op: assign_op.Equal
                          rhs: {(${ Id.VSub_Name RESULT)}
                        )
                      ]
                      redirects: []
                    )
                    (command.Simple
                      blame_tok: <evaluator>
                      more_env: []
                      words: [
                        {<evaluator> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <eval>}
                        {($ Id.VSub_DollarName runningEnv)}
                        {($ Id.VSub_DollarName currentSexp)}
                      ]
                      redirects: []
                      do_fork: T
                    )
                    (command.ShAssignment
                      left: <Id.Lit_VarLike 'currentResult='>
                      pairs: [
                        (AssignPair
                          left: <Id.Lit_VarLike 'currentResult='>
                          lhs: 
                            (sh_lhs_expr.Name
                              left: <Id.Lit_VarLike 'currentResult='>
                              name: currentResult
                            )
                          op: assign_op.Equal
                          rhs: {(${ Id.VSub_Name RESULT)}
                        )
                      ]
                      redirects: []
                    )
                  ]
                  right: <Id.KW_Done done>
                )
              redirects: []
            )
            (command.ShAssignment
              left: <Id.Lit_VarLike 'RESULT='>
              pairs: [
                (AssignPair
                  left: <Id.Lit_VarLike 'RESULT='>
                  lhs: (sh_lhs_expr.Name left:<Id.Lit_VarLike 'RESULT='> name:RESULT)
                  op: assign_op.Equal
                  rhs: {(DQ (${ Id.VSub_Name currentResult))}
                )
              ]
              redirects: []
            )
          ]
          redirects: []
          right: <Id.Lit_RBrace '}'>
        )
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.Simple
                      blame_tok: <Id.Lit_LBracket '['>
                      more_env: []
                      words: [
                        {<Id.Lit_LBracket '['>}
                        {($ Id.VSub_Number 0)}
                        {<Id.KW_Bang '!'> <Id.Lit_Equals '='>}
                        {($ Id.VSub_DollarName BASH_SOURCE)}
                        {<Id.Lit_RBracket ']'>}
                      ]
                      redirects: []
                      do_fork: T
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [(command.ControlFlow keyword:<Id.ControlFlow_Return return>)]
          spids: [604 618]
        )
      ]
      else_action: []
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
    (command.Simple
      blame_tok: <assert>
      more_env: []
      words: [{<assert> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <report>}]
      redirects: []
      do_fork: T
    )
    (command.If
      if_kw: <Id.KW_If if>
      arms: [
        (IfArm
          keyword: <Id.KW_If if>
          cond: 
            (condition.Shell
              commands: [
                (command.Sentence
                  child: 
                    (command.AndOr
                      children: [
                        (command.Simple
                          blame_tok: <Id.Lit_LBracket '['>
                          more_env: []
                          words: [
                            {<Id.Lit_LBracket '['>}
                            {
                              (BracedVarSub
                                left: <Id.Left_DollarBrace '${'>
                                token: <Id.VSub_Number 1>
                                var_name: 1
                                suffix_op: (suffix_op.Unary op:<Id.VTest_Plus _> arg_word:{<isset>})
                                right: <Id.Right_DollarBrace '}'>
                              )
                            }
                            {<Id.Lit_RBracket ']'>}
                          ]
                          redirects: []
                          do_fork: T
                        )
                        (command.Simple
                          blame_tok: <Id.Lit_LBracket '['>
                          more_env: []
                          words: [
                            {<Id.Lit_LBracket '['>}
                            {(DQ ($ Id.VSub_Number 1))}
                            {<Id.Lit_Equals '='> <Id.Lit_Equals '='>}
                            {(DQ <debug>)}
                            {<Id.Lit_RBracket ']'>}
                          ]
                          redirects: []
                          do_fork: T
                        )
                      ]
                      ops: [<Id.Op_DAmp _>]
                    )
                  terminator: <Id.Op_Semi _>
                )
              ]
            )
          then_kw: <Id.KW_Then then>
          action: [
            (command.Simple
              blame_tok: <variable>
              more_env: []
              words: [{<variable> <Id.Lit_Colon ':'> <Id.Lit_Colon ':'> <printMetadata>}]
              redirects: []
              do_fork: T
            )
          ]
          spids: [636 666]
        )
      ]
      else_action: []
      fi_kw: <Id.KW_Fi fi>
      redirects: []
    )
  ]
)