add to_sexp to repl