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