(CommandList
  children: [
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:rememberfile)
          op: Equal
          rhs: {(DQ ($ VSub_Name '$HOME') (/.remember))}
          spids: [7]
        )
      ]
      spids: [7]
    )
    (If
      arms: [
        (if_arm
          cond: [
            (Sentence
              child: (C {(Lit_Other '[')} {($ VSub_Pound '$#')} {(-eq)} {(0)} {(Lit_Other ']')})
              terminator: <Op_Semi ';'>
            )
          ]
          action: [
            (C {(echo)} {(DQ ('Enter note, end with ^D: '))})
            (SimpleCommand
              words: [{(cat)} {(-)}]
              redirects: [
                (Redir
                  op_id: Redir_DGreat
                  fd: 16777215
                  arg_word: {($ VSub_Name '$rememberfile')}
                  spids: [50]
                )
              ]
            )
          ]
          spids: [16777215 28]
        )
      ]
      else_action: [
        (SimpleCommand
          words: [{(echo)} {(DQ ($ VSub_At '$@'))}]
          redirects: [
            (Redir
              op_id: Redir_DGreat
              fd: 16777215
              arg_word: {($ VSub_Name '$rememberfile')}
              spids: [67]
            )
          ]
        )
      ]
      spids: [54 71]
    )
    (ControlFlow token:<ControlFlow_Exit exit> arg_word:{(0)})
  ]
)